Skip to main content
Filter by
Sorted by
Tagged with
728 votes
16 answers
954k views

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 ...
wesbos's user avatar
  • 26.4k
757 votes
56 answers
1.2m views

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 -> ...
Setu Kumar Basak's user avatar
260 votes
14 answers
919k views

What I am trying to do is extract elevation data from a google maps API along a path specified by latitude and longitude coordinates as follows: from urllib2 import Request, urlopen import json ...
pbreach's user avatar
  • 17.1k
61 votes
3 answers
156k views

I want google maps to show the location of the user. I tried this code, but it did not work on Android 6. private GoogleMap map; LocationManager lm; LocationListener ll; Location l; LatLng pos; @...
Z4F1's user avatar
  • 678
200 votes
7 answers
131k views

I am trying to a make custom InfoWindow after a click on a marker with the new Google Maps API v2. I want it to look like in the original maps application by Google. Like this: When I have ImageButton ...
user1943012's user avatar
  • 2,053
99 votes
4 answers
107k views

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: <?xml version=...
Pavel's user avatar
  • 5,393
447 votes
18 answers
387k views

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's user avatar
  • 8,593
101 votes
12 answers
217k views

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: <manifest ...
soren.qvist's user avatar
  • 7,446
144 votes
13 answers
268k views

I am trying to do a tab layout same in Play Store. I got to display the tab layout using a fragments and viewpager from androidhive. However, I can't implement google maps v2 on it. I searched the ...
Jeongbebs's user avatar
  • 4,120
127 votes
13 answers
170k views

I've been busy for a long time finding out how to draw a line between two (GPS) points on the map in HelloMapView but with no luck. Could anyone please tell me how to do so. Suppose I use the ...
mnish's user avatar
  • 3,907
448 votes
32 answers
564k views

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_'s user avatar
  • 5,653
263 votes
22 answers
508k views

I want to get following values from Latitude and Longitude in android Street Address City / State Zip Complete Address How to achieve this?
UMAR-MOBITSOLUTIONS's user avatar
124 votes
10 answers
199k views

I want to show the location of an address in Google Maps. How do I get the latitude and longitude of an address using the Google Maps API?
Kandha's user avatar
  • 3,689
74 votes
3 answers
72k views

I would like to use the new TileProvider functionality of the latest Android Maps API (v2) to overlay some custom tiles on the GoogleMap. However as my users will not have internet a lot of the time, ...
Gyroscope's user avatar
  • 3,151
42 votes
10 answers
72k views

I want to generate and use a google API key. enabled google maps v2 API created project with one activity with google map (default wizard in studio) created key on google for debug project, assigned ...
morganzd's user avatar
  • 537
83 votes
4 answers
107k views

Google changed its map API for Android and introduced API V2. The previous codes for drawing path are not working with API V2. I have managed to draw a path with API V2. I had searched a lot for the ...
Zeeshan Mirza's user avatar
324 votes
13 answers
223k views

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 ...
user avatar
26 votes
1 answer
41k views

Possible Duplicate: Google Maps output=kml broken? I started to get Error when I'm trying to retrieve Google Directions using KML data since few days. The Error seems that the URL I'm requesting ...
Hesham Saeed's user avatar
  • 5,378
97 votes
9 answers
285k views

I'm working on an ajax google maps script and I need to create dynamic variable names in a for loop. for (var i = 0; i < coords.length; ++i) { var marker+i = "some stuff"; } What I want to get ...
Philipp Bergmann's user avatar
118 votes
21 answers
56k views

..and then Google-maps "divide the waters from the waters" Well, not in the biblical sense but.. I would like to know what options I have in order to verify if a point of [Lat, Lon] is Land or Water....
Obmerk Kronen's user avatar
100 votes
12 answers
154k views

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....
Tomik's user avatar
  • 24k
55 votes
4 answers
113k views

I am trying to get the driving direction between the two positions: LatLng(12.917745600000000000,77.623788300000000000) LatLng(12.842056800000000000,7.663096499999940000) The code which i have tried: ...
Anukool's user avatar
  • 5,391
41 votes
5 answers
70k views

Last year, Google added search area outlines to its offerings as reported in many places, and visible on Google maps itself. For example here, and reported here and here. To be explicit, this is when ...
dazbradbury's user avatar
  • 5,759
20 votes
4 answers
13k views

Using Google Maps' API v3, how can I geocode a city name, and have a map returned with the outline of the result? usually this is a political entity with strict boundaries, like a city, municipality, ...
p.campbell's user avatar
  • 101k
