google-maps

google maps ruler

does someone know how can i add the distance ruler to my api map, or any other quick way to se the distance bwtween 2 direct points? ...

Map with darker water

Can you post a link to a gmap that has darker water, then I could look which value to change. ...

Trying to work with tiled maps.

Hello, I know I am probably being dense here but I need some help. I am working on a program that handles mapping of an area, I need to have the map be GEOref'd so I can gather the MGRS coords for any point on the map. I already have a lib I wrote that does this working with images I import one by one using upper left and bottom right co...

Google maps json geocoding, no response in browser

For whatever reason the following request gets no response from google. However if I paste the URL into the address bar it works fine. I'm not sure why this would happen. Is google filtering out requests by referrer headers? http://maps.googleapis.com/maps/api/geocode/json?sensor=false&address=3122%2C%20Australia $.ajax({ ...

Google maps - pass information into an event Listener

I think this is a scope problem. Since the event is triggered after I have added all the listeners num_markers has always been overridden by the next cycle in the loop. Is there some way I can pass variables to the event function? I tried this approach but it didn't for me. http://stackoverflow.com/questions/1841247/google-maps-event-l...

how to detect a touch on a region on MKMapview

i have a google map (MKMapview) which should be divided into regions (couple of sates of US is combined for each region and some regions composed from couple of adjacent cities) i have decided to use OVERLAYS to draw the region on the map so now in my application i have a google map with couple of Overlays now i need to detect if the ...

google maps api (multi adresses)

Hello. I have problem. How to get multi markers, with adress information, not lat, long For example: markers: [{ adress: 'UK, London' },{ adress: 'City, street, adress' },{ adress: 'Germany, Frankfurt' }] All markers are show to map. ...

Modify the road calculation algorithm in Google Maps API

Hi, I would like to know if it is possible to change the way the itinerary calculation algorithm works in the Google Maps API (or Bing Maps). Basically, I'd like to add options, like for example "shortest route" or "avoid highways and national roads". I haven't found anything in the API that might manage the road's cost, so I think it'...

Android Google Maps not displaying

I know this question has been asked and answered before, but after following all the instructions, I'm still having the same problem: I have a MapView in my Android application but the view is only showing the underlying grid (and overlays), but not the map itself. I am building the project in Eclipse, if that makes a difference. I hav...

Android browser to Google Map app with multiple pins

I've got a website that runs in the android browser. And I'm able to launch the google maps app on the android, and passing it a pin using the geo: uri. No problem there. However, now I'm wanting to send a list of pins to the app, all from my website. I'm not pushing this out as an app, so I don't have the java intents, etc. And I ...

GOverviewMapControl() placement

Hi stackOverflow team I face one problem i want to show GOverviewMapControl() in google map but it comes in bottom right i want to show it at center as defined in the site http://www.speedtest.net/. How can i show this type of map and how to put this control in center.secondly how to show multiple overlays on google map when us...

Function for line between 2 GPS coordinates

I'm trying to find a function lng = f(lat) that would help me draw a line between 2 given GPS coordinates, (lat1, lng1) and (lat2, lng2). I've tried the traditional Cartesian formula y=mx+b where m=(y2-y1)/(x2-x1), but GPS coordinates don't seem to behave that way. What would be a formula/algorithm that could help me achieve my goal. ...

Calling an event listener in google maps v3 from a link

Hello, I'm trying to call the google.maps.event.addListener from a link. Here is the code I have so far: var divcc = '#badaba'; //click color var divhc = '#ffffce'; //hover color var divoc = '#FFF'; //original color var lastopenwin; var marker1; var marker2; //MAP----------...

map like MapTypeId.TERRAIN with dark water

Hello I can darken the water at the same time changing to a styled map so other values get reset. What I want is a map with green landscape like MapTypeId.TERRAIN has and darker water. I could manage make the water darker and now also want green landscape same way MapTypeId.TERRAIN has. Can you recommend a way? Thanks ...

Multiple Annotations On Mapkit for iPhone

Does anyone know how to display more than one location on a map Using Database? I am trying to drop Multiple Pins on google Map with the help of database but just able to drop last pin ...

Google map comes partially, grey area comes instead of images from google server.

Sometimes google map comes partially with other area getting grayed out. There is one catch, if we start Firebug, images do come in that gray area. Dont know why this is happening. Anybody ever experienced this and found solution, Please share. ...

Simple webpage that crashes Internet Explorer 8

Hi, I've tried the following HTML code on several different Windows 7 computers with Internet Explorer 8, and everywhere this crashes Internet Explorer. I have not been able to reproduce this with IE7, or on Windows XP with IE8. <!doctype html> <head> <title>Crashes IE8 on Win7</title> <style> article { display: block; } </style> <scr...

Problems in upgrading to v3 from v2 of google maps API

I have full fledged integration of google maps version 2 in my web application, with features like get directions, cluster markers, tabbed info window, context menu(right click). The implementation has very poor design which is causing some problem, So now I need to revamp the core implementation to better design. I was thinking of upgra...

Google maps (V3) - Map container selector (using jquery)

I'm trying to solve a tricky problem in Google Maps (api V3) Works nicely: var map = new google.maps.Map(document.getElementById("map_container"), myOptions); Doesn't Work if I try to use a jQuery selector var map = new google.maps.Map($('#map_container'), myOptions); I made this EXAMPLE Thank you in advance Cheers Pedro ...

Google map coordinates info window on click

Does anyone know how make the default Google map interface display long and lat coordinates in an info window when the user clicks on the map? Header code: <script src="http://maps.google.com/maps?file=api&amp;amp;v=2&amp;amp;sensor=true&amp;amp;key=ABQIAAAAZ6eT28fkj8_qRULTI6L0HBRQxZU5pk4gyaqNiN8f5B0Lcg03_BRT9YfVR6upxmqNPUmV3LWLAq5WDg"...