Hello guys
I'm creating a leaflet map with leafletmap (widget) and I want to insert the satellite view through the Bing Maps API.
I'm already using the API to bring the imagery from the satellite view, where I'm having problems is mapping the image to the leaflet (Tile System).
Could anyone help me with this issue?
Thanks !!
Hi @fabio rama,
- Width: any number
- Height: any number
- UseDraw. Enabling Leafletdraw (demo:https://leaflet.github.io/Leaflet.draw/docs/examples/full.html)
- OsmUrl: the url of the tile provider. You can choose any of these (some require a apikey): https://leaflet-extras.github.io/leaflet-providers/preview/. I would use this as a start: https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png
- MaxZoom: Is tied to the selected tile provider. My recommended provider value would be 19
- Attibution: Additional text in the lower right corner. I would use "..." myself as a start
- Version: I would leave this blank. Not really sure why this is needed
- Latitude: The point on which the map centers after load
- Longitude: The point on which the map centers after load
- Zoom: Initial zoom value. Can be between 0 and the MaxZoom
- MarkerList: An array of markers on the map that you want to have after load. The structure tells you what you need to provide.
check this post
I hope this helps you a bit.
Kind regards,
Sanjay Kushwah