Google Maps API v3 over HTTPS? - google-maps

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.

Related

What is the difference between Android location manger, Google play services location, Google Maps geolocation API to get current location?

I found that
Android’s Location Manager API
Google Play Services Location APIs
Google Maps Geolocation API
can get current location, what is the difference between them?
Especially Google Maps Geolocation API is not free, why should one use that instead of free ones?
Maybe Android's location Manager and Google play service location is only available to Android device, while Google Maps Geolocation works both on Android and iOS?
I don't have a lot of experience with what you're talking about, but I did some research about differences these technologies and maybe it can help you:
"Google Maps Geolocation API" unlike Android's Location Manager API, can work in web browsers as well as the Android operating system. And Google Play Services Location API is mostly used by mobile app developers to gather information about verified users.

Where can I find if there are updates or changes in the Geocoding API or the Place Autocomplete API

Where can I find if there are updates or changes in the Geocoding API or the Place Autocomplete API? Is there a release note page.
Besides the changes is there a page where I can find a roadmap of the API?
For maps news and updates in general there's Google Maps Platform's Blog.
There are Release Notes for JavaScript API and for the mobile (Maps and Places) SDKs. But not for Geocoding or Places for web specifically. For e.g. JavaScript API see here.
If by roadmap you mean a get started walk through the Maps APIs, I recommend you start with Google's Get Started documentation. The API Picker is especially useful in understanding what each Maps service offers.
Hope this helps you!

Why is my Google Maps API v2 still working

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.

API Console for Maps For Businesses

Is there a way to use the API Console instead of the Enterprise portal of Google Maps for Business to check my quotas and billable limits?
I created a project with the same account i use to enter the enterprise portal but im not sure they are both linked.
Maps for Work (Enterprise) billing and quotas are available in the API Console only for the Google Places API, the Geolocation API, the Roads API, Maps SDKs for Android and iOS.
https://developers.google.com/maps/premium/previous-licenses/previous-faq#google_maps_api_services
Just FYI, all new projects renewed or created after january 1st of 2016 are using the developer console which is much simpler than the old site.

Using google maps api behind firewall

