71
Views
1
Comments
Display live location on Google Maps? "AddCoordinateMarkerToMap" not working!
Question
Application Type
Reactive

There are several posts on this topic but none solve my issue. The goal is to display markers of geolocations from a Data Entity (latitude and longitude). Additionally, the user's current position should be displayed and update live as the user walks around. 

Displaying the list of markers from the entity works fine, as does finding the user's location with the Location Plugin. However, I am unable to display the user's location on the map. I have the user's latitude and longitude, and want to display this as an additional marker on the map. I also have the map ID. I have tried using GoogleMapsMobile component from Forge, as well as OutSystems maps. In both cases, when I use the Google_Maps server action, "AddCoordinateMarkerToMap," then nothing happens. No errors or anything, but the marker ID is returned as blank and no new marker is placed on the map.


Is there something missing? For this task should I do everything with Javascript instead? 


Thank you!

2024-03-01 16-33-08
Douglas Montemor

Hi,

See this component

Outsystems Maps



Best regards...

Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.