57
Views
10
Comments
Solved
unable to see the map into the map block?

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

2024-05-08 06-29-37
Prince Aadil Khan Panwar
Solution

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 

Thanks 

Prince

leafletMap.oml
2025-09-04 06-33-37
Nikhil___Vijay

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

2024-05-08 06-29-37
Prince Aadil Khan Panwar

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.

2024-07-05 14-16-55
Daniël Kuhlmann
 
MVP

You are obligated to use an google MAP API key, it will not work without.

2023-12-19 16-46-19
Castro Vieira


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


20240108100838.png
2024-05-08 06-29-37
Prince Aadil Khan Panwar

@Castro Vieira but api is not mandatory right?? So why to generate api key then?

2023-10-27 15-22-44
Rahul Yadav

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.


Thanks

Rahul

2024-05-08 06-29-37
Prince Aadil Khan Panwar

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.

2024-07-12 05-57-50
Gourav Shrivastava
Champion

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.

2024-07-12 05-57-50
Gourav Shrivastava
Champion

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. 

2024-05-08 06-29-37
Prince Aadil Khan Panwar
Solution

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 

Thanks 

Prince

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