I come to you in the hope of finding a solution to a problem I encountered when I embed Google Maps in OBIEE.
Indeed, after following the standard procedure defined on this link:
http://onlyobi.blogspot.fr/2014/03/obiee-11g-google-map-integration-guest.html
I get the following error appears in OBIEE:
"Google has disabled use of the Google Maps API for this application. The key provided is not a valid Google API key or is not a licensed version 3 API key
Google Maps Javascript on this site. If you are the owner of this applicatio, please go to ... "
Thank you for your support,
Have you tried using the maps visualization from Google? More details here:
https://developers.google.com/chart/interactive/docs/gallery/map
We use this in OBIEE to display certain data on maps.
Using MapViewer, we can integrate google maps with the OBIEE 11g/12c. More details is here:
https://support.oracle.com/epmos/faces/DocumentDisplay?_afrLoop=363666329275914&parent=EXTERNAL_SEARCH&sourceId=HOWTO&id=1485088.1&_afrWindowMode=0&_adf.ctrl-state=rota6my7h_102
Related
I am trying to use google maps distance matrix api in my project to get distance between 2 places. I have also enable this api in google developer console. But I am continuously getting error ApiNotActivatedMapError.
I am using sample code provided by google as distance-matrix .
When you use a library or service via the Maps-Javascript-API, and use a key, you only need to activate the Google Maps JavaScript API .
When you get the particular error with the linked example you obviously didn't activate the Google Maps JavaScript API for your project.
Update:
since June 22, 2016 you need also to activate the related API(Webservice) for new applications when you want to use the following features:
geocoding service
directions service
distanceMatrix service
elevation service
places library
Old question.. But.. I had n similar issue recently with a ApiNotActivatedMapError using geocoding but Konerak's comment helped me get to this really nice post.
Basically, you can activate your API's here: https://console.developers.google.com/apis/library
Activating Google Maps JavaScript API along with the already activate Geocoding API solved my problem.
Hope it helps someone in a similar position :)
This link is enabled API https://console.developers.google.com/apis/library. For default emulator and in iOS its disabled, but in this console you can active this API.
Good day.
Now i create api Key for browser apps (with referers).
Referers: *.invait.ru/*
But on site i get error:
Google does not permit the use of the Maps API for this application.
API Google key provided is invalid or do not have permission to use it
with Google Maps JavaScript API v3 on this site.
Screenshot:
Tell me please why i get it error and how remove error and use google map api v3?
For domain use Referers: invait.ru/*
I have an old website that uses Google maps v2. Previously the website was running under http://domain1.edu. Now it is runs under http://domain2.edu. It appears that I need to update the map key.
On the internet, I was looking for how to do this. I find incomplete info at Google's own website. Here is the link for v2 map key: https://developers.google.com/maps/documentation/javascript/v2/introduction?csw=1#Obtaining_Key
It says:
To create your API key, visit the APIs Console at https://code.google.com/apis/console and log in with your Google Account.
Click the Services link from the left-hand menu, then activate the Google Maps API v2 service.
Once the service has been activated, your API key is available from the API Access page, in the Simple API Access section. Maps API applications use the Key for browser apps
First, I am unable to find "Google Maps API v2" service mentioned above. I am able to find Google Maps API v3, and so I enabled it. I used the key mentioned at https://developers.google.com/maps/documentation/javascript/tutorial#api_key
However, the website key is still not working.
Here is the page with Google map: http://nmai.si.edu/nafvf/attend.aspx
Anyone knows how to fix this?
Thanks and regards!
You are using the deprecated Google Maps Javascript API v2, those keys are no longer available (as the documentation you point to indicates). You need to use a v3 key, and make sure you have the referrers set correctly for that key (you really should update your map to use the v3 API...)
working example (copied from Mike Williams' v2 tutorial, just changed the key)
This link says how to generate the key for android. You need to get the SHA1 of your signing key and then gotto google console to generate the key.
I recently came by this website: http://www.google.com/earth/explore/products/earthview.html
"Earth view in Google Maps"
Does this mean, I use the usual Google Maps APIs (V3) to manage the map while being able to render in Earth view? More explanation please?
See this question and the accepted answer:
How do I convert my google maps application into a google earth application?
Per that answer, you can find additional detail here:
http://code.google.com/apis/maps/documentation/javascript/v2/services.html#Earth
The EarthView link is about taking advantage of the Google Earth plugin at maps.google.com, and not related to enabling it for your own site.
The recommended strategy for integrating the plugin into your own mashup is to use the utility library at http://google-maps-utility-library-v3.googlecode.com/svn/trunk/googleearth/
I am planning to release a commercial website (I have ads there and a shop) which is freely available for everybody. I want to add a google map to show some points of interest. The question is: Do I need the google api key for that or can I just use the iframe code that google gives me? Theoretically that would work, too.
I searched google, but could not find a clear answer...
Thanks :-)
v2 of the Google Maps API is deprecated, so you should ideally use v3.
v3 does not need an API key as mentioned in the documentation.
Since v3 is the official version now, I assume the links given in google maps are for the version. You can always just try and see if embedding the iframe works for you. Though as noted, you can't really customize the map, so you should use the API. It's very simple to set up a basic map (read the tutorial).
You don't need the Google Maps API key as long as you don't plan to include any special or customized maps in your website.
Using the iframe version is fine for basic Maps integration.
The API Key is free anyway, so there is no problem in obtaining one. You should also be free to use the iframe as well, as long as your site is publicly available to everyone without a payed login or anything like that.
As long as you meet Google Maps TOS, you can use both. If you don't meet those TOS, don't use any of it.
A Google Maps API key is required for v2 of the API, not for v3 as far as I know,
and neither for requests to Static Maps API v2.