I have successfully created an app using the Interactive Map control and used the OnMapClick feature to capture the latitude and longitude of a clicked point so that a pin can be added to the map.
The app was working fine, however it suddenly is not recognising the latitude and longitude as legitimate and highlighting these as errors. eg. if I add a label to show the latitude of the clicked point using: map1.ClickedLocation.Latitude the word Latitude is underlined red and it gives the error as "Name isn't valid. 'Latitude' isn't recognized."
ClickedLocation does show up as an autocomplete option, but Latitude and Longitude used to also show in the autocomplete but now they do not appear.
The problem is also occurring now another environment and I have tried re-adding a map, starting with a new app, starting in another solution but they all have the same problem. Seems to be tenant wide.
What should I try to restore this function?
The problem started after I opened the app on another computer and said it was being edited by another user. I clicked the button to "take control". Could this have caused some kind of corruption?
have tried removing and reinstating the spatial services connector but it seems to be something else. The map functions normally showing the pins located correctly from the gallery table but the click on map function is broken. This was ocnfirmed when I tested the app on a tablet.