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
100
votes
12 answers

Google Maps v3 - limit viewable area and zoom level

is it possible to limit Google map v3 to a certain area? I want to allow displaying only some area (e.g. a country) and disallow the user to slide elsewhere. Also I want to restrict the zoom level - e.g. only between levels 6 and 9. And I want to…
Tomik
  • 23,857
  • 8
  • 121
  • 100
100
votes
5 answers

google places library without map

I am trying to use the google places library for a nearby search request: https://developers.google.com/maps/documentation/javascript/places#place_search_requests i just want to pull the json response and put it in a html list, i do now want to show…
user985409
  • 1,355
  • 3
  • 9
  • 18
100
votes
18 answers

Google Maps Android API v2 Authorization failure

My steps: got SHA1 code from debug.keystore create app in google apis console enabled google map api v2 input SHA1;my.package.name get API key created AndroidManifest file:
Rusfearuth
  • 3,261
  • 5
  • 28
  • 37
99
votes
4 answers

How to draw a path on a map using kml file?

Can I parse kml file in order to display paths or points in Android? Please could you help me with that? This is kml sample code which I would like to display in android google map:
Pavel
  • 5,213
  • 10
  • 34
  • 47
98
votes
6 answers

Draw radius around a point in Google map

I'm using the Google Maps API and have added markers. Now I want to add a 10 mile radius around each marker, meaning a circle that behaves appropriately while zooming. I have no idea how to do that and it seems it's not something common. I found one…
webjunkie
  • 6,891
  • 7
  • 46
  • 43
97
votes
7 answers

Google Maps Api v3 - find nearest markers

When i click on map, which will be best way to find nearest marker or markers? is there some functions in api that will help me to do that? it's google map api v3.
user198003
  • 11,029
  • 28
  • 94
  • 152
97
votes
5 answers

Create Google Maps links based on coordinates

How can I create Google Maps links based on coordinates. Their new basic share urls contain a lot of parameters, for example…
Staffan Estberg
  • 6,795
  • 16
  • 71
  • 107
97
votes
5 answers

Google Maps API Multiple Markers with Infowindows

I am trying to add multiple markers each with its own infowindow that comes up when clicked on. I am having trouble with getting the infowindows coming up, when I try it either shows up only one marker without an infowindow. Thanks, let me know if…
96
votes
8 answers

Getting Lat/Lng from Google marker

I made a Google Maps map with a draggable marker. When the user drags the marker, I need to know the new latitude and longitude, but I don't understand what is the best approach to doing that. How can I retrieve the new coordinates?
Genadinik
  • 18,153
  • 63
  • 185
  • 284
95
votes
8 answers

How to draw a filled triangle in android canvas?

So I'm drawing this triangle in android maps using the code below in my draw method: paint.setARGB(255, 153, 29, 29); paint.setStyle(Paint.Style.FILL_AND_STROKE); paint.setAntiAlias(true); Path path = new Path(); path.moveTo(point1_returned.x,…
Pavel
  • 5,213
  • 10
  • 34
  • 47
95
votes
4 answers

Google Maps API v3: How to remove an Event Listener?

How do I remove the 'bounds_changed' Event listener in Google Maps API v3? google.maps.event.removeListener(_???_);
mp_
  • 5,573
  • 4
  • 20
  • 15
95
votes
5 answers

How do I set default location and Zoom level for google map api v2?

When my map shows, it always start at a fixed location (near Africa). Then, I use the following code to center the map to the location I want. mMap.animateCamera(CameraUpdateFactory.newLatLngZoom(new LatLng(loc.getLatitude(), loc.getLongitude()),…
dong221
  • 3,390
  • 6
  • 29
  • 31
95
votes
9 answers

ViewPager with Google Maps API v2: mysterious black view

I have integrated the new google maps api v2 fragment in a view pager. When scrolling from the map fragment, a black view overlaps the adjacent fragments. Someone has solved? Edit: screenshot public static class PagerAdapter extends…
Pepe
  • 953
  • 1
  • 7
  • 6
94
votes
4 answers

Google Maps API warning: NoApiKeys

I've been using Google Maps API v3 for some time without an API key, and it worked well. It still works, but I get a warning in the console: Google Maps API warning: NoApiKeys …
Tamás Sallai
  • 3,195
  • 1
  • 14
  • 25
93
votes
9 answers

getLastKnownLocation returns null

I've read some questions about this, but I didn't quite find an answer that I needed. So, the case is that I have my map set up, and I want to grab my current gps location. I have checked that my variables is not NULL but yet my result…
Aleksander Fimreite
  • 1,439
  • 2
  • 18
  • 31