google-maps

What mapping/earth controls are available for iPad app development?

What mapping/earth controls are available for iPad app developer? Is MapKit the only one? ...

Google maps style uipopovercontroller

Hi, I have a universal app. On the iPad, when pressing an annotation pin it shows the callout bubble. When I press the desclosure button, it loads a uipopovercontroller with a detailed view. What I want to know is how I can load the uipopovercontroller the same way the Google Maps load the uipopovercontroller. Is there a guide out ther...

Google maps event problem with flex actionscript

I am able to render a google map on a flex canvas. I create the map using the code below and then place markers on it in the onMapReady method (not shown) var map:com.google.maps.Map=new com.google.maps.Map(); map.id="map"; map.key="bla bla"; _mapCanvas.addChild(map); map.addEventListener(MapEvent.MAP_READY,onMapReady); It all works ...

Google Maps API v3 - Directions/Paths breaking KML Overlay Infowindows

I'm in the end stages before content filling and then production on the Google Maps project I've been working on. A number of bugs and such have been thwarted, but this latest one has me relatively stumped. The demo map can be viewed here: http://dougglover.com/samples/finalProduct/ Everything works fine until you create a path using ...

Show div from another website

Is there a way to use an iframe or some other method of showing a named div from another website? I want to pull in some data from a government website into a google map and when they click the point I want the information from one of the divs on that page to display. ...

Google/Bing maps drawing library

My company wants to use Google/Bing maps to map out our sales territories. I would like a jquery (or silverlight or something) plugin/library that would allow an ordinary user to draw and manipulate shapes on Google or Bing maps to draw out our sales territories. Then I would like to export this information as KML or something similar. I...

Google Maps - panTo() - not working?

Hi, I'm trying to allow a user to set their location and then have Google Maps pan to that location. I can't seem to get panTo to work, instead of updating my map it just reloads the page. Page here: http://dub[remove]step.com/events/index.html Any ideas? ...

Google Maps custom marker - can the iframe accept one like the static maps?

I was reading the static maps API, and it says you can include a custom marker in the GET params. You simply link to an image file. I now have a second Google Map within an iframe, and was wondering if you can attach custom markers via the GET params to it? Here is the src attribute of the iframe currently. http://maps.google.com/maps?...

How do setBounds in Google Maps API v2?

I'm upgrading some code written for Google Maps API v2, and I wish to set the bounds of the map (top, left, bottom, right), rather than the centre. I notice that there's a GMap2.getBounds but I can't seem to find a method which allows me to set the bounds. How can I do this in Google Maps? ...

Help with google maps api, user allowed marker map

Without telling everyone too much about my new idea for a website, Pretty much I need help, maybe someone can help write it up, with a site that has a simple map that allows any user to double click the map and make a marker. When the marker comes up I just want Title and Description available for edit(only once, so others cant chan...

Google Maps Api v3 - getBounds is undefined

Hi All, I'm switching from v2 to v3 google maps api and got a problem with gMap.getBounds() function. I need to get the bounds of my map after its initialization. Here is my javascript code: var gMap; $(document).ready( function() { var latlng = new google.maps.LatLng(55.755327, 37.622166); var myOptions = { ...

Best way to geocode UK postcode with Google Maps API?

What is the most effective and accurate way to geocode a UK postcode? Using the built in geocode object results in massively blurred results (lots of postcodes returning just a general area). Are there any free UK postcode geocoding services I can plug into via JavaScript? ...

Display KMZ file on ArcGIS Server + Google Maps API

I am trying to put a kmz file from my server in a google-maps-map using ArcGIS Server Google Maps API. It works fine with KML but KMZ does not show up. Any suggestions? ...

How to get a google maps search to return results only from the currently visible region?

Is there an easy way to use the google maps searchbar to only recieve results from the currently visible region, or a set of coordinates? I've been googleing for a while and can't seem to find a simple solution for this which I guess should be used by many sites. ...

Google Maps within a dynamically loaded jquery Accordion

I'm trying to load a google map within a jquery ui accordion with contents loaded by ajax. $("h2", "#accordion").click(function(e) { var contentDiv = $(this).next("div"); if (contentDiv.children().length == 1) { contentDiv.load($(this).find("a").attr("href")); contentDiv.ready(function(){ var latlng = new google.maps.La...

How do I close an infowindow with Google Maps 3 API?

I've seen the other posts, but they dont have the markers being looped through dynamically like mine. How do I create an event that will close the infowindow when another marker is clicked on using the following code? $(function(){ var latlng = new google.maps.LatLng(45.522015,-122.683811); var settings = { zoom: 10, ...

Calculating zoomToSpan() degrees based on min/max lat/lng to be in the mapView

I have a cluster of items on an overlay in a mapView. I know where the top/bottom/left/right most objects are. I want to use the zoomToSpan() method to zoom onto that area. What is the proper way to calculate the lat/lng degrees for this method ? ...

How to correctly load dependent JavaScript files

I am trying to extent a website page that displays google maps with the LabeledMarker. Google Maps API defines a class called GMarker which is extended by the LabeledMarker. The problem is, I cant seem to load the LabeledMarker script properly, i.e. after the Google API loads and I get the 'GMarker not defined' error. What is the corre...

Google Maps Api android key

Hi, I have some trouble testing my Android application which includes the google maps API. The ooficial API example worked just fine but if I copy the code into my own project it keeps saying: "The application has stopped unexpectedly". I looked up the key in the keystore several times and registered it with google. Even tried reinstall...

Google maps : How to open an InfoWindow for a Polygon by clicking on it?

Hello ! I have a simple question, but i can't find the answer in the Google Maps API documentation... I have a map with 13 polygons drawed by the API. Here is an exemple of one of these polygons : var zone_up_montblanc = new GPolygon([ new GLatLng(46.21270329318585, 6.134903900311617), new GLatLng(46.20538443787925, ...