I'm trying to get mouseover to work polygons in google maps api v3. I've tried the answer provided in this post:
http://stackoverflow.com/questions/1751710/google-maps-v3-api-mouseover-with-polygons
This answer should be working, but it's not for me. Can anyone spot the stick in my spokes?
Here is my code:
<!DOCTYPE html>
<html>
<he...
I have a v3 Google map being loaded exactly as I expect and the marker does what I intend. However when I change the zoom, the zoom_changed event that I have added does not appear to fire. Would anyone be able to shed any light on why? My code is below.
function map_initialise() {
var mapCentre = new google.maps.LatLng(53.75, -1.50)...
I have this code which is initated on load
// Display the map
function map_it() {
var myLatlng = new google.maps.LatLng(13.005621, 77.577531);
var myOptions = {
zoom: zoomLevel,
center: myLatlng,
disableDefaultUI: true,
mapTypeId: google.maps.MapTypeId.ROADMAP,
navigationControl: true,
...
I'm new to javascript so bear with me:
I'm implementing Google Maps API and I'd like the first marker's InfoWindow to open when the template is first rendered but ONLY if certain condition is true.
so, I have something like this:
{% if project %}
//the following is automatically open the infowindow of the FIRST marker in the array whe...
I got a basic map running using google maps v3
Next features that I would like to add include:
draw line as road directions instead of direct point to point polyline
draw a circle 75 km circle around from a specific point
highlight the postal code of a specific point.
I Would appreciate people's thoughts on these topics
var geocode...
I want to search for GPS locations for with Google Maps. I have already registered with Google Maps API, and got the key. I can successfully pinpoint my current location on a map. The next part is to search for items around the current GPS location.
Approach 1: I tried using Android's geocoder.getFromLocationName("UPS",5) but I am not g...
I have been searching high and low for a solution to this problem. I fetch dynamic positions of markers and show the map positioned and zoomed baased on the City that has been selected in my application. If I then scroll or zooom the Google map and then request an update of the markers position (by fetching the xml) I loose the new posit...
My map(V3) is loaded into an iframe. I need to find the pixel co ordinates of each marker relative to the iframe. Could someone tell me how to do that please? Thanks a ton.
...
I want to create a google maps app with kml, and i want to create the kml file dynamically depending on the zoom of the user.
Something like google earth but in google maps (the zooming part)
I tried to use the markermanager and clusterer but i have too many markers and performance on mobile devices is very bad but with kml that is not...
I have a huge database with geo-coordinates like -73.9637,40.7683 + a Google Map which shows some part of our world.
Now, how to select all coordinates from my database which fit into the part of the map i can see? (Do i get a range from google? how to work with this range?)
...
Hi all,
I'm familiar with the Google Maps API and I'm trying to learned the iOS MapKit library now. I have an iPhone application which takes an input string and geocodes it using Google Maps geocoder service. I also want to set an appropriate zoom level for the new map but I'm not quite sure how to do it.
After reading, http://stacko...
I'm tring to upload googlemap in android app, using eclipse. But the results are that I only see white grid with no map on it. Is it because I used a temporary Maps API Key? How can I register for a new Key?
...
i've just started using the Google Maps API for Flash (map_1_20.swc) for an AIR 2.5 application i'm building with Flash CS5. everything loads and display fine in the ADL except that i'm receiving security sandbox violations:
*** Security Sandbox Violation ***
SecurityDomain 'http://maps.googleapis.com/mapsapi/publicapi?
file=flashapi&u...
When i click on map, which will be best way to find nearest marker or markers? is there some functions in api that will help me to do that?
it's google map api v3.
...
I want to present my users with a text box wherein they can type in their address. As they type their address, I want to provide the users with suggestions/predictions of what address they are trying to type. I'm also concerned about the relevance of this address (e.g. that the address is not an address halfway across the world).
Is thi...
My users, who may be located anywhere in the world, will be presented with a text box wherein they can enter their address. In most cases, I assume they will physically be in the same country as whatever address they are typing.
I'd like to help Google Map API make better guesses by doing region biasing (http://code.google.com/apis/maps...
Hi everyone, I am creating a little map app where you are given information, video and images regarding different campuses in a university.
I am using the customContent method to insert video player object into the infoWindow but when I do this it gets rid of my text content and becomes the only visible thing to the user.
How Can I wor...
I need to obtain static google map by passing latitude and longitude in the URL.
this is Where i'm downloading the map image
google return the map image where the coordinates are of the center location of the map.
i can download this image using the above URL.
PROBLEM: what i need is to get the X0 and Y0 coordinates of the image map.
...
The old (v2) version of Google Maps API allowed infowindows to be maximized (see this example) but I can't find any equivalent feature in v3.
The same happens with tabbed infowindows too (they aren't supported anymore).
Is there any way to do that (even with a plugin)?
...
i have a page and a google map is inside a hidden div at first. I then show the div after i click a link but only the top left of the map shows up.
i tried having this code run after the click:
map0.onResize();
or:
google.maps.event.trigger(map0, 'resize')
any ideas. here is an image of what i see after showing the div wit...