143
Views
7
Comments
Solved
Markers are not showing up on my static map
Question

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?

Issue1.PNG
2022-05-19 14-01-44
Varada Rajan
Solution

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!!

2022-05-19 14-01-44
Varada Rajan

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!!

UserImage.jpg
Anthony Troy

Thanks so much.

Here it is. 

It feels like I am very close.

RestAssured.oml
UserImage.jpg
Anthony Troy

Also, I was able to trap the error ErrorCodeId: MAPS-CFG-02002, Error Message: Properties from StaticMaps can't be changed 

2022-05-19 14-01-44
Varada Rajan
Solution

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!!

UserImage.jpg
Anthony Troy

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.



2022-05-19 14-01-44
Varada Rajan

Fine that it is resolved..Happy Coding!!

UserImage.jpg
Anthony Troy

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

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