google-maps

How do I use the Google Maps API GPS sensor?

All I've been able to find is how to specify the sensor parameter: http://code.google.com/apis/maps/documentation/v3/#SpecifyingSensor But nowhere does it say how to actually USE it. Isn't the whole point to be able to get the user's current lat/long coordinates through the device GPS, or am I mistaken? ...

google maps api

How do you access google maps API from a Java application? ...

Show Google maps based on the address in MVC/jquery

I need to show the google map based on the address of a contact in my asp.net (MVC) c# application. I have a list of contacts in my application. When the user views a particular contact, i need to show the google map of the contact's address, to the side of contact view page. How can i implement this functionality using jquery in MVC? ...

google map api key

how to get google map api key which can be used in my own web page ...

GMap.NET shows no map

I'm trying to use the GMap.NET.WindowsForms control in my Windows forms application but I cannot make it show me any map. Here is what I did: I added the control to my Visual Studio's 2010 toolbox by clicking 'Choose Items...' from the toolbox's context menu and browsing for the GMap.NET.WindowsForms.dll included in the downloaded zip ...

IE and Chrome not executing unexpected javascript that comes up during runtime

I am using GWT and google maps. I created a custom infowindow which contains a script that will send an http request to twitter for the most recent tweets. i want to display this content inside a tab of the infowindow, but it is only working as expected in firefox. I suspect that this may be the case because IE and Chrome need to know...

Google Map Marker not showing up on first page load, but appears on refresh

I am displaying the different marker on the map , the problem is that sometimes (specially when I reset the web server) the map is loaded properly and it even shows the shadow of the points but the markers are not shown/visible on the map.However on the subsequent calls the markers are shown properly (perhaps cached , but not sure). This...

Google Maps breaks with % instead of px dimensions

I'm making a page using the Google Maps API v3, similar to Google's example. I want the map to fill up the entire viewport, but when I set its width and height to 100%, it doesn't appear. Setting at least one dimension in px, though, makes it work. I'm using Firefox 3.5.6 and Internet Explorer 8. Now I want to get the page to work, but I...

Passing large amounts of Template Code into a variable?

I'm using the following to populate a series of markers on a Google map in Rails: marker = GMarker.new(coords, :icon => home, :title => "home", :info_window => "Info Text Goes Here" ) I'm trying to customize the info window beyond the text and trying to pass a lot of info into it, but I'm not sure exactly how to do it beyond making a ...

google maps api : internal server error when inserting a feature

Hi, I try to insert features on a custom google map : i use the sample code from the doc but i get a ServiceException (Internal server error) when i call the service's insert method. Here is what i do : I create a map and get the resulting MapEntry object : myMapEntry = (MapEntry) service.insert(mapUrl, myEntry); This work...

Embedding a link to google map in the email.

Hi, In my meeting management application, I am trying to send the meeting location information via mail and in the mail content I would like to place a link to to the google map site, so that the meeting place could be seen on the map. What would be the best way to construct the google map url string (eg. http://maps.google.com/maps?q...

Getting GPS Co-Ordinates Programmatically from Google Maps

Hi, I am new to this forum, however I have found help here many times before, so I am hoping the same happens this time :) What I would like to do is run a Google Map application on a mobile phone, run the "My Location" feature and get the GPS Co-Ordinates. I would like to do this programmatically. I could use the built in GPS device,...

Obtain coordinates of a point on a road

I have a range defined by an intersection and a number of feet away from the intersection. (e.g. 100 ft north of Washington St. & 5th St. to 300 ft south of Washington St. & 6th St.) I am looking to geocode this into a lat/long pair. However, I cannot see any way to get Google Maps API or Virtual Earth, etc. to do this. They will happil...

Setting maximum and minimun bounds using Google Maps API

Hi all, Was wondering if someone could provide an example of how to set maximum and minimum extents using GMaps2? In OpenLayers, here's how it is done: var point1 = new OpenLayers.Geometry.Point(7, 48); point1.transform(new OpenLayers.Projection("EPSG:4326"), new OpenLayers.Projection("EPSG:900913")); var point2 = new OpenLayers.Geom...

Smart ways to determine if a search request is an address or a business for use in Google APIS?

Here is the problem, I have an app with a search bar, the user can input something like "18th Street" or "Starbucks" and it uses the Google Geocoding and Local Search APIs respectively to get results. I'm wondering is there a smart way to determine whether or not a given input string is an address that needs to be Geocoded, or a busines...

LinkedIn Groups and Google Maps integration

Has anyone seen an implementation of Google Maps using LinkedIn group information? Specifically I would like to plot the location of members within a group as pins on a Google Map. Any help or guidance would be great. Thanks. ...

How to get the KML data from a GGeoXml object

I load an KML file into a google map object using the following code: map = new GMap2(document.getElementById("map_canvas")); geoXml = new GGeoXml(kml); GEvent.addListener(geoXml, "load", function() { geoXml.gotoDefaultViewport(map); // I would like to read the KML contents here }); map.addOverlay(geoXml); // ... I would like...

On zoom event for google maps on android

Hi We're building an application which is using the google maps api for android. I have my MapController and MapView, and I enable the built-in zoom controls using: mapView.setBuiltInZoomControls(true); I would now like to get an event when the user actually zooms on the map, how do I go about that? I can find no such event or any g...

How to make a Google Maps semi-transparent PNG tile layer work in IE8?

I tried the following new GTileLayer(null, _minZoom, _maxZoom, { isPng: true, opacity: 0.6 }); But in IE8, while the alpha opacity works, the pixels in the PNG that already had translucence they show a grey color and standard opacity. I have noticed also that PNG files that contain alpha transparency and their transparency is not mod...

How to add a menu to MapActivity?

I've got an app using MapActivity.onCreate() to initialize the map and show it on screen. Now I would like to add a menu to my app. From what I've found out I can't add a menu from MapActivity and need to use Activity (correct me if I'm wrong). Now I have no idea how to "initialize" the map from my Activity-class. And how would I have ...