I believe I have followed all the right steps.
1. Created a block and added the static map widget.
2. Created a StaticMarker List Variable
3. Fetched and stored the locations into the List.Location
The map does get centered based on the location.
But the map won't show the markers.
To prove I am providing the data properly, I created an expression that displays the list of markers below the map. The locations look OK.
Any suggestions?
Hi Anthony, the one which you were using is the Deprecated web block ,Replace it with the new one provided in the outsystems maps instead,also go through the Google Maps Documentaion on how to provide the Locations exactly,Hope it helps!!
Hi Anthony,
Upload the Oml You have tried to Implement the Map scenario ,So that we can have a look Into what's actually going wrong!!
Thanks so much.
Here it is.
It feels like I am very close.
Also, I was able to trap the error ErrorCodeId: MAPS-CFG-02002, Error Message: Properties from StaticMaps can't be changed
Thanks so much for the response.
I replaced the deprecated service with another map module in forge below and it seems to be working better.
Though I am finding that I need to provide the Long/Lat...I thought those were optional and the address would be resolved by the service to Long/Lat. But that does not seem to be the case. Or I am formatting my address incorrectly. But they seem OK to me.
Fine that it is resolved..Happy Coding!!
Thanks!
I did post another question on Address2Geo. I am getting a a "Forbidden" error.
Address2Geo Forum Question
I am not sure where to put the API Key. It is not one of the input parameters like map.
Any ideas?
Thx for you help.
AT