Is it possible to integrate a BANanoLeaflet map in BANAnoVuetifyAD3?
I tried and all I get is a blank map screen. I put the BANanoLeaflet map in a BANAnoVuetifyAD3 VueElement (div) but all I get is the blank map that is in the attached image. The marker, zoom controls, and the Leaflet link show up on the blank map, but the maker pop-ups do not show up. Thanks for your help.
I tried and all I get is a blank map screen. I put the BANanoLeaflet map in a BANAnoVuetifyAD3 VueElement (div) but all I get is the blank map that is in the attached image. The marker, zoom controls, and the Leaflet link show up on the blank map, but the maker pop-ups do not show up. Thanks for your help.
Here is the code (containermap is a VueElement)::
'//LEAFLET MAP
Dim targetid As String
targetid = containermap.id
home.GetVueElement(Me, "#" & targetid).Empty
LeafletMap.Initialize("#" & targetid)
LeafletMap.SetStyle($"{ "width": "230px", "height": "200px" }"$)
Dim TileLayer As BANanoLeafletTileLayer
TileLayer.Initialize
LeafletMap.AddTileLayer(TileLayer)
LeafletMap.PanTo(48.856613, 2.352222)
LeafletMap.SetZoom(5)
' Add a marker
Dim myMarker As BANanoLeafletMarker
myMarker.Initialize2(48.856613, 2.352222)
myMarker.SetDraggable(True)
myMarker.SetAutoPan(True)
myMarker.SetTooltip("I'm a Tooltip")
myMarker.SetPopup("I'm a Popup")
LeafletMap.AddMarker(myMarker)