Clarifying google map (charging, versions) - google-maps

I am getting confused about Google Map.
I am writing a CMS website using Ektron CMS.
That CMS has a map function which in turn used google map.
Till last year, I can get an API key for the map and everything was fine.
But When I created a new website yesterday, I cannot find the page to get the key anymore.
After searching a while, I found out that I need to sign in and add the services to get the key.
Then I found out the charging scheme as it is in this question
Then I also found out that Google Map V2 is deprecated.
Does it mean we can no longer use V2 ?
Can I just change v=2 to v=3 and everything will work fine?
What about charging scheme? If google really charges, will it be a lot?

switch from V2 to V3:
You cannot use V2-code with the V3-library, you have to update your code, it's completely different.
charging:
usually the use of v3 is free of charge, as long as you didn't exceed the limits and the map is accessible for everyone without any costs.

According to Google, API for Maps, Version 2 has been officially deprecated as of May 19, 2010 and they would be supporting it for 3 yrs which means your API key should be working fine unless you would have got a notice regarding the same.
This link shows Google's terms of service discontinuation. I guess you'll want to upgrade to v3 asap to keep your software up and running. :)

Related

GWT + Google Maps API v3

I need Google Maps API v3 calls in my GWT Project, more specifically an Autocomplete-Feature for Places like in Google-Maps and the DirectionServices.
We already tried 2 approaches to get v3 access, but none was satisfying:
Using the GWT SuggestionBox Widget + Geocoder suggestions. This solution is very slow and even worser, the constraints you can put on the suggested Places is just country codes (e.g. "uk") and, even worse, it seems to be not working.
Google Maps API v3 Wrapper for GWT done by branflake2267. There seems to be a conflict between the wrapper and the already existing (older) GWT Google Maps API lib. When one tries to remove the Google GWT-maps-api from the project, severe changes would have to be made, since the structure of the API seems different (some Classes are not within the Wrapper).
Does somebody maybe had a similar problem and a solution for this? How can I get the Google Maps V3 API working in my GWT project?
Thank you very much guys for any help on this!
There is an official port of Maps v3 supported by Google which can be found here, but it is still in pre-release.
For more info, look at the comments of this bug.
Be very careful with Maps v3 it has some serious issues when used with the latest GWTversions. It does not appear to use Overlays and uses ArrayHelper all of which cause problems on GWT 2.1 and up..
I've had good luck with the branflake API on GWT 2.8. However, it hasn't been updated in years and still uses API version 3.10. Unfortunately I'm going to have to either for it and take on maintaining my own version of it or find an alternative at some point.
For now, tho, it's still very much a usable solution.
https://mvnrepository.com/artifact/com.github.branflake2267/gwt-maps-api

Google Maps API for Jersey/Guernsey?

My company is using the Google Maps API to power an installer locator for our product. All has been going fine up until now, when I've added installers on the Channel Islands (UK). Is there any way I can get the Google Maps API to recognize these locations for me?
The Channel Islands are editable in Google Mapmaker, which means you can fix most geocoding problems if you happen to know the right answer. Not all fixes will go live immediately, but they will eventually.
There isn't! Geolocation in the channel islands (as provided by google) is very patchy. It doesn't seem to recognize postcodes, for instance.
My company is based on Jersey. On our site, we geolocate a user, then place a marker on the map as to where we think they are. We set this marker to 'draggable', and allow the user to drag the marker to their location if its inaccurate. You can get info on how precisely you have located someone from the API - if its not good enough, you can give extra prompts to tell the user to locate themselves.
This isn't an ideal solution, but its important to have - geolocation services do not work accurately everywhere in the world.

Google changed something in their maps?

Im creating project with Google Maps API V3. Everything worked good but today, witchout changing code, maps crashed and wont run. Google changed something in their maps? I dont see anything. Console says nothing.
Make sure that you specify a version in your URL for loading the google maps v3 script. If you do not, you will always be given the latest version (v3.9 now), and any code you have written against a previous version could break (but they're usually pretty good about backwards compatibility).
See this page for more about using particular versions with Google Maps v3.

Do I really need the Google Maps API key?

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.

Map controls for sites running https

A team I work with is currently in an unfortunate situation. They've spent a lot of time integrating the google map control on their site but they didn't discover that to run google maps on a https site you must license the control (and it isn't cheap) and the same goes for bing maps.
So my question is do you know of any cheaper/free map controls like google or bing maps?
OpenLayers
In version 3 of the API, HTTPS support is now free.
Why can't they put the google maps part on a non-secure page or frame? The google licence says that you must have it on a publicly accessible site to benefit from the free version of the licence, so even on a http site, you may still need to pay for the data.
All other mapping tools are dependant on the expensive map source data, so you'll not find any. The exception is OpenStreetMap which uses community-supplied map data.
MapQuest's API allows SSL usage through the free license.
I was looking into this and found this post - you can use Bing maps over ssl with no problems, and it seems to work fine.
For the danish users I found the following VisKort component on SoftwareBørsen. It looks like it is based on OpenStreetMap, but I'm not sure.