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
81
votes
6 answers

Google Maps API v3 infowindow close event/callback?

I like to keep track of any and all infowindows that are open on my Google Maps interface (I store their names in an array), but I can't figure out how to remove them from my array when they are closed via the "x" in the upper right hand corner of…
Colin
  • 2,428
  • 3
  • 33
  • 48
81
votes
9 answers

MapView inside a ScrollView?

I would like to have a MapView inside a ScrollView, however when I try to scroll the map, the ScrollView takes priority! Is there a way to give the MapView priority when scrolling inside the map, and the ScrollView otherwise? Thanks!
Cesar
  • 2,027
  • 2
  • 18
  • 29
81
votes
6 answers

Form Google Maps URL that searches for a specific places near specific coordinates

I have the longitude and latitude and the name of the place I want to look for. How do I edit the Google Maps URL so that I obtain all the places (name of the places) near a set of coordinates? I know I could do this using Google Map API, but just…
Radu
  • 3,434
  • 4
  • 27
  • 38
81
votes
12 answers

MapView in a Fragment (Honeycomb)

now that the final SDK is out with google apis - what is the best way to create a Fragment with a MapView? MapView needs a MapActivity to work right. Having the Activity managing the Fragments inherit from MapActivity (bad solution because it goes…
81
votes
18 answers

open maps/google maps in react native

I am trying to open google maps or maps in my react-native application. When I run the app on my iPhone/simulator, I receive this error "Don't know how to open URI:...". What I am doing wrong? My code: openGps() { var url =…
lolix
  • 1,447
  • 2
  • 19
  • 23
81
votes
2 answers

How, exactly does HTML5's GeoLocation work?

I know the browser shares my IP address and details of nearby wireless networks to determine my location, but what sort of info does it know about nearby wifi networks? For example, where I live are no public wireless networks, and from my home I…
Dan
  • 811
  • 1
  • 7
  • 3
81
votes
13 answers

The import com.google.android.gms cannot be resolved

I am new to Android development. By following this tutorial I got errors The import com.google.android.gms cannot be resolved when I wrote the code into the MainActivity.java: import com.google.android.gms.maps.CameraUpdateFactory; import…
Arnoldas Bendoraitis
  • 1,055
  • 1
  • 11
  • 17
80
votes
8 answers

Google Maps API V3 : weird UI display glitches (with screenshot)

Anyone with any ideas on what's causing this weird glitch with the google maps UI components, be really grateful to hear from you! the map is created with: var options = { zoom: zoom ?>, center: new…
Haroldo
  • 36,607
  • 46
  • 127
  • 169
80
votes
3 answers

How to get address location from latitude and longitude in Google Map.?

So I have latitude and longitude Like 44.4647452 and 7.3553838. I need to get address like: Milan, Italy, str. Kennedy 89. How I can do it?
Boris Kuzevanov
  • 1,232
  • 1
  • 12
  • 21
80
votes
3 answers

How to remove single marker using Google Maps V2?

The only method that removes markers from map is clear. However it clears all markers from the map. I want to remove only single marker or group of markers. How could i achieve this?
80
votes
6 answers

How to set zoom level in google map

Here is the code I have written to add a marker to the google map by providing latitude and longitude. The problem is that I get a very highly zoomed google map. I have tried setting the zoom level to 1 but this has no effect to the very highly…
rockstar
  • 1,322
  • 1
  • 20
  • 37
80
votes
10 answers

Javascript, Change google map marker color

May I know a way to change the Google Map marker color via Javascript.. I am new at this and any help would be much appreciated, Thank you. I used the following code to create a marker marker = new google.maps.Marker({ position: new…
Hasitha Shan
  • 2,900
  • 6
  • 42
  • 83
80
votes
4 answers

jQuery Ajax Request inside Ajax Request

Is it possible to make an ajax request inside another ajax request? because I need some data from first ajax request to make the next ajax request. First I'm using Google Maps API to get LAT & LNG, after that I use that LAT & LNG to request…
Bias Tegaralaga
  • 2,240
  • 5
  • 21
  • 26
79
votes
10 answers

Android Google Maps API V2 Zoom to Current Location

I'm trying to mess around with the Maps API V2 to get more familiar with it, and I'm trying to start the map centered at the user's current location. Using the map.setMyLocationEnabled(true); statement, I am able to show my current location on the…
user139260
  • 987
  • 1
  • 6
  • 10
78
votes
9 answers

How do you style the dropdown on Google Places Autocomplete API?

We need to tweak the styling of the dropdown that shows the autocomplete place suggestions when using the Google Places/Maps Autocomplete API. Does anyone know if this is even possible? If so, I guess we just need to know the CSS…
Oskar Smith
  • 999
  • 2
  • 8
  • 9