Hi Community, i am trying to use Outsystems Maps. but unable to see the map. as api key is not mendatory. I am not putting the api key into the api key input. It shows the map for 1 second and It is showing the error this way.
Thanks
Prince
hi @ all,
If we want to use Outsystems maps element without api key. We can use Outsystems's Maps Leaflet element instead of Map for developers purpose.
here is the Documentation - https://outsystemsui.outsystems.com/OutSystemsMapsSample/LeafletMap
sample - Click here
Hello @Prince Aadil Khan Panwar
"It is working for me when I provide a valid API key."
I would like to share my demo link with you. It is currently working for me.
https://personal-zju7lmqr.outsystemscloud.com/HelloWorld/Screen2?_ts=638403238363489054
Regards
Nikhil kumar vijay
But my question was, I don't want to use api key. And want to work without api. With api it's working in my system as well.
You are obligated to use an google MAP API key, it will not work without.
You need to create the Google API key and enable the required API on google developer console.
Please remember to enable billing option to use APIs multiple times otherwise you will get error on console that API required billing options enabled in Google developer portal for particular project .
I think now Google has put restrictions on usages of Google map API
Is your API key really valid?
https://www.youtube.com/watch?v=9ecfL8A9EWI
@Castro Vieira but api is not mandatory right?? So why to generate api key then?
Hi @Prince Aadil Khan Panwar
API key is mandatory for using Google Maps API. Check for details in the link below -
https://developers.google.com/maps/documentation/embed/get-api-key
This should have been updated in the Map Documentation. Not sure why isn't it updated till now.
Rahul
yes @Rahul Yadav , it was working fine before. if we dont put api key. Map will be loaded. but with the water mark for developers only. as i have used it before but i was using it for helping someone. but its not working now. dont know why.
Yes, that's correct. Google Maps API now requires an API key for any usage, even for development purposes. Previously, for certain limited uses or low usage, Google Maps might have allowed access without an API key, showing a watermark to indicate that it was for development purposes only.
As of recent changes, Google Maps now mandates the use of an API key for any usage of its services, including during development. This is part of their updated policies and security measures to track and control usage, even during the development phase. Without a valid API key associated with your project, the map won't load.
To resolve this and display the map in your application during development, you'll need to generate an API key from the Google Cloud Platform Console and use it in your code to access the Google Maps services.
However, for the most recent and specific announcements regarding changes in the policy or any updates related to Google Maps API key requirements, I recommend visiting the official Google Maps Platform documentation or the Google Cloud Platform Console. There, you'll find the latest and official announcements, documentation updates, and guidelines related to Google Maps API key usage and policies.