google-maps

ThickBox with googlemaps

Hi, I was wondering if its possible to use the Google maps IFRAME code to show up in a thickbox jQuery lightbox. Any help I am trying to use the embeded url but no luck. has anybody seen a solution to this problem I have tried googling but to no avail. ...

Java & Google Maps

Is it possible to render google maps in swing or applet? I know i can also use NASA World Wind but it seems to much overkill for a simple app. ...

Google Maps : How to move custom marker to front.

How to move custom marker to front on google map? I found moveToTop function for GoogleMaps Flash API, but no one for "standard" API. ...

Adding text overlay to Google Maps

This is such a simple problem, but I can't find an answer anywhere... I have a python script that returns a bunch of numbers that represents the total number of items for a given geographic region. I have a bunch of .kml files that I made that represent the geographic bounds for each region. I want to take those numbers created by the s...

Google Maps API, all markers opening the same infowindow.

I've got a page that retrieves a bunch of locations and some data about their associated markers and puts them on a Google Maps map. Each one is supposed to pop up its own little message when clicked on. However, clicking on ANY of them makes the most recently added message pop up at the most recently added marker. What gives? Am I not s...

How can I run disqus in an iframe?

I'm trying to add disqus comments per-marker on a google map. To make it per-marker, I've added an iframe to the infowindow, with a different URL for each marker. It works, and I can post comments, but the infowindow isn't updated after a successful post; the spinner remains. Firebug says: Access to 'file:///foo/gmap/comments.html?dsq=1...

Reverse Geocoding to get an actual business name

This is more a general question but my particular case involves a ruby/rails app using the Google map APIs (v2). I'd like to take a lat/long point and get an address (standard rev geocode) and then take that address one step further to see if there is a specific business name associated with it. So, as an example say (numbers pulled ou...

Finding the lat-long of the corners in a Google Maps window

Using the Google Maps API, how can I get the latitude and longitude of the corners of the map display area? That is, if my map is 300px wide and 400px tall, how can I find the lat-long of the points at (0,0) and (300,400)? ...

Querying a PostGIS database with a KML "shapefile"

I am working on a Google Maps application that doee the following (on a low zoom level): Prints a bunch of polygon overlays onto the map. These polygons are created from KML files that I created with Google Earth. Basically these polygons cover continent sized chunks of the earth. 15 of them cover the entire land of the world. On top o...

Google Map Route Draw on IPhone.

Hell All I am developing the application that has two versions. One is for the Web, and one is for the iPhone. In the web app, I am able to draw a route on the road (drawing the route automatically that follows roads/highways) and off road (draw direct line between two specific point). On the iPhone is there an api that can be used t...

KML file loads but doesn't display - why not?

I have a google-maps mashup that worked fairly well with "small" test files - every file I generated, even for a 60 mile trip, was less than 16k. Then, yesterday, a user sent me a KML file they were having problems with - it's over 360k in size and, while it uploads okay, and when I call GGeoXML(), it appears to load into Google Maps ok...

extents of Google map

Hi, I have a Delphi application which loads a Google map in a TWebBrowser: with WebBrowser1.Document as IHTMLDocument2 do with parentWindow do ExecScript('map.setCenter(new GLatLng(51.15917, 4.13889),10)', 'JavaScript'); Any idea of how to get the extents of the map in my application? TIA Steven edit Rob's answer points to a pa...

How to look up elevation data by lat/lng

I am planning an app that will need the ability to look up the elevation of geographic points by lat/lng. Ideally I would like something that would work worldwide, but US-only would also suffice. I have looked at using the USGS Elevation Query Web Service, however it only allows you to query for one point at a time, and I will need to lo...

Google Maps - Panning and Zooming into areas - markers not appearing when I zoom in or pan - HELP!

Hi guys, I'm implementing some boundary based clustering on the server end of markers to display on my google maps. What I'm doing is that I have a function that is called everytime the map is moves or panned or zoomed which takes the bound of the map and makes an ajax call which in turn the server side script runs a simple sql query to ...

Custom placemarks directly on maps.google.com for my map

So i made a custom map with a couple of placemarks on it. I has copied html code and pasted into my web page. Everything works fine. The map and placemarks are displayed correctly. And when i press the bottom left corner button "Click to see this area on Google Maps" i can see my map directly on maps.google.com but the placemarks get dis...

Customising Google Streetview embed

Hiya, I'm using streetview as an embed in one of my pages. I'd really like to remove the streetview controls though, or at least change their position to the top right, instead of the default top left. My javascript code is controlling the embed, and the API documentation suggests that "streetview" is just another layer on top of the ...

How can I integrate a location search on my webpage with google maps?

I currently have Google Maps integrated into my webpage. It is being used to tell the user where an event is (generally, it's a user submitted event). The previous programmer put it the functionality to center the map on a latitude and longitude, if you knew it. However, most people don't know the latitude and longitude of locations (som...

How can I fix this JavaScript syntax error?

This is puzzling me. I'm using Google Map's Geocoding to find locations. I am attempting to use the example here, which is from Google, and it is just not working for me. Error: http://maps.gstatic.com/intl/en_us/mapfiles/159e/maps2.api/main.js Line 174 var point = new GLatLng(,); Code: <script src="http://maps.google.com...

How to show a map in an Android mapactivity

I have attached a mapview to my layout and have a it showing a compass and my current location, the problem I have is that there is no street map shown in the view, so basically I just see the compass and my current location over a blank grid. ...

How do I lock the country down in Google Maps

How would I make it so you cant drag outside of the UK in google maps? Can you lock it down to a certain area, as I'd like to be able to drag around the UK but not outside. Ta Chris ...