Get points in current map view This sample shows how to determine which points of a data set are in the current map view. Pan and zoom the map to recalculate which points are in the current map view. To do this the map view polygon is calculated to take into consideration the rotation and pitch of the map. Since data is rendered on the map which uses a Mercator projection, and pixel accuracy is desired, the map view polygon and all data points are converted into mercator pixels and a point in polygon algorithm is used with that data.