Google map display error message

Hello,

Why does my google map shows this error message every time?

Solution

Hello Preeti

The possible causes for this error are:

MissingKeyMapError - An API key is not being used

RefererNotAllowedMapError - Key does not allow your URL

ApiNotActivatedMapError - API is not enabled

InvalidKeyMapError - The API key used is incorrect

Check the developer tools in Google Chrome and check the console for any errors.

Best regards,

R.P

Solution

Thanks RP.

It worked!

Can I ask you one more question. How can I get Current location as origin?

Preeti Gupta wrote:

Thanks RP.

It worked!

Can I ask you one more question. How can I get Current location as origin?

Thanks Preeti,

You can use in the forge https://www.outsystems.com/forge/component-discussions/507/HTML5+Goodies and then look at the discussion https://www.outsystems.com/forums/discussion/16398/geolocation/

The component HTML5 Goodies, has a exemple page with get user current position. Also has an example of how to show the location on google maps.

I hope this will help with your problem.

Best regards,

R.P