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 ...
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
...
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?
...
i can use the methods like :
push removeAt setAt
but how to use the Events ?
like: insert_at remove_at
thanks
...
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...
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 ...
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...
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...
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...
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 ?
...
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.
...
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() {
...
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...?
...
i want show the location in google map...
i have address...anybody help me to get the latitude and longitude using the address...
...
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
...
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?
...
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...
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.
...
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?
...
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?)
...