xoa.core.plot.get_webmercator_pixels#
- xoa.core.plot.get_webmercator_pixels(lon, lat, zoom, tile_size=256)[source]#
Get the pixel coordinates of points on a web map at a zoom level
These are the “global” pixel coordinates of web Mercator maps like those of Leaflet or OpenLayers: the world is
tile_size * 2**zoompixels wide, withxincreasing eastward from the dateline andyincreasing southward from the north.