google-maps

Google Maps: How to add numbered or lettered markers?

Is there a simple way to add numbered gmarkers onto a map? Much like how maps.google.com plots them as A-Z. ...

Embedding google maps - how to eliminate unwanted marker?

If I embed a google map with the following (this is the src attribute on an iframe): http://maps.google.com/maps?q=37.421770,-122.08448&output=embed There are two markers on the map - one with the lat/long I passed in (the green arrow), and a second regular marker. Is there a way to eliminate the 2nd marker? ...

Google Maps - zoom to fit markers doesn't work when map isn't visible

I'm using the Google Maps API v2. I add markers to the map and then zoom to fit those markers. This works fine if the map is visible I do this. But if not - for example, if I have a tabstrip, and the map's tab isn't selected when the page loads - then when I do show the map, the zoom level and center are wrong. Here's a simple test case...

Google Map Dialog/Info Window Not Appearing on Touch

I am trying to add infowindows to markers/pushpins on the map. ATM, it is not working. Current code: TravelBuddy.java/TabHost package com.jappapps.android.travelbuddy; import java.util.List; import android.app.TabActivity; import android.content.Context; import android.content.Intent; import android.graphics.drawable.Drawable; import ...

Loading a Maps API site in a Native Android Application

I'm trying to follow the example from google: http://code.google.com/apis/maps/articles/android_v3.html Using the example files from their SVN repo: (http)gmaps-samples.googlecode.com/svn/trunk/articles-android-webmap/ But although it seems to compile and export it fails; can someone sanity check that its not just me this fa...

Do you know any framework / application to create a google map based web application

Hi, I want to create a web application which makes use of Google maps. Features are quite simple: Users can login (best with FB connect) Users can post items which are geolocated UI consists mainly of a google map with all items I'm looking for something implemented where you would only have to specify the nature of your items. Any ...

Finding places of interest, based on approx geo location.

Hi folks, I was wondering if it is possible to get the places of interest in a location based on the lattitude/longitude information or approximate street address gathered from a GPS system? places of interest are defined in this context as: Restaurants, Resorts, Parks, malls, movie theaters, etc. Are there some online services either...

Google maps geocoding service

I am using google maps API geocoding service to get location's country name, postal code etc. JSON response: { "name": "1600 Amphitheatre Parkway, Mountain View, CA, USA", "Status": { "code": 200, "request": "geocode" }, "Placemark": [ { "address": "1600 Amphitheatre Pkwy, Mountain View, CA 94043, USA", ...

Creating custom HTML info windows for markers in using the Google Maps API

I'm creating an array of information to populate markers using the Google Maps API. How can I use the following script to add html to the markers? The array while be built in a php loop. var markers = []; var title = []; var point = new GLatLng(51.505804230524056,-0.11801719665527344); marker = new GMarker(point); map.addOverlay(mark...

Drawing resizable (not intersecting) polygons

Hello everyone, I have been searching everywhere but I could not find an answer. I need to have drawing resizable polygons with mouse interaction but I do not want irregular, overlapping or intersecting polygons in the end. Here is a simple example of drawing resizable polygons http://www.wolfpil.de/polygon.html You can easily cre...

how to set default zoom level in android google map?

dear friends, i want to set default zoom level in google map to 11 miles can any one guide me how to achieve this? any help would be appriciated. ...

Echo php into google map javascript

Is it possible (and if so please explain how) to echo php into javascript, specifically for my purpose I am trying to echo the input of a custom field from the wordpress platform into the description of a google map. I am hoping I can give the client a cms backend to input the text that appears in the marker points on a map. What I am ...

How to override or remove a control in Google Map API

I was playing with Google maps for last two days and started understanding little bit about its functionality. I was using Large Map i.e. 700 X 300 resolution map size and i was trying to implement controls used in small maps. eg. var map = new GMap2(document.getElementById("map_canvas")); map.setCenter(new GLatLng(37.4419, -122.14...

Trying to bind multiple InfoWindows to multiple Markers on a Google Map and failing.

My project uses a JSON feed to grab info about earthquakes within a specified latitude and longitude boundary, essentially making a box. I take this info and turn all the results into markers on a Google map. I need each marker to also display some additional information, so I'm trying to use the built in InfoWindow objects such that w...

Why are my overlays on a mapview not shown?

I followed the instructions from the google hellomapview tutorial. I get a working mapview etc. But the two items that are added to the map are not shown. It seems they are there somewhere because tapping at the specified location shows the message that was added to the items. Edit Here is my source code. It should be very close to the...

Java Swing GoogleMaps geoposition from zip code

Hi folks, I found the JXMapKit from SwingLabs and think I am going to use it. My problem now is that I have data referencing the point via the zip code (I don't need more accurat). I know that with the JavaScript API from Google it is possible to find out the geoposition from an address... My question now is: does this work with Java Sw...

Ruby on Rails, form_remote_tag, and Google Maps API

I am trying to add Google Maps to my page using YM4R/GM. As a regular submit using form_tag everything works, so I know I didn't mess that part up. But using form_remote_tag I end up with nothing inside my update div. I tested with rendering text so the right method is being executed and YM4R/GM is returning the Google Maps KML. But t...

On which user actions is the method onSnapToItem() called in the interface Overlay.Snappable?

What kind of interaction is needed to trigger this onSnapToItem method? And is there any more ground work to be done to make an Overlay react to this interaction other then implementing this interface? ...

how to get the real bounds with google maps when fully zoomed out

I have a map that shows location points based on the gbounds of the map. For example, any time the map is moved/zoomed, i find the bounds and query for locations that fall within those bounds. Unfortunately I'm unable to display all my locations when fully zoomed out. Reason being, gmaps reports the min/max long as whatever is at the ...

Getting very strange javascript error and this page also refuses to work in Internet Explorer 7 or 8.

This is the page I'm working on... http://schnell.dreamhosters.com/folio/earthquake.html Its purpose is explained via the instructions on the left. I'm finding that after doing so many searches and clicking so many of the links in the list on the right that the page freezes up, the Google Map stops working and Firebug tells me of an err...