google-maps

Simplest way to make a Google Map mashup?

Given a list of locations such as <td>El Cerrito, CA</td> <td>Corvallis, OR</td> <td>Morganton, NC</td> <td>New York, NY</td> <td>San Diego, CA</td> What's the easiest way to generate a Google Map with pushpins for each location? ...

Google Maps API - Problems with class GLatLngBounds

I am having some trouble with the Google Maps API. I have an array which holds a ojbect I created to store points. My array and class: var tPoints = []; function tPoint(name) { var id = name; var points = []; var pointsCount = 0; ... this.getHeadPoint = function() { return points[pointsCount-...

Javascript Load Order

Hey I am working with both amq.js (ActiveMQ) and Google Maps. I load my scripts in this order <head> <meta http-equiv="content-type" content="text/html;charset=UTF-8" /> <title>AMQ & Maps Demo</title> <!-- Stylesheet --> <link rel="stylesheet" type="text/css" href="style.css"></link> <!-- Google APIs --> <scrip...

How can I launch the Google Maps iPhone application from within my own native application?

The Apple Developer Documentation explains that if you place a link in a web page and then click it whilst using Mobile Safari on the iPhone, the Google Maps application that is provided as standard with the iPhone will launch. How can I launch the same Google Maps application with a specific address from within my own native iPhone app...

Fixed Legend in Google Maps Mashup

I have a page with a Google Maps mashup that has pushpins that are color-coded by day (Monday, Tuesday, etc.) The IFrame containing the map is dynamically sized, so it gets resized when the browser window is resized. I'd like to put a legend in the corner of the map window that tells the user what each color means. The Google Maps API ...

"undefined handler" from prototype.js line 3877

A very niche problem: I sometimes (30% of the time) get an 'undefined handler' javascript error on line 3877 of the prototype.js library (version 1.6.0.2 from google: http://ajax.googleapis.com/ajax/libs/prototype/1.6.0.2/prototype.js). Now on this page I have a Google Map and I use the Prototype Window library. The problem occurs in ...

Google Maps in Flex Component

I'm embedding the Google Maps Flash API in Flex and it runs fine locally with the watermark on it, etc. When I upload it to the server (flex.mydomain.com) I get a sandbox security error listed below: SecurityError: Error #2121: Security sandbox violation: Loader.content: http://mydomain.com/main.swf?Fri, 12 Sep 2008 21:46:03 UTC can...

google maps traffic info

Google maps in some region can serve traffic information showing the blocked roads and so on. I was wondering if there is any code example demonstrating how can I serve traffice information for my own region. ...

google maps providing directions in local language

I noticed that google maps is providing directions in my local language (hungarian) when I am using google chrome, but english language directions when I am using it from ie. I would like to know how chrome figures this out and how can I write code that is always returning directions on the user's language. ...

Using Google Maps in Coldfusion

Hi, I am trying to use the Google Maps API in a Coldfusion template that is a border type cflayoutarea container. However the map simply doesn't show up: <cfif isdefined("url.lat")> <cfset lat="#url.lat#"> <cfset lng="#url.lng#"> </cfif> <head> <script src= "http://maps.google.com/maps?file=api&amp;amp;v=2&amp;amp;ke...

Google Maps, Z Index and Drop Down Javascript menus

I've run on a little problem today: I have a JS drop down menu and when I inserted a GoogleMap... the Menu is rendered behind the Google Map... Any ideas on how to chance the z Index of the Google Map? Thanks! ...

Implementing Google maps in mobile

How to show google maps in mobile application using .net2.0 ...

Do any mapping APIs provide road details?

I'm looking for a mapping API (Google Maps-esque), preferably in PHP, that will provide driving instructions between two locations (not necessarily US-based), but will also give information on the type of roads used. The information doesn't have to be very specific - I'd be happy with knowing whether the roads taken are either urban or m...

Google Maps Overlays

I'm trying to find something, preferably F/OSS, that can generate a Google Maps overlay from KML and/or KMZ data. We've got an event site we're working on that needed to accommodate ~16,000 place markers last year and will likely have at least that many again this year. Last year, the company that had done the site just fed the KML data...

How do I embed a Google map into a Flash website?

I would like to include a Google map in a Flash site I am building. I would like to retain as much of the zoom, print, copy/send url, direction functionality as is practically possible. Please could somebody advise the best way to do this? Thanks. ...

Mapstraction as a library to access Google maps

Do you suggest Mapstraction (library) as a layer to access Google maps? Is it an actively maintained project? Do I stand to again/ lose anything by using this library apart from the primary reason that its provider independent? ...

How to simplify (reduce number of points) in KML?

I have a similar problem to this post. I need to display up to 1000 polygons on an embedded Google map. The polygons are in a SQL database, and I can render each one as a single KML file on the fly using a custom HttpHandler (in ASP.NET), like this http://alpha.foresttransparency.org/concession.1.kml . Even on my (very fast) developmen...

Which map api would best support fictionally defined maps?

I am researching the feasibility of setting up a mapping tool for my alliance in an online game. The game is not based in the real world so I am not interested in the content of the map tools available, just the functionality. Minimally, I would like the map to display information about where allied cities are located in the world. Id...

Does Google Maps respect the <BalloonStyle> definition in KML?

I'm using the GGeoXml object to overlay KML on an embedded Google Map. I need to customize the popup balloon for placemarks, so I'm trying to use the <BalloonStyle> element: <?xml version="1.0" encoding="utf-8"?> <Document xmlns="http://earth.google.com/kml/2.0"&gt; <name>Concessions</name> <Style id="masterPolyStyle"> ....

How does CSS formatting in a Google Maps bubble work?

I'm using KML and the GGeoXml object to overlay some shapes on an embedded Google map. The placemarks in the KML file have some custom descriptive information that shows up in the balloons. <Placemark> <name /> <description> <![CDATA[ <div class="MapPopup"> <h6>Concession</h6> ...