Wondering if it is possible to let user select part of Leaflet map and extract that portion of the map as png image. I have found plugins that can narrow things down to the selected area bounds, but I don't know if there's an API in leaflet that can get to the content out given the bounds.
如果您知道坐标,并且正在使用Mapbox托管地图,那么我来看看Mapbox静态地图API https://www.mapbox.com/developers/api/static/ ,您可以轻松地使用它mapbox为您创建一个光栅图像。
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.