Hi all,
I’m working on my first WebMapViewer project.
The Location pin does not appear on the map, although I followed the coding examples from the documentation.
In the Shown event handler I have this code:
Var location As New WebMapLocation(52.10477164158653, 5.144627996814239, "Thuis")
MyMap.GoToLocation(location)
MyMap.AddLocation(location)
MyMap.Zoom = 14
The map is shown correctly, but without a location pin.
2.1) Writing your own WebSDK Control and and integrate with Leaflet
Here you can write to Leaflet and get feedback from Leaflet.
or ( if the requirements are not too heavy)
2.2) Try hosting Leaflet in a XOJO WebHTMLViewer.
2.2 is suitable if you only need to show location / pin / draw on Leaflet and not get feedback from Leaflet ( one way communication).
I am very hopeful we will see better WebMapViewer control in Xojo2023R2