google-maps

iPhone CAAnimation problem when moving and resizing

Hi all, I'm using the old way to do animations for a simple animation, see below the code: - (IBAction)footerButtonTapped:(id)sender { if (footerActivated) { // Collapse the footer and resize the map. [UIView beginAnimations:@"collapseFooter" context:nil]; [UIView setAnimationDelegate:self]; [UIView setAnimationDuration:...

Launching Google Maps with more parameters

Hello, I have read a lot of stuff about launching Google Maps in Android. That's pretty easy: Uri uri = Uri.parse("geo:38.899533,-77.036476"); Intent it = new Intent(Intent.ACTION_VIEW, uri); startActivity(it); The problem is that the map is shown at a high zoom level and there is no marker on the map. So, if the user move a little ...

Google Maps v3 getBounds is extending beyond what is visible on the map

For some reason the getBounds() function for Google Maps v3 seems to be extending much further than what the map is actually showing. Correct me if I'm wrong, but shouldn't it return the NE (top right corner) and SW (bottom left corner) latitude and longitude coordinates for the very corners of what's being shown in the current view? I...

Major Google Maps glitch using API V3

edit: this is now solved, see my answer below The situation: User clicks on a map-image google maps API V3 is loaded via ajax the map is shown in a dialog window / lightbox please see glitch here What happens: The map displays and all functionality works however there's a glitch with the top-left 'square' of the map. I'm stuck...

Google Maps directions V3: Multiple directions on a map

I am trying to render multiple directions(well, their Polylines, essentially) on a single instance of a map. In the prior version of the maps API, I did something like //directions[] stores the GDirections objects //x[] is an array of Elements extracted from an XMLHTTPResponse object //iterating over the values in x[] GEvent.addListener...

Android - Map View Controller

Hello, I am first time implementing Google Map in Android and troubling to show "View Controller" in Android. Let me clear about my problem: I want to display the "View Controller" which shows different view button, such as Satellite, street View, Hybrid, etc. So how do i show the "View controller" in Google map with Android. Hope you...

Google Map v2: how to retrieve existing google markers from google Gmap2 object

I hope the title is clear. I would like to retrieve the existing google markers from my Gmap2 object. Is there any method for this? ...

Change the color a Gpolygon with mouse event

I try change the color to one Gpolygon with a mouseover event map = new GMap2(document.getElementById("map_canvas")); map.setCenter(new GLatLng(-39.875696,-72.624207), 9); pLat = 0.2; pLon = 0.2; p1Lat = -40; p1Lon = -73; p1Coor = [ new GLatLng(p1Lat, p1Lon - pLon), new GLatLng(p1Lat + pLat, p1Lon)...

Android - Any way to access an Overlay's canvas in another class?

While this may sound backwards, I have a need to draw to my Overlay in another class. I get a bitmap from the MapsView, then essentially draw it on the overlay. I am having difficulty doing this however. Here is what I am doing. First I generate a bitmap from the mapview: Bitmap bitmap = Bitmap.createBitmap(400, 800, Bit...

google map dragging like in maps.google.com

Hi all, I just want to add the effect of map momentum by the dragging of map as in maps.google.com has. currently on my map where i stop dragging the map stops there but in maps.google.com if you drag a mouse the map will not stop there it will continue the movement in the same direction for a second or few cordinates (i dont know basic...

How have LatLng of the top Right Corner using Google Maps V3

I use to put a flag in the right top corner of a map using Google Map V2. I don't arrive to migrate my code using Google Map V3, do you have a sample ? Below, my old obsolete code. function loadmap(lat,lng,zm,pays) { if (GBrowserIsCompatible()) { var map = new GMap2(document.getElementById("map")); var icon = new GIcon(...

google static map image help

http://maps.google.com/maps/api/staticmap?center=Berkeley,CA&zoom=14&size=280x280&sensor=false&markers=icon:http://chart.apis.google.com/chart%3Fchst%3Dd_map_spin%26chld%3D1%257C0%257Cfff%257C11%257C_%257CHere|Berkeley,CA if we open the image above it works well. http://maps.google.com/maps/api/staticmap?center=cabinde...

Google Maps w/ counties overlay?

I have no experience working with Google Maps, but I'd like to embed a "Choose your county" map in my webapp. My app only targets California, so it only needs to support one state, but I can't find any easy way to do this (without manually drawing overlay polygons for all the county lines). I assumed I'd easily be able to find examples ...

Can I use the reverse geocoding server side, e.g. with C# or C++?

Can I use the reverse geocoding server side, e.g. with a C# or C++? EDIT: I get some list of longititudes and latitudes from GPS Mouse, And I need to find all the corresponds addresses and save it to database. I am not interested to show on a map. ...

html in google maps tooltip

i have a custom google map with some markers on. To display some content inside the text balloon when you click the marker i use html. Simple stuf like <p> and <b> But when you hover over the marker it just displays the full html. Like <p>some text</p><p>some other <b>text</b></p> is this normal? Or what can i do about it? ...

Real time Google Map

Hello Google map API experts, What would be the best(good) way to develop a real time dynamic map using Google Map API. Example: http://whrrl.com/ It would be really helpful if someone points me towards the right direction. Thank you ...

How to find a closest street

Hi, I'm reading through Google Maps API documentation and I wonder if such a think is possible: I specify the point (by coords) I search for all roads, and junctions around the node (say in 1km radius) I get parameters for the streets around (polyline coords) Is it reachable, or google do not share that data? Thanks in advance Rafa...

Google maps API V3 - multiple markers on exact same spot

Hi, Bit stuck on this one. I am retrieving a list of geo coords via JSON and popping them onto a google map. All is working well except in the instance when I have two or more markers on the exact same spot. The API only displays 1 marker - the top one. This is fair enough I suppose but would like to find a way to display them all s...

Get the last node of a Google maps XML file

I have been playing around with Google maps API v3 because v2 is depricated and no longer works for my site Instead of displaying every pointer in the xml file on the map, i want to display the current marker that would be relevant to that page. I have an events page so i want to show info about the event and display a map just for tha...

Updated Google Maps Store locator as Jquery

Does Anyone know of a site that has converted the google maps api store locator to a jquery version? ...