-2

I want to create a map that uses Azure maps as the base map layer in Leaflet.

From what I understand, Leaflet will be the canvas/control and Azure maps will be the layer added by Leaflet. https://learn.microsoft.com/en-us/samples/azure-samples/azure-maps-leaflet/azure-maps-leaflet-plugin/

rbrundritt
  • 16,570
  • 2
  • 21
  • 46
  • Please share your afferts what you have done. – Rajeev Singh Sep 13 '21 at 09:33
  • Please clarify your specific problem or provide additional details to highlight exactly what you need. As it's currently written, it's hard to tell exactly what you're asking. – Community Sep 13 '21 at 13:00

1 Answers1

0

Azure Maps base map imagery can be used within Leaflet.

Here is a helper library that makes this fairly easy: https://github.com/Azure-Samples/azure-maps-leaflet

The plugin helps makes it easier to integrate with Leaflet, especially if you use the Azure Active Directory authentication option of Azure Maps. However, you can easily just add the Azure Maps using a TileLayer pointing to the Azure Maps Imagery Render service: https://learn.microsoft.com/en-us/rest/api/maps/render-v2/get-map-tile

rbrundritt
  • 16,570
  • 2
  • 21
  • 46