How can I get the Google Maps API to show the "Map"/"Satellite" buttons?
Is there a way? ...
Is there a way? ...
I am trying to use DirectionsRenderer to display a DirectionsResult without the route list. According to the API version 3 documentation, there is a "hideRouteList" property of the DirectionsRendererOptions object that when set to true should hide the route list. I cannot get it to work. Is this a bug or am I just not coding this corr...
Update 2: So I never have used the debug function in firebug, but I just looked at the script section and I get this, now I will try and figure this out. Failed to load source for: http://localhost/googleMap/phpsqlajax_genxml.php Hiya, I followed this tutorial below http://code.google.com/apis/maps/articles/phpsqlajax_v3.html#ou...
I won't use GIcon to change for the marker.Any other ways to change color of marker??? ...
I'm trying to set the bounds of a map fitbounds doesnt work because it puts some space around the bounds therefore doing {{{map.fitBounds(map.getBounds())}}} a few times will quickly zoom the map out I need to be able to do {{{map.setBounds(map.getBounds())}}} and for nothing to happen please note I am using v3 of the api and t...
Hi. I have a button that launches the google maps app on my device via an intent. I want to be able to pass it a php page that generates a KML file. I have done this on a website before using the googlemaps api in JS - but it doesn't seem to work on Android. My php file is as follows; <?php echo '<kml xmlns="http://www.google.com/ear...
I'm trying to work out how to use the Google Maps Directions Demo to get the distance from the successful directions. This is the code I have so far: var googleMaps = { // HTML Nodes fromInput: google_maps_from, toInput: google_maps_to, // API Objects dirService: new google.maps.DirectionsService(), dirRenderer: new google...
I'm using the Google Maps API to build a map full of markers, but I want one marker to stand out from the others. The simplest thing to do, I think, would be to change the color of the marker to blue, instead of red. Is this a simple thing to do or do I have to create a whole new icon somehow? If I do have to create a new icon, what's th...
Any options out there? Google Static Maps with SSL (HTTPS) is only available to Premier members. Bing's Open Map API seems to have the same restricts. Any other ideas? I'm debating whether to schedule a cronjob to wget over http and dump the images I need into a folder (named after the content object IDs that reference them), but I'd...
i working on map view. i want to put overlay item on the map view. that overlay items are all depends on currently showing map view and zoom level. how to get current map view's longitude and latitude of that four corner and how to analyze how many overlay item inside it. also we have to check thee zoom level.Any Idea? how to do it? ...
Hi, the iPhone SDK provides with MapKit a simple solution for maps und reverse geocoding without any additional costs. Does anyone know if there is a similar Framework for Cocoa on OSX? I know that google maps is capable of that but as far as I know and understand I have to pay while using google maps in a commercial application? Thank...
I have a dynamic map in Google Maps (API v2) I want to overlay an image inviting the user to zoom The image disappears when the zoom level is greater than (say) 10 Any idea how to achieve this? Thanks ...
I came across this when I did a search on SO: http://stackoverflow.com/questions/518026/zip-code-to-city-state-and-vice-versa-in-a-database But I'm wondering, why can't we just use the Maps APIs for this? Has anyone tried doing this? ...
I'm trying to mimic the functionality in Google Maps on Android. When you press the directions option on the options menu, and it shows "My Location, End Point" on top of the map and dims the map. Is that running in a separate activity, or is that somehow a modal dialog on top of the map? ...
Hello! Is it possible to use my own map instead of google maps for my app. How can I do that...Where should I look? ...
Usually when you try to add a marker to an unknown/ambiguous address you just get an error from the api. It would be much nicer if i could display a list of suggestions related to the address that was not found. The Google maps site has this feature but i do not know how to do with the api. Any help would be appreciated. ...
Hello, I would like to get the address string of the current user location. Is that possible? Many thanks. Regards ...
i download a kml file : <?xml version="1.0" encoding="UTF-8"?> <kml xmlns="http://www.opengis.net/kml/2.2"> <Document> <Style id="transGreenPoly"> <LineStyle> <width>1.5</width> </LineStyle> <PolyStyle> <color>7d00ff00</color> </PolyStyle> </Style> <Style id="transYellowPoly"> ...
I currently have implemented an overlayitem that shows an icon for geopoint on a map application in Android. When the icon is clicked, it brings up an AlertDialog from the onTap method below. I have the following questions: Does anyone know how to display a map message bubble directly above the icon overlayitem with 2 callout buttons o...
Custom map is broken on satellite view, does not show satellite imagery. Any ideas, what's wrong? Overlays are also broken - they're not transparent. Code: <div id="map_canvas" class="grid_8 omega" style="width:460px; height: 420px"></div> <script src="http://maps.google.com/maps?file=api&amp;v=3&amp;sensor=true&a...