google-maps

How to catch that map panning and zoom are really finished?

Hello. I am trying to write an application that will dynamically load data to map while user pans or zooms it. So I need to track when map finished to change its view state (stops panning or zooming) and then load a new portion of data for creating markers. But in fact Google Maps API doesn't have any events to handle this. There are ...

how to get the location(lat/lng) on google maps v3 from the location(x,y)

i have the (x,y) (event.pageX-$("#map_canvas").offset().left,event.pageY-$("#map_canvas").offset().top) but how to get the (lat,lng) thanks ...

OverlayItem hold more than title + snippet

Hey guys, I'm looking for a way to make Overlayitem hold more than just a title and snippet, e.g a link to a picture, a music file playing.. something like that. is this possible? ...

how to use mvcArray on google maps v3

i can use the methods like : push removeAt setAt but how to use the Events ? like: insert_at remove_at thanks ...

How to drag&drop from a DataGrid to a Google Maps Polygon

Hi everyone, I've been testing a lot of things in order to make a drag&drop between a DataGrid and a Google Map Polygon. 1st Attempt : I tried to enable dragging from the dataGrid and add listeners to the Polygon. The problem is that I only get the dragEnter listener working. For example, it seems that no dragDrop event is fired from a...

Which mapping API would work best for my situation?

My requirements are fairly straightforward, so I am hoping someone can give me a little guidance. I am writing a (commercial) software app that needs to return the distance and ETA from a fixed point to a desination. I am not concerned with the actual maps, as I am not displaying them. I just need to be able to pass a start/stop to ...

Google Maps API key and robots.txt

Edit: I learned that my error was unrelated to the robots file. Disregard. I just learned the hard way that Google blocks access to the Maps API if you have a restrictive robots.txt file. I recently created a robots file with "Dissallow: /". Now my site can no longer use Maps. Rats. I removed the robots file, but I still cannot use...

javascript scoping issue inside a function call

I'm having a really hard time figuring out the scoping issue with the following script using the Google Maps API v3. I'm trying to geocode an unknown number of records (pulled from a database) and create a PolyLine from the results. There's some ruby sprinkled in the code, but it shouldn't be relevant to the JS right? var trippath = n...

Click Event Registered with jQuery Live in Google Map InfoWindow

I was using the technique described here http://stackoverflow.com/questions/2217267/click-event-in-google-map-infowindow-not-caught to dynamically add click event handlers to some of the content added to the Google Map InfoWindow. Works great except in IE. I have content with normal anchor tags and those links work just fine. I have a...

google maps V3 fitBounds not accurate

On Google Maps API V3, fitBounds it's not accurate, most of the time the selected zoom level is little too lower. how to have a fitBounds that will fullfill the bounds in the viewport at the maximal zoomlevel ? ...

Using Google Maps in PHP and SQL Server

Where can I find the tutorial or example to use Google Maps with PHP, SQL Server and JavaScript? Example: If I want to apply Google Maps into my website, which when the user key in the suburb name, then it will return the map of the suburb and show a mark for each of the locations of shops belonging to my company. ...

Lattitude and Longitude using GMaps

How to show no map image when we provide wrong lattitude and longitude values instead of displaying gray color . The values 100, 100 does not show any address on map . so instead showing empty map i would like to show another image there . How can we change below code : <script type="text/javascript"> function initialize() { ...

how to get co-ordinates of vector layer line points from openlayers ?

I am not able to find out how to get lat-lon values of all the points in the drawn line in the openlayer vector layer, like this openlayer-example. please help me where to search...? ...

how can i find latitude and longitude using address?

i want show the location in google map... i have address...anybody help me to get the latitude and longitude using the address... ...

Issue in displaying static Google maps

The src property for the img tag is http://maps.google.com/maps/api/staticmap?center=1701 Fm Rd 1187, Mansfield, Tx &size=150x90&sensor=false&zoom=15&maptype=roadmap" + "&markers=size:tiny|color:blue|1701 Fm Rd 1187, Mansfield, Tx ...

Google maps zoning data

I would like to check if a certain street is in a residential or businesses area. Is there anyway to get this data using Google maps service? or any other service? ...

Google Maps infoWindow only loading last record on markers

I'm trying to load a google map with dynamic markers and dynamic infoWindows to go with them. Basically I've got the markers working. The infoWindows are clickable and closable, however they do not have the correct content. It seems that the content for every infoWindow is the last record that is found in the query loop. You will see wha...

how to parse json response from google map api?

hi how to parse json response that we get from google map api and how can we show the particular location on map. suppose i have entered one location name(i.e NewYork) and for that i have received json response,how can i show it on the map. please provide help as i have never used google map api and json also. ...

Provide directions on an Android Google-Maps activity

Hey guys, is it possible to provide directions on a map on Android from 1 place (e.g a specific lat/lng) to another specific lat/lng? I realise this is doable with the Google-maps API but can you do it within Androids native implementation? ...

Preload a Google Maps overlay

I'm trying to use a Google Map as a background, with a fixed overlay. Have a look-see. You can see the problem — whilst it's loading, the text is unreadable. The overlay is loaded by Google's JS. How can I hide the map until the overlay has loaded? (Or a better solution?) ...