62 votes
5 answers
164k views

I've heard that it is possible to submit an Address instead of Longitude and Latitude and this would be much more feasible for my system. The user has to input their address when creating their ...
edwoollard's user avatar
  • 12.4k
22 votes
9 answers
63k views

Am trying to add google-play-service library in my project using import(For Google map). After adding the path am getting red X next to this reference and the reference is not adding . Know how to ...
Anil's user avatar
  • 253
20 votes
1 answer
48k views

I'm trying to make an API call to the google maps api with react/axios. This is my get request: componentDidMount() { axios({ method : 'get', url : `http://maps.googleapis.com/maps/api/js?key=$...
jaimefps's user avatar
  • 2,434
100 votes
18 answers
151k views

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's user avatar
  • 3,261
98 votes
7 answers
136k views

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's user avatar
  • 11.1k
76 votes
11 answers
83k views

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 ...
63 votes
10 answers
79k views

When I switched from my debug map key to my signed map key my maps stop working. I get the following errors in logcat: 09-03 18:18:04.112: WARN/System.err(4073): IOException processing: 26 09-03 18:...
Jen's user avatar
  • 653
52 votes
4 answers
56k views

I got this error: ERROR/MapActivity(258): Couldn't get connection factory client Everything worked fine, it's all of a sudden, how come that happens? I know my api key is fine, because one month I've ...
rayman's user avatar
  • 21.7k
113 votes
10 answers
102k views

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: ...
Zach's user avatar
  • 10.2k
54 votes
5 answers
146k views

i have the following code which is drawing polylines for me and working fine, But the problem is that its not drawing interactive polylines, drawn lines are missing some pixels ! import java.io....
Tarsem Singh's user avatar
  • 14.2k
81 votes
12 answers
45k views

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 ...
Valentin's user avatar
  • 2,086
130 votes
3 answers
70k views

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 ...
Jack O's user avatar
  • 1,365
94 votes
15 answers
218k views

When I am trying to run an android application which uses Google API I get the following error [2009-07-11 11:46:43 - FirstMapView] Installation error: INSTALL_FAILED_MISSING_SHARED_LIBRARY [2009-...
Brijesh Patel's user avatar
76 votes
15 answers
64k views

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 ...
E. Tal's user avatar
  • 761
51 votes
6 answers
111k views

Like Nokia's OVI maps can be used offline, there must be some way of caching Google map tiles too. Any hints?
Aquarius_Girl's user avatar
39 votes
4 answers
84k views

I want to replace the deprecated getMap Method with getMapAsync, but I didn't use MapFragment but GoogleMap like this: private GoogleMap googleMap; @Override protected void onCreate(Bundle ...
maidi's user avatar
  • 3,579
13 votes
6 answers
14k views

I created a signed APK with Android Studio, and I added to Google Developer console and Facebook console my SHA1 fingerprint and the relative api keys in my app. Everything works well if I upload my ...
exrezzo's user avatar
  • 527
321 votes
22 answers
144k views

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, ...
Kristopher Johnson's user avatar
111 votes
8 answers
208k views

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 ...
jemz's user avatar
  • 5,203
48 votes
5 answers
129k views

I have tried looking at a large variety of code blocks here and on the Google Maps API documentation but still have not been able to figure out how to hide markers. This is the current code that I am ...
Greg McMullen's user avatar
44 votes
1 answer
55k views

I'm trying to make a jQuery $.getJSON call to the Google Maps Geocoding webservice, but this doesn't work because of cross-domain security issues. I haven't been able to figure it out online, but I'...
Pierre Duplouy's user avatar
316 votes
13 answers
174k views

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 ...
Asanka Senavirathna's user avatar
93 votes
9 answers
96k views

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 ...
Aleksander Fimreite's user avatar
31 votes
25 answers
48k views

I search all days and I can't find the answer... everything is ready but google map still can't show on fragment with tab I check that I already turn on google map android v2 and right API_KEY I ...
JackWu's user avatar
  • 1,184
30 votes
5 answers
46k views

I am working with the google maps API and whenever I return the variable to the initialize function from the codeLatLng function it claims undefined. If I print the variable from the codeLatLng it ...
bmck's user avatar
  • 765
88 votes
7 answers
117k views

Using the Google Geocoder v3, if I try to geocode 20 addresses, I get an OVER_QUERY_LIMIT unless I time them to be ~1 second apart, but then it takes 20 seconds before my markers are all placed. Is ...
Michiel van Oosterhout's user avatar

1
2 3 4 5
154