[Google Maps Mobile] Error using module GoogleMapsMobile

Forge Component
(17)
Published on 3 Jul by Labs
17 votes
Published on 3 Jul by Labs

Hi,

using the GoogleMapsMobile module  in our mobile app we get the error message as shown in the followiong image. I tried to insert a new apikey in the test environment but the message remains the same.

The problem was reported yesterday and  no new implamantation was deployed. 



Best regards 

Giuseppe

Solution

Hi Giuseppe,


Normally these kind of errors are associated with the API Keys.

Recently, google maps changed the pricing: https://manifesto.co.uk/google-maps-api-pricing-changes/, so you will have a limit of free calls, after that you won't be able to use google maps without paying.

You can confirm if this is the case, looking to your browser console if any of these errors are being thrown:

Hope it helps you!

Best regards,

Daniel Martins

Solution

Hi Daniel,

Thank You for your helpfull answer. I confirm the case.

I don't Know which kind of API Key I can generate to use in outsystem module Google Map Mobile.
I tried with MAP IOS and MAP Android but it didn't work.I see that in the module there is only one point where to insert the ApiKey.  
Have you any suggestion?


Best regards,


Giuseppe

Hi Giuseppe,

It depends on your implementation, you can provide a specific APIKey as input parameter on each element: 


If no APIKey is provided in the input parameter, it will use the GoogleMapsMobile API Key that is defined as site property:


Best regards,

Check here how to get the google maps JavaScript API key:

https://developers.google.com/maps/documentation/javascript/get-api-key


And please check if you have Maps JavaScript APIenabled for your project.


Best regards,

Daniel Martins

We are using api key in our Mobile app developed with Outsystems and  using Google Map Mobile module.

So I think that the api key must be generated using IP restriction, were the IP are the outsystems server IP, or http restriction using the hostname  configured in our outsystems environments.

Is this correct?


Best regards

Giuseppe

We solved the problem generatind a HTTP api key with site restriction.

Thanks for your helpfull support.

Best regards, 

Giuseppe

Glad that you overpassed the issue!

Thank you for your feedback.

Best regards,

Daniel Martins