google-maps

[JavaScript] How to check if Google Maps is fully loaded ?

I've embedding Google Maps on my web site. Once Google Maps is loaded, I need to kick off a few JavaScript processes. Is there a way to auto-detect when Google Maps has fully loaded ... including tile downloads and all? A tilesloaded() method exists that is suppose to accomplish exactly this task but it does not work. Thanks in advanc...

How to use google map for my site?

Hi, I have tried to find the link or document to know how to use google map for my site. I am using php. I need code for this. Though I tried a lot to find, may be the way I tried was not correct. Can anybody suggest me the link where I can find the code for google map use. Thanks in advance......... ...

Preventing google maps Markers to "fly" up when dragged

Heya I'm using the Google Maps Flash API and I have a bullseye Marker that the user should drag to the correct position, but whenever you drag something it flies up a bit and this stupid target cross appears below, which is what I would like to prevent, because it doesn't look nice and I'd even say it's confusing. The only idea I have ...

What URL should I give Google Maps API so it recognises the key created for a local Rails apps run with Passenger?

Hi, I've been working on a Google Maps based Rails app and it was working fine until I installed Phusion's Passenger and now Google Maps API won't recognise the API Key which I generated for http://localhost:3000. Now I'm running Passenger, the URL for my app is http://mygooglemapsapp.local. I've generated a Google Maps API key using ...

How to set the color of missing/loading tiles in the Google Maps Javascript API?

I made this little Cocoa app with a WebView that displays Google Maps in fullscreen. All nice and dandy but the tiles that are still being loaded are grayish which is very bright which is a pain on large displays. Is there any way to make them black? ...

Adding many markers kills my google maps - how do I do this?

Hi guys, I'm stuck here again. I have a database with over 120 000 coordinates that I need to be displayed on a google maps integrated in my application. The thing is that and I've found out the hard way simply looping through all of the coordinates and creating an individual marker for each and adding it using the addOverlay function is...

Google Maps using Marker CLusterer - map hangs !!! Why!

This is weird. I'm using the marker clusterer to bunch all my markers however the first time when the map renders and when I try to drag it or pan it - it hangs and firefox tells me the script is slowing it down so I have to stop the script. But if I zoom it out - it zooms normally and panning it from then on causes no issues - I have no...

Zipcodes and zones in google maps

Hi, Is it possible to make zones in google maps, when provided with the zipcodes? If it is possible I would really like some links to information about it :) ...

How to use Google Maps "auto-load" functionality ?

I began reading about Auto-loading a google map at: http://code.google.com/apis/ajax/documentation/#AutoLoading What's unclear to me is how to actually load the google map. I have tried: <script src="http://www.google.com/jsapi?autoload=%7B%22modules%22%3A %5B%7B%22name%22%3A%22search%22%2C%22version%22%3A%221.0%22%2C %22language%22%...

Google Maps Flash API disables bubbling of MouseEvent over their Markers

By default Google Maps Flash API cancels bubbling of all MouseEvents that occur over their Markers (dragable at least). However in MapMouseEvent constructor I see that it has a parameter "bubbles?" so I guess they can be made to bubble mouse events? Is there a way to turn bubbling of mouse events on? var __marker = new Marker(new LatLng...

How to have markers on a map cluster instead of stack

Hello, my team is trying to resolve an issue with limited time. We have developed a fairly complex map interface on our site to display content (trips, social content, etc). when a user runs a search for "Kayaking San Francisco" for example, the map shows all the kayaking trips in SF, but since they are all geotagged (using geonames.or...

Is there a way to identify which Google Map Marker has been clicked?

The follwoing code loops over a json object to place marker on a google map. Which works fine. function displayMarkers(data){ for(var i = 0; i < data.Lat.length; i++){ var point = new GLatLng(data.Lat[i],data.Lng[i]); marker = new GMarker(point); map.addOverlay(marker); // here's the problem GEvent.a...

Learning a bit about some new technologies... any tips?

OBJECTIVE: To learn a little more about some technologies I'm familiar with but not an expert in: Postgres, Compass/Sass, Google Maps API, Twitter API, and ASP.NET MVC 1.0, Flickr API THE SITE: Just a fun little app with CRUD for addresses of my friends, then a page that kind of has a map of where they live, their last five tweets, an...

Tiles and Map Points Clustering

Are there any examples with code that illustrate clustering of map points using tiles? ...

Google Maps API - Slow loading javascript

Hello. I am using Google Maps API to display a map on a certain page. Problem is that the file http://maps.google.com/maps?file=api..... sometimes happens to load very slow - decreasing the page's performance, because the rest of the JavaScript is first loaded on document ready, which its rarely reaches - because the browser locks up w...

Parse JSON reponse from Google Maps page

I'm trying to find the best way of parsing the response from a "normal" (i.e. not using the API) Google Maps page in my java code. Reason: I want to submit a query string requesting a listing (be it hotels, restaurants etc.) and then parse the JSON that comes back. I had looked into using the Google Maps API, but it doesn't seem to cov...

Map technologies for the web (such as Google Maps)

Ok so basically I am talking with someone about building a way for users to post locations to a map and have a pin over the location. I know Google Maps can do this and probably has the best documentation/support. I was just wondering if/what other options there are. I have found Pushpin and Mappy but I really don't know much about ei...

how do I increase the clickable area of an icon in google maps

We are trying to increase the clickable area of a marker on a google map. The reason we want to do that clicking on the icon sometimes misses the anchor point. We rather not reduce the size of the icon size We are assuming that one of the properties of the GIcon objects is what we need to change and tried changing the iconAnchor and and...

Google Maps Tiles - how to divide 30k coordinates into tiles

Is it possible and effectively divide 30k (and growing) or more coordinates into tiles on Google Maps? My goal is to index all coordinates - assign to a tile and than define a tile size for each zoom level. On the client side marker manager will do the clustering for each tile (which ideally would have less than 200 points) New coordi...

Google Geocoding Weirdness

Hello guys, I am having a weird problem. Suddenly my PHP implementation of the Google Geocoding API has simply decided to stop working. It now returns error 602 for every request, meaning address unavailable. But, if I open the actual url I am querying, it works perfectly and I can download the correct information. But if I use curl to ...