This sample demonstrates how to embed a leaflet basemap under the DK.ASPNET map.
Default mode is Zoom. Drag using Shift + left mouse click.
Steps to enable leaflet and configure styling :
- Page options :
- Head runat = server to allow modifying its Controls
- Head containing code blocks should be inside a PlaceHolder
- Viewer web control options :
- RenderingMode = Leaflet
- ImageFormat = Png
- BackColor = Transparent
- Viewer server side options :
- RestrictedDrag = false
- Color = Transparent
- CS = 3785
Leaflet map control can be retrieved using JavaScript getLeafletMap() function.