I have a google map on my site for showing visitors where events are held, in the back end of the site, the user can enter an address find the location and then drag the marker to the specific location. For this i am using Google Maps APi v2 but it is still working.
Should it not of stopped working after the API was made redundant? Or how long will it still work for
According to google (here):
As of November 19, 2013, all applications requesting v2 are served a special, wrapped version of the v3 API instead. We expect this wrapped version of the API to work for most simple maps, but we strongly encourage you to migrate to the v3 API immediately.
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.
Recently, Google map could go back in time Street View by "TimeMachine".
I couldn't find the way in the APIs.
Is their TimeMachine parameter for change the time?
Have I any other way if we don't have API to get the data of "TimeMachine"?
For example, enter a URL of Street View directly.
To my knowledge, this is not possible using the API.
This feature request from the official Google Maps API bug tracker covers exactly this funcitonality:
Issue 6718: Feature Request: Access to Street View images from different times
It it open since May 2014.
I'm confused as to what Google Map API I will implement to my website regarding this plot.
1 - My admin user will set the address of a place on the google map (probably in textboxes)
2 - The users can view the place set by the admin and has already a marker in that specific place.
What are the differences between the v2 and v3?
Thanks for helping.
To use API V2 you need a key and now it's impossible to get one because API V2 has been officially deprecated as of May 19, 2010, just like Marcelo said as a comment of your question.
You will need to use Api V3. Check the Google Maps JavaScript API v3 for more details.
It seems that in between the development of my website and the go-live (now) Google has phased out the Google Maps v2 API. I'm all for progress but to rewrite all my map code seems to be a bit too much for me to handle at this point in time.
Is it sill possible to obtain a Google Maps v2 API key in some hidden corner of the web?
Get a new Console key from https://code.google.com/apis/console as described in the Version 3 docs at https://developers.google.com/maps/documentation/javascript/tutorial#api_key. Console keys work with Version 2 and provide the benefits of statistics reporting.
It's against the Terms to use the API without a key, and in fact this won't work on domains which aren't Google's like http://codethink.no-ip.org/mapHacks.html. The webcache version of that page works because it's on a Google domain.
Is there a https version of the google maps api v3? I have a site that uses https and am getting annoying mixed secure and non-secure content errors in IE. I read that in v2 you had to pay to get this, but haven't seen anything for v3.
Yesterday Google announced that sites may use the v3 API for free over https:
http://googlegeodevelopers.blogspot.com/2011/03/maps-apis-over-ssl-now-available-to-all.html
Try replacing
http://maps.google.com/maps
with
https://maps-api-ssl.google.com/maps
Update
As of March 2011
The Maps API v3, Static Maps API, and Maps API Web Services are now
available to all developers over https:
This is one of my big problems with Google Maps. If you want to access Google Maps javascript via https you have to sign up as a Google Maps Premier customer.
There is a Google Maps API issue on the topic with lots of mutinous comments, but the final word from Google is that they will not be supporting this functionality in the free API.
This particular problem is close to my heart as I have spent the last few days porting one of our projects over to Bing Maps (it does support https).
Google does allows https access for Maps API v3, Static Maps API, and Maps API Web Services.
But with one condition:
If your site uses SSL because you charge for access to your
application, or because your application is not publicly accessible to
all users, you must still purchase a Maps API Premier license.