google-maps

Google Maps openInfoWindowHTML array problem

Could someone please help explain why I can't get this to work? I properly generates all the locations, however, it doesn't generate the info boxes. Why is this and can someone help me with it? var map = new GMap2(document.getElementById("map")); map.addControl(new GSmallMapControl()); map.addControl(...

Google Maps: How does Trulia create their custom InfoWIndows?

I really like how Trulia.com has created their custom Google Map InfoWindows. What I like in particular about Trulia's implementation of the InfoWindow is: Extends beyond the map border: Google Maps InfoWindows are contained within the map border whereas Trulia's seems to be able to float on-top of the map Always displays InfoWindow n...

Google Maps as background

Hi, Is there a sexy way to get a web page with Google Maps (in fullscreen), and just a small div#header on the top and a small div#container on the middle? I had make some research and I had found this example: http://koti.mbnet.fi/ojalesa/exam/index.html ... but this is not exactly what I would like to do. If you have a thin code exa...

Google Maps Terms of Service - saving some data to a database

I've read the terms of service, and, from what I understand, I'm not allowed to store any information I retrieve from the Google Maps API. Are there any exceptions to this? More to the point, I'm planning on building an application that shows the user several points of interest (like restaurants, libraries etc) at a certain distance aro...

Adding Google Map to Contact Info Page in Drupal

I'm trying to display a Google Map inside a drupal page. The map will only have the business location marker on it, with no need for a user to submitted their own markers. So far I've loaded the Gmap, Location, and CCK modules. I've attempted to enable a location field for Page content types, which allows me to input an address, but thi...

Where can find all google maps v3 event list?

As title, I searched official google maps api reference and other site, I can't find a doc list comprehensive available events. Please give me a hint to get all the v3 events. Thanks a lot. ...

How can i set size of openInfoWindowHtml in google Map

Please help me to change size of openInfoWindowHtml in google map and plez tell me can i make it popup out of map area also..? i mean my map area is very small but i want that when user click on Marker this openInfoWindowHtml should show popup and if its crossing size of map than its should show beyond the boundary of google map. ( i am ...

GoogleMaps API draw polygon over a complete town

Hello SOers, I'm wondering if it's actually possible to draw a polygon over a complete town with the GoogleMaps API V3 or the V2? If so could you please give an example on how to do it (choose your favorite town :)). I've some difficulties understanding this API. Thanks. ...

Adding Google Maps "My Maps" feature to own website? - import .kml files

Hello there, I am looking to add the Google Map API to my own website, but I would like to also include the "My Maps" feature which allows a user to import a .gpx, or .kml file and display the data on the map. Obviously it is possible to add just a standard interactive Google Map to a website but is the import fuction possible? Thanks...

how to change the width and height of infowindow on google-maps-v3

i want to set the width and height of the infowindow using v3 thanks ...

How to work with Google maps from Google app engine?

I have informations about some objects stored in BigTable(coordinates and few more) and I have to put this objects on Google map. How can I do that? (Please write some code example. I am using java for my application). ...

Suggestions based on unknown address in google's geocoder

When using Googles geocoder service to display a city on a map; filling out a non-existing city results in an error. Is there a way to display some suggestions based on the filled out city? var geocoder = new GClientGeocoder(); function showAddress(address, zoom) { geocoder.getLatLng( address, function...

Google maps : Possible to add multiple businesses with co-ords not postcode?

We're keen to get our database of businesses onto googlemaps' own database by uploading a data file here : http://www.google.com/local/add/analyticsSplashPage?hl=en-gb&gl=gb our address data is in co-ords format but it looks like it only works with a postcode - is there a method for using co-ordinates instead? ...

Using PHP retrieved variables in Javascript

Hi, I will use the following javascript to display a Google Map Window in a webpage. <script language = 'javascript'"> function initialize() { if (GBrowserIsCompatible()) { var map = new GMap2(document.getElementById("map_canvas")); map.setCenter(new GLatLng(35.904173, 14.433396), 16); map...

Using the Google Maps API in a Android application.

Hey, I was looking at the Google Map API for the first time and I had a quick question. I am woking on an Android application and I was wondering if there is a good way to take a route that I have created using Google Maps (snapping to roads) and use the API display this route on an Android application? I see that there is a way to ge...

Google maps api v3 refreshing away markers

Hi, I am having problems with the google maps API V3. It seems that every time I load my page the maps load (including the markers) and then it does a quick reload and removes all the markers. Am I missing somehting? What am I doing wrong? Here is an example: http://www.PaulPeelen.com/wp-content/uploads/2010/04/SafariScreenSnapz001.mov...

Is there a way to find the nearest cross streets for an address?

Using the google maps API is there a way to programmatically find the nearest cross streets, given a particular street address? ...

Find the xmlHttpRequest resource in aspx page

I'm trying to find an xmlHttpRequest or similar resource that I can query directly to obtain an xml file for my own purposes. At this site it is possible to browse a Google Map mashup with markers. Unfortunately it is only possible to view all markers at a small view range, whereas I simply want to obtain all the information at once fo...

Multiple circles -> One Polygon?

Using Google Maps API v3, I was able to create multiple google.maps.Circle objects on my map. However, I now need to "connect" them somehow. I have the following map with multiple circles: I now need to get it to look something like this: I've looked all over the Internet for solutions, but to no avail. Any ideas? ...

Jquery Google Maps Problem

Here is the problem: Lets say a Jquery toggle button which loads a Google Map upon request and hides its later when toggled: $('#showmeMap').toggle(function() { var map = new GMap2($("#map").get(0)); var mapCenter = new GLatLng(-2, 20); map.setCenter(mapCenter, 12); $('#map').show(); } }, function() { $('#map').hide();...