Open RaduDragomir opened 9 years ago
The issue with static image is that it's limited to 1280x1280. I was looking on using Leaflet Image but giving the cropped area instead of canvas to generate the image. https://www.mapbox.com/mapbox.js/example/v1.0.0/leaflet-image/ Any idea if that is possible?
Since the images are loaded from an external source, it shouldn't be possible to do it purely on the client side, due to browser security restrictions. However you should be able to achieve it using something like MapBox Static Maps API (https://www.mapbox.com/developers/api/static/) or Google Static Maps (https://developers.google.com/maps/documentation/staticmaps/intro).