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
772
votes
13 answers

Selecting last element in JavaScript array

I'm making an application that updates a user's location and path in real time and displays this on a Google Map. I have functionality that allows multiple users to be tracked at the same time using an object, which is updated every second. Right…
mkyong
  • 12,497
  • 12
  • 37
  • 56
721
votes
15 answers

Google Maps JS API v3 - Simple Multiple Marker Example

Fairly new to the Google Maps Api. I've got an array of data that I want to cycle through and plot on a map. Seems fairly simple, but all the multi-marker tutorials I have found are quite complex. Let's use the data array from Google's site for an…
wesbos
  • 25,839
  • 30
  • 106
  • 143
713
votes
52 answers

How to get the SHA-1 fingerprint certificate in Android Studio for debug mode?

I am trying to make a Map app in Android Studio, on Windows. How can I find the SHA-1 fingerprint certificate number? When I was using Eclipse it was right under Windows -> Preferences -> Android -> Build. But in Android Studio I couldn't find a…
Setu Kumar Basak
  • 11,460
  • 9
  • 53
  • 85
636
votes
47 answers

SHA-1 fingerprint of keystore certificate

Is the method for getting an SHA-1 fingerprint the same as the method of getting the fingerprint? Previously, I was running this command: It's not clear to me if the result I'm getting is the SHA-1 fingerprint. Can somebody clarify this?
user2208349
  • 7,429
  • 5
  • 26
  • 35
572
votes
14 answers

How to disable mouse scroll wheel scaling with Google Maps API

I am using Google Maps API (v3) to draw a few maps on a page. One thing I'd like to do is disable zooming when you scroll the mouse wheel over the map, but I'm unsure how. I have disabled the scaleControl (i.e. removed the scaling UI element), but…
aaronrussell
  • 9,389
  • 5
  • 38
  • 62
446
votes
32 answers

Google Maps API v3: How to remove all markers?

In Google Maps API v2, if I wanted to remove all the map markers, I could simply do: map.clearOverlays(); How do I do this in Google Maps API v3? Looking at the Reference API, it's unclear to me.
mp_
  • 5,573
  • 4
  • 20
  • 15
440
votes
18 answers

Launching Google Maps Directions via an intent on Android

My app needs to show Google Maps directions from A to B, but I don't want to put the Google Maps into my application - instead, I want to launch it using an Intent. Is this possible? If yes, how?
Lars D
  • 8,483
  • 7
  • 34
  • 37
365
votes
3 answers

Google Maps & JavaFX: Display marker on the map after clicking JavaFX button

I have been trying to display a marker on the map when I click on a Button of my JavaFX application. So what happens is when I click on that button, I write the position in a JSON file, this file will be loaded in the html file that contains the…
Chandler Bing
  • 1,036
  • 2
  • 8
  • 14
364
votes
12 answers

java.lang.NoClassDefFoundError:failed resolution of :Lorg/apache/http/ProtocolVersion

I'm encountering this error when I use Android Studio to build my app. The APK is compiled, but when I attempt to run the app on Android P emulator, it will crash and throw the following error. Please see more details in the…
350
votes
14 answers

How to convert an address into a Google Maps Link (NOT MAP)

After looking (Googling) on the web for a while, I can find nothing that takes an address like: 1200 Pennsylvania Ave SE, Washington, District of Columbia, 20003 and converts it into a clickable…
Phill Pafford
  • 83,471
  • 91
  • 263
  • 383
323
votes
23 answers

This API project is not authorized to use this API. Please ensure that this API is activated in the APIs Console

I have a latitude, and longitude : "-27.0000,133.0000". I want produce a map base on that. I've tried go to this link https://maps.googleapis.com/maps/api/geocode/json?latlng=-27.0000,133.0000&key=****** I keep getting this error on the browser…
code-8
  • 54,650
  • 106
  • 352
  • 604
321
votes
22 answers

LogCat message: The Google Play services resources were not found. Check your project configuration to ensure that the resources are included

I have an application that uses the Google Maps Android v2 API. I've added the google-play-services_lib library project to my workspace and added a reference to it from my application project, following the instructions on these…
Kristopher Johnson
  • 81,409
  • 55
  • 245
  • 302
320
votes
6 answers

Google Map API v3 — set bounds and center

I've recently switched to Google Maps API V3. I'm working of a simple example which plots markers from an array, however I do not know how to center and zoom automatically with respect to the markers. I've searched the net high and low, including…
Michael Bradley
  • 5,401
  • 6
  • 21
  • 13
319
votes
13 answers

How can I check whether Google Maps is fully loaded?

I’m embedding Google Maps into my web site. Once Google Maps is loaded, I need to kick off a few JavaScript processes. Is there a way to auto-detect when Google Maps has fully loaded, including tile downloads and all? A tilesloaded() method exists…
happygilmore892
315
votes
13 answers

Android map v2 zoom to show all the markers

I have 10 markers in the GoogleMap. I want to zoom in as much as possible and keep all markers in view? In the earlier version this can be achieved from zoomToSpan() but in v2 I have no idea how about doing that. Further, I know the radius of the…
1
2 3
99 100