google-maps

Cannot load google map javascript dynamically

Hello, The follow tells me that GMap2 is not defined. But the code that uses GMap2 is in the callback. $(function() { $('#sample').click(function() { $.getScript("http://maps.google.com/maps?file=api&v=2&sensor=true&key=API_KEY_HERE", function() { var map = new GMap2(d...

How does Google Maps know my position?

I have a nokia 5500 sport mobile phone, and I found after i installed google map, it can automatically locate to my current position. and I want to know how google map get my position and mark it on the map ? How can I programming implement this feature with symbian C++(nokia 5500 's operate system is Symbian 3rd). ...

Google Map Timeline slider

What's the best way I can take multiple KML files (each representing a different date) and create a google map with a slider? ...

Freeze Google Map until user clicks.

Hi, I'm fairly new to Google Maps API, so spare the flame :) How do I disable the controls of a google map(i.e. scroll, drag etc.) untill a user clicks on the map itself? I want the user to be able to scroll down on a page without ending up scrolling on the map. Due to design decisions the map appears in a position often hit by a scroll...

Dynamically generated javascript not executing in Chrome or IE, works in Firefox

I'm using the google maps API with GWT to create a tabbed infowindow with tweets inside one of the markers. the source of the tweets is dynamically generated. heres the java code: HTML recentTweets = new HTML( "<div>"+ "<script type='text/javascript' src='http://twitter.com/javascripts/blogger.js'&g...

Is it possible to customize the color scheme of a Google Map?

I'm using the Google Maps API and would like it to render a very simple image of countries/continents. I also want to draw them in a suitable color that will work well with my site's color scheme. Would I need to create my own tile-server? Or can I customize this somehow through the API? ...

Google Maps and Markermanager throws error

I'm using google map API along with the MarkerManager. I load the 2 javascript libraries by JQuery. Here is my Javascript: function initialize() { $.getScript('http://gmaps-utility-library.googlecode.com/svn/trunk/markermanager/release/src/markermanager.js'); $.getScript('http://maps.google.com/maps?file=api&amp;amp;v=2&amp;asy...

Subgurim .NET Google Maps Control ItemDataBound Event?

There doesn't appear to be an event when hooking up to an item in a datasource being bound. I need to hook up to this event to remove those that don't have valid coordinates. Any ways to work around this? ...

google maps export driving directions to kml file - java geogoogle

Hi Sorry at first for my poor grammar. I am writing a program in Java using geogoogle (Google Geocoder Java API) http://geo-google.sourceforge.net/ I need from two specific points to get the walking directions between these points and also these info to be exported in a KML file. Do you know how can I do it from Java? Is there an API...

InfoWindow doesn't want to close with Google Maps Api V3

hi, i can't close the info window of the marker i'm dragging, any idea ? Thanks for your help function mapClick(event) { createLocationMarker(event.latLng); } function createLocationMarker(location) { var clickedLocation = new google.maps.LatLng(location) var gMarker = new google.maps.Marker({position:location, map:gMa...

Use Maps application in my Android application.

Hello. I am currently developing an application which has a maps feature. My map is working, but I still need to create a Directions option. In previous versions of the Android SDK there used to be a class called DrivingDirections, which did exactly what I want. Now it's gone and I don't know how to add this feature to my current map. I ...

Google Maps HTTP API for driving and walking directions

Do you know how I can get walking directions from Google by giving two specific coordinates? How can I send simple HTTP GET requests and have the result in a KML file? I don't want to geocode, but get the driving directions as the KML file returned by this method: http://www.gringod.com/2008/02/26/save-google-maps-driving-directions/ ...

iPhone Map Kit cluster pinpoints

Regarding iPhone Map Kit cluster pinpoints: I have 1000's of marks that I want to show on the map but it's just too many to handle so I want to cluster them. Are there frameworks available or proof of concepts? That this is possible or is already been done? ...

Google Maps API Sidebar

I'm adding markers and sidebar this way: <script type="text/javascript"> //<![CDATA[ if (GBrowserIsCompatible()) { // this variable will collect the html which will eventually be placed in the side_bar var side_bar_html = ""; // arrays to hold copies of the markers and html used by the side_bar // beca...

Converting JSON to KML

Do you know how can I convert a google walking directions JSON response to KML? I am using this method to get driving directions from Google in JSON format: Google Maps HTTP API for driving and walking directions How can I process this and export it to KML to view it on Google Earth? Is there a Java API or something else? ...

How to add an overlay map above default Google map?

Just to be clear from the start, I've never used Google maps in any of my programs/projects, so I have a little knowledge on this matter. Also, I found some other posts in SO about Google maps, but I'm not sure if any of these really helps in my situation. What I want to do is add another map above the already existing Google map. The n...

Google maps api keys: dev -> staging -> production workflow

Does anyone have a good solution for managing the maps api key, given that: developers work locally, using localhost we have a staging server, accessed internally via http://stagehost and externally (for customers) via IP address finally, a production server (http://some.domain.com) Two questions: First, how do people manage their k...

Google Map Positioning in IE and FF

On this page I have a link to a google map which opens in a lightbox: http://www.thereappliancestore.com/ When I open the map in Safari the marker displays correctly in the center of the map. However in FF and IE8 the marker is over to the left and up a but. It's initially out of view so you have to manually navigate across the map t...

Native iPhone app in HTML/Javascript ?

I would like to build an app that heavily relies on Google Maps. Is it possible to write a native iPhone application in HTML/Javascript ? If so, will it be accessible from the app store ? Otherwise, how could I include Google Maps in a native app ? ...

Building a geo focused app: what should I know ?

I am looking forward to build an application that relies heavily on geographic data. The application will use HTML5's ability to get GPS data and will do computations such as finding the nearest street, finding the shortest path between 2 points, etc. I was thinking of using a platform such as Google Maps, so it will most likely be writ...