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
115
votes
2 answers

How do I securely use Google API Keys

So I am using the Google Maps API on my first project that I am doing... So yes I am new and I am sorry if this is basic or obvious but I haven't been able to find a clear answer or direction. Below is the documentation I found from Google about…
Jack O
  • 1,215
  • 3
  • 10
  • 9
115
votes
12 answers

Google Maps: Auto close open InfoWindows?

On my site, I'm using Google Maps API v3 to place house markers on the map. The InfoWindows stay open unless you explicitly click the close icon. Meaning, you can have 2+ InfoWindows open at a time if you hover over the map marker. Question: How do…
Ted
  • 1,183
  • 2
  • 9
  • 5
113
votes
10 answers

GoogleService failed to initialize

I am using google Maps in my android application. I have created the key and added necessary permissions in manifest file. But soon I start the application I get this message in debugger: GoogleService failed to initialize, status: 10, Missing an…
Zach
  • 9,989
  • 19
  • 70
  • 107
112
votes
7 answers

How do I show a marker in Maps launched by geo URI Intent?

I have a application where I want to show different locations (one at the time, picked by user input) by launching Google Maps with their specific geo coordinates. I'm currently using this (with real lat. and long. values of course): Intent intent =…
Specur
  • 3,240
  • 4
  • 23
  • 25
111
votes
12 answers

How can I get the MD5 fingerprint from Java's keytool, not only SHA-1?

As I want to use Google maps in my application, I need the debug certificates' MD5 fingerprint. I tried following.: (Here I copied the debug.keystore file from C:\Documents and Settings\Administrator.android in bin folder) C:\Program…
Prachi Kshirsagar
  • 1,141
  • 2
  • 9
  • 5
111
votes
5 answers

Disable the Ctrl + Scroll to Zoom google maps

Does anybody know how to disable the CTRL + Scroll? First when the mouse wheel was moved the Map would Zoom in/out. But now it asks to press CTRL + Mouse Wheel Scroll to Zoom in/out. How do we disable this feature? I can't seem to find anything in…
Dawood Awan
  • 7,051
  • 10
  • 56
  • 119
110
votes
1 answer

How to hide "Navigation" and "GPS Pointer" buttons when I click the marker on the android google map

When I click the marker on the google map, "Navigation" and "GPS Pointer" buttons come out. How can I hide those two navigation buttons programmatically in android development?
Tim Yu
  • 1,243
  • 2
  • 9
  • 10
109
votes
8 answers

How to use SVG markers in Google Maps API v3

Can I use my converted image.svg as google map icon. I was converting my png image to svg and I want to use this like google map symbol that can be rotated. I already tried to use the google map symbol but I want to have an icon like car, man,…
jemz
  • 4,987
  • 18
  • 62
  • 102
108
votes
5 answers

How do I resize a Google Map with JavaScript after it has loaded?

I have a 'mapwrap' div set to 400px x 400px and inside that I have a Google 'map' set to 100% x 100%. So the map loads at 400 x 400px, then with JavaScript I resize the 'mapwrap' to 100% x 100% of the screen - the google map resizes to the whole…
Matthew James Taylor
  • 4,806
  • 5
  • 29
  • 33
106
votes
11 answers

Create a link that opens the appropriate map app on any device, with directions to destination

I rather thought this would not be so hard to find out but appearantly it is not easy to find an awesome cross device article, like you'd expect. I want to create a link which opens either the mobile device's browser and surf to google maps OR open…
Alex
  • 9,911
  • 5
  • 33
  • 52
104
votes
17 answers

Google Maps v3 fitBounds() Zoom too close for single marker

Is there a way to set a max zoom level for fitBounds()? My problem is that when the map is only fed one location, it zooms in as far as it can go, which really takes the map out of context and renders it useless. Perhaps I am taking the wrong…
Codey W
  • 1,041
  • 2
  • 7
  • 3
104
votes
4 answers

What steps should I take to protect my Google Maps API Key?

I have obtained a Google Maps API key for my domain. The examples provided when I obtained my key show the key embedded in request parameters, for example:
brabster
  • 42,504
  • 27
  • 146
  • 186
102
votes
7 answers

How to disable Google Map's Satellite view?

I am working on Google Maps Javascript API V 3. Everything is working fine but I want to disable the MAP button which appears in the top right area with SATELLITE button. How can I do this?
Jatin Dhoot
  • 4,294
  • 9
  • 39
  • 59
102
votes
12 answers

This app won't run unless you update Google Play Services (via Bazaar)

I'm testing out the new Google Maps API V2 for Android, and I'm getting this message when the app launches: This is running on an 4.1 emulator. Here is my AndroidManifest.xml file:
100
votes
10 answers

Google Maps: How to create a custom InfoWindow?

The default Google Maps InfoWindow for a map marker is very round. How do I create a custom InfoWindow with square corners?
SarahBeale
  • 1,001
  • 2
  • 8
  • 5