Hi guys,
I encountered a problem using the build-in Map (Dynamic map control powered by Azure Maps) where the map marker disappears after you leave the screen and come back to it. When the screen initially loads it works like a charm. The only way to get the marker back is changing the 'icon' value (while writing and testing some more even this didn't seem to work anymore...).
As a test I've mocked up two buttons and a map control (see attached image 'AzureMapMarker.png')
Button1:
Set(ds_MarkerTest, Table({
Name: "Marker test",
Longitude: "5.121557746181588",
Latitude: "52.09192765578855",
Color: "Red",
Icon: "marker-thick"}))
Button2:
Set(ds_MarkerTest, Table({
Name: "Marker test",
Longitude: "5.221557746181588",
Latitude: "52.19192765578855",
Color: "Red",
Icon: "marker-thick"}))
Properties of the Map (see attached image for all properties):
DefaultLocation = false
DefaultLongitude = false
DefaultLatitude = false
DefaultZoomLevel = 12
CurrentLocation = false
Clustering = true
PinColor = RGBA(255,0,0,1)
MaxPins = 1000
Items = ds_MarkerTest
ItemsLabels = ds_MarkerTest.Name
ItemsAddresses = Blank() //Not using it, it's just an empty field right now
ItemsLongitudes = ds_MarkerTest.Longitude
ItemsLatitudes = ds_MarkerTest.Latitude
ItemsColors = ds_MarkerTest.Color
ItemsIcons = ds_MarkerTest.Icon
I've tried changing the icon via a variable but that doesn't seem to work. Using different icons on both buttons doesn't give a result either; in all cases that I've tried the marker is just not visible until you restart the whole app.
Couldn't find anything relevant on the forum or elsewhere using Google.
Am I approaching this the wrong way or does the map not work like it's supposed to do?
Any help is greatly appreciated!
Edit: formatted the text again because it got screwed up on Posting..

Report
All responses (
Answers (