Questions tagged [google-maps]

Google Maps is a desktop and mobile web mapping service application and technology provided by Google, offering satellite imagery, street maps, and Street View perspectives. Also supported are maps embedded on third-party websites via the Google Maps API, and a locator for urban businesses and other organizations in numerous countries around the world.

Google Maps is a web, mobile and standalone mapping service application and technology provided by Google LLC, that powers many map-based services, including the Google Maps website, Google Transit and maps embedded on third-party websites and mobile applications through their various APIs.

API keys

In order to use the various Google Maps APIs, you need an API key or digital signature, to validate your requests. Here are the instructions on how to get an API key.

Billing

In addition to an API key, you will need to setup a billing account and each service will be billed according to the Google Maps Platform Billing documentation.

Administration

Administration of API keys, credentials, billing accounts, etc. is done via the Google Developers Console.

Related services & tags

Links

65879 questions
78
votes
5 answers

How does Google Maps secure their API Key? How to make something similar?

Currently Google requires you to create an API Key that is specific to the domain of where the map will be served from. How does Google enforce this? I want to do the same thing. I expose an API for my service but want to allow clients to embed…
Vyrotek
  • 5,356
  • 5
  • 45
  • 70
76
votes
2 answers

How do I remove default markers?

I'm using Google Map API V3 and I noticed there are a lot of markers which are here even though I don't need them. For examples, some schools or other places with InfoWindows appearing when clicking on them. Is there any way I can remove them or is…
Weier
  • 1,339
  • 1
  • 10
  • 20
76
votes
15 answers

How do I limit panning in Google maps API V3?

In V2 there was a way to limit panning/dragging so the map stays within certain bounds. How is that done in V3? Let's say I want the users to only look at Europe. I've already limited the zoom, but if I allow dragging (which I have to in this case,…
E. Tal
  • 761
  • 1
  • 6
  • 3
76
votes
8 answers

How to get the center of a polygon in google maps v3?

It doesn't need to be 100% correct, it can be the center of the bounding rectangle.
ANd
  • 1,155
  • 2
  • 10
  • 8
76
votes
10 answers

Get SHA1 fingerprint certificate in Android Studio for Google Maps

I want to get the SHA1 key from Android Studio on a Mac. From Eclipse it's simple, but I can't get this in Android Studio. I have checked similar questions but didn't get any way to get that in MAC. The SHA1 is different for signed and unsigned APK.…
arslan haktic
  • 4,348
  • 4
  • 22
  • 35
75
votes
19 answers

Google maps Places API V3 autocomplete - select first option on enter

I have successfuly implemented Google Maps Places V3 autocomplete feature on my input box as per http://web.archive.org/web/20120225114154/http://code.google.com:80/intl/sk-SK/apis/maps/documentation/javascript/places.html. It works nicely, however…
Daniel Grezo
  • 1,414
  • 1
  • 12
  • 12
75
votes
6 answers

Rejecting re-init on previously-failed class java.lang.Class: java.lang.NoClassDefFoundError

I see an information log in my console that looks like an error. It is printed from "art", which is generally associated to memory but I need help understanding what it means. The class in question is my MapFragment class. The MapFragment is a…
portfoliobuilder
  • 7,556
  • 14
  • 76
  • 136
75
votes
22 answers

TypeError: window.initMap is not a function

I am following this tutorial, basically copy all the code https://developers.google.com/maps/documentation/javascript/tutorial but got an error saying that the initMap function is not a function. I am using angularjs in my project, could that be…
user2901633
  • 989
  • 1
  • 8
  • 15
75
votes
5 answers

Why is this error appearing in chrome load resource: net::ERR_QUIC_PROTOCOL_ERROR

This is the error I am seeing in my Chrome's console. load resource: net::ERR_QUIC_PROTOCOL_ERROR How can I fix it? I want to display a Google map
Patrick Mutwiri
  • 1,301
  • 1
  • 12
  • 23
75
votes
11 answers

Google Maps Android API v2 - detect touch on map

I can't find an example on how to intercept the map touch on the new Google Maps API v2. I need to know when the user touches the map in order to stop a thread (the centering of the map around my current location).
Gaucho
  • 1,328
  • 1
  • 17
  • 32
74
votes
6 answers

Google Maps API V3 : How show the direction from a point A to point B (Blue line)?

I have latitude and longitude for 2 points on database, I want my Google Map to display a route from point A to point B... Just like we see here (Google Maps Directions) How to draw that direction line on map ?
Yugal Jindle
  • 44,057
  • 43
  • 129
  • 197
74
votes
6 answers

Is it possible to catch exceptions thrown in a JavaScript async callback?

Is there a way to catch exceptions in JavaScript callbacks? Is it even possible? Uncaught Error: Invalid value for property
Here is the jsfiddle: http://jsfiddle.net/kjy112/yQhhy/ try { // this will cause an exception in…
anewb
  • 741
  • 1
  • 5
  • 4
74
votes
6 answers

Android Google Maps v2: How to add marker with multiline snippet?

Does anybody know how to add multiline snippet to Google Maps marker? That's my code for adding markers: map.getMap().addMarker(new MarkerOptions() .position(latLng()).snippet(snippetText) .title(header).icon(icon)); I want snippet to look…
uncle Lem
  • 4,954
  • 8
  • 33
  • 53
73
votes
16 answers

How to invoke iPhone Maps for Directions with Current Location as Start Address

I know it's possible to start the iPhone maps application by calling openURL on a google maps URL with parameters saddr and daddr with location strings or Lat/Long (see example below). But I'm wondering if it's possible to make the start address be…
eriaac
  • 963
  • 2
  • 8
  • 7
73
votes
6 answers

how to get all markers on google-maps-v3

Is there a way to get all the markers on Google Maps?
zjm1126
  • 63,397
  • 81
  • 173
  • 221