I have an application embedding google maps. Works fine. Some users are behind a firewall with very restricted access to the rest of the world.
Does anyone know of a valid list of dns-names/ip-addresses used by the google maps api? I can see what dns-names it loads from in firebug's net panel. But it feels a bit unsafe to use just them. Is there a such list that I can add to the firewalls whitelist?
..fredrik
EDIT
I spoke to someone who was working at the maps-team at google. And he said that it's not possible since the ip addresses changes since the maps service is split over a whole range over servers.
As I see in Chrome's console there are 3 servers that Google Maps are using right now:
mt0.google.com (ew-in-f100.1e100.net)
mt1.google.com (ew-in-f102.1e100.net)
maps.gstatic.com (ew-in-f104.1e100.net)
As you can see all of them are in 1e100.net domain.
1e100 equals1 googol ;)
This is possible now. The primary source of information is found here: https://developers.google.com/maps/documentation/business/articles/prelaunch_checklist#firewall
Configure Firewall to Allow Access to the Google Maps API Services
Why it's important: The Maps API services use a variety of domains, some which do not belong to the *google.com domain. If you are behind a restrictive firewall, it is important you understand which Maps API services use which domains.
Failure to allow access to the correct domains will cause API requests to fail, which can break your applications. For a complete listing of domains used by the Maps APIs, please consult our portal resource (login required):
Log in to the Google Enterprise Support Portal
The support portal is only available to Google Maps API for Work users.
Navigate to the "Resources" tab
Select the Resource called "List of domains used by the Google Maps API Family."
You should allow your applications to access these domains.
Please note that we do not recommend managing firewall restrictions by IP address, as the IPs associated with these domains are not static.
Here is the content of the article about domains used in Google Maps APIs. This article is available in Google Cloud support portal:
This document lists all the domains that are used by the Google Maps Platform when Maps components are loaded. This list of domain is provided to help you set up your firewall configuration, in case your Internet access is filtered by a per-domain policy.
Important notes:
This list is subject to change as new features are rolled out, and may not be up-to-date as new domains are noticed. It is recommended to check this page every 2 months.
The entries below containing google.com can be replaced with the other domains where Google Maps has launched: maps.google.co.uk, ditu.google.com, bendi.google.com, ditu.google.cn, bendi.google.cn, mapy.google.pl, etc.
Users accessing the API from China will send requests to domains under google.cn and gstatic.cn in addition to google.com and gstatic.com respectively.
Javascript Maps API (V2 and V3) over HTTP
The Maps Javascript API V3 (and V2) bootstrap and services (geocoding, driving directions, elevation, kml) use:
maps.google.com
maps.googleapis.com
Static dependencies:
maps.gstatic.com
Map tiles and traffic tiles:
maps.googleapis.com
Aerial tiles:
khmdb0.google.com
khmdb0.googleapis.com
khmdb1.google.com
khmdb1.googleapis.com
Satellite tiles:
khm.google.com
khm.googleapis.com
khm0.google.com
khm0.googleapis.com
khm1.google.com
khm1.googleapis.com
khms0.google.com
khms0.googleapis.com
khms1.google.com
khms1.googleapis.com
Streetview imagery:
geo0.ggpht.com
geo1.ggpht.com
geo2.ggpht.com
geo3.ggpht.com
lh3.ggpht.com
lh4.ggpht.com
lh5.ggpht.com
lh6.ggpht.com
cbk0.google.com
cbk0.googleapis.com
cbk1.google.com
cbk1.googleapis.com
cbk2.google.com
cbk2.googleapis.com
cbk3.google.com
cbk3.googleapis.com
lh3.googleusercontent.com
lh4.googleusercontent.com
lh5.googleusercontent.com
lh6.googleusercontent.com
Reporting requests:
gg.google.com
Identification requests:
id.google.com
Javascript Maps API (V2 and V3) over HTTPS
The Maps Javascript API V3 (and V2) bootstrap and services (geocoding, driving directions, elevation, kml) use:
maps-api-ssl.google.com
maps.googleapis.com
Static dependencies:
maps-api-ssl.google.com
maps.gstatic.com
Map tiles and traffic tiles:
maps.googleapis.com
Aerial tiles:
khmdb0.google.com
khmdb0.googleapis.com
khmdb1.google.com
khmdb1.googleapis.com
Satellite tiles:
khm.google.com
khm.googleapis.com
khm0.google.com
khm0.googleapis.com
khm1.google.com
khm1.googleapis.com
khms0.google.com
khms0.googleapis.com
khms1.google.com
khms1.googleapis.com
khms2.google.com
khms2.googleapis.com
khms3.google.com
khms3.googleapis.com
Streetview imagery:
geo0.ggpht.com
geo1.ggpht.com
geo2.ggpht.com
geo3.ggpht.com
lh3.ggpht.com
lh4.ggpht.com
lh5.ggpht.com
lh6.ggpht.com
cbks0.google.com
cbks0.googleapis.com
cbks1.google.com
cbks1.googleapis.com
cbks2.google.com
cbks2.googleapis.com
cbks3.google.com
cbks3.googleapis.com
lh3.googleusercontent.com
lh4.googleusercontent.com
lh5.googleusercontent.com
lh6.googleusercontent.com
Reporting requests:
gg.google.com
Identification requests are not sent.
Additional domains
You may also see the javascript v3 API access the following domains:
googleapis.l.google.com
clients.l.google.com
maps.l.google.com
mt.l.google.com
khm.l.google.com
csi.gstatic.com
Maps API Web Services
The Geocoding API V3 (and V2), the Directions API, the Elevation API, the Distance Matrix API, and the Static Maps API V2 (and V1) use:
Over HTTP:
maps.google.com (legacy)
maps.googleapis.com (recommended)
Over HTTPS:
maps-api-ssl.google.com (legacy)
maps.googleapis.com (recommended)
Maps Android SDK
The Maps Android SDK uses these domains over HTTPS:
clients4.google.com
www.google.com
csi.gstatic.com