I created a google maps API key. But how do I have to use it in the static map?
I watched a couple videos but it doesn't work. Can someone explain it in an easy way for me?
Hi M B,Check the below links:https://success.outsystems.com/documentation/11/developing_an_application/design_ui/patterns/using_mobile_and_reactive_patterns/interaction/map/how_to_use_the_map_component/
https://outsystemsui.outsystems.com/OutSystemsMapsSample/StaticMaphttps://www.outsystems.com/forums/discussion/74449/markers-are-not-showing-up-on-my-static-map/#
If you still face issue then let me know.What you did and what is not working?RegardsKrishnanand Pathak
Hi Krishnanand,
I real don't see what I do wrong. but I followed the map component documentation.
This is how it looked right now:
I use a google api key and maybe I put it in the wrong place?? but put it in the apikey:
Sharing the oml in which there is a screen GoogleMapss Just add the API Key in Maps component and publish then Test.
This came after the photo down
I think your OutsystemsUI version is different.Try to refresh the dependency through Manage Dependencies then publish.
Wel thanks! But it doesn't work. if I look in the browser console it says: Google maps JavaScript API error: InvalidKeyError. And if I click on the document it says:
The API key included in the script element that loads the API is not found. Please make sure you are using a correct API key. You can generate a new API key in the Cloud Console.
So I Think there is something with the API key..