There are a number of problems, which seem to be fairly well-known, when using the Google Maps API to render a map within a jQuery UI tab. I've seen SO questions posted about similar issues (here and here, for example) but the solutions there only seem to work for v2 of the Maps API. Other references I checked out are here and here, alon...
I'm trying to figure out a nice way to limit the rate at which I send geocode requests to the Google Maps API v3 geocoder service. I know that Javascript does not have any nice wait or sleep because its execution is, for the time being, single-threaded.
Each geocoder request is sent inside of a jQuery each function. So, the general code...
Hi,
How do you calculate the distance between two markers in Google maps V3? (Similar to the distanceFrom function inV2.)
Thanks..
...
I know that method exists and is documented, but I don't know how to get an MapCanvasProjection object.
...
Hi,
I've recently switched to Google Maps API V3. I'm working of a simple example which plots markers from an array, however I do not know how to center and zoom automatically with respect to the markers.
I've searched the net high and low, including Google's own documentation, but have not found a clear answer. I know I could simply ...
I have a database full of addresses and pictures of those locations. Note: I do not have the latitude / longitude.
What I need to do:
Write a function that uses Google API v3 to list a few of these addresses on a Google map, that when you click on the marker, it displays the address and the picture from the database. This is a plugin f...
I've got some Javascript/HTML code which displays a variable number of maps dependent on what the user selects.
I've worked how to dynamically create multiple maps on a page - that's well documented.
However, what I'm not so sure on is... how can I safely destroy a map after it's been created - normally I just leave this to GUnload() t...
Hi!
In Google Maps API v2 we can set to marker an option bouncy:true. It adds to marker eye-candy ability - after dragging this marker, it is bouncing.
Is it possible to do in API v3 ?
...
I'm about to start a Google map based project and am wondering if the release version of GMaps v3 has most of the features that are available in v2, or if it would be best to stick with v2 for now.
Is there anywhere that has a list of features in v2 that are not built into v3 yet - and features of v3 that are not in v2.
...
I'm creating a new mashup on top of Google Maps. It's simple enough that I chose to use V3 to provide longer life span.
However, there's some special needs that Google Maps infoWindow doesn't provide.
I've positioned my custom infoWindow with marker.projectionContainer.pixelPosition. I get correct position after zooming, but dragging d...
I need to open only one InfoWindow on my Google Map. I need to close any other InfoWindow before i open a new one.
Can you some one guide me on this?
...
I was using built-in JavaScript .set_map function as discussed on this stackoverflow entry but not, it just stopped working.
I've literally not changed my code in 2 months and now, Firebug is reporting:
Error: *set_map is not a function*
It appears the original poster of the Google Maps plugin is also experiencing the issue on his/her...
Hi.
This code have been working until I updated last night.
The code works perfectly on my localhost, but I get an error on my test server. The error message (from Firebug) is "map.set_center is not a function".
So why is this not working on my server any more?
function googleMapInit()
{
if (jQuery('#map_canvas').length ...
Hello, I am plotting flight paths between Airports that I have Latitude and Longitude values for onto a Google Map (v3 of the API).
However unlike v2, v3 does not seem to have an option to put a Polyline on the map between two points and have it display as the great-circle flightpath.
So what I was thinking, was that it might be possib...
Hi There,
Could some one advice, how can i got only one/Unique marker on google map v3. All previous markers should be removed when i create new makrer on map.
Thanks
...
Using Google Maps API v3, how do I pro grammatically change the marker icon?
What I would like to do is, when someone hovers over a link - to have the corresponding marker icon on the map change colors to denote the marker in question.
Essentially, the same function as what Roost does.
See the live example
When you hover over a home ...
I'm making a page using the Google Maps API v3, similar to Google's example. I want the map to fill up the entire viewport, but when I set its width and height to 100%, it doesn't appear. Setting at least one dimension in px, though, makes it work. I'm using Firefox 3.5.6 and Internet Explorer 8. Now I want to get the page to work, but I...
hi,
i can't close the info window of the marker i'm dragging, any idea ?
Thanks for your help
function mapClick(event) {
createLocationMarker(event.latLng);
}
function createLocationMarker(location) {
var clickedLocation = new google.maps.LatLng(location)
var gMarker = new google.maps.Marker({position:location, map:gMa...
Has anyone been able to get geo-location based on a person's IP to work using Google Maps API v3 JavaScript?
It seems to me that even the google provided example doesn't work.
http://gmaps-samples-v3.googlecode.com/svn/trunk/commonloader/clientlocation.html
Question:
Does this example work for anyone?
How do I get geolocation based ...
I'm looking for an InfoWindow replacement for Google Maps v3. I want to use it for popping up on marker mouseover. The standard InfoWindow is wholly unusable because it pans and makes itself a nuisance. Google Maps v2 had the excellent GxMarker (doesn't work with the new API): http://code.toeat.com/gxmarker.html
Does anyone know of a si...