google-maps

Image instead of a the default pin in iPhone's MapKit framework?

Is it possible to have our own image instead of the default pin in MapKit map on iPhone? I am working on an application which would show friends' locations much like Google Latitude and need to show image of friends at their locations. It is possible using the JavaScript Google Map but i want to know if someone can give some sample c...

GMarker with zoom function

I've been fighting with this for a while, so I think it's better to ask the big guys. I have the following function which I use to creage GMarkers with some information function createMarker(data, html) { var marker = new GMarker(new GLatLng(data.latlng.y, data.latlng.x)); var html = "Provider: "+ data.name.data + "<br...

Google maps - URL to get POIs based on location and search term

Hi Is there a Google Maps URL which I can use to get a list of POIs near a user location? Here's what I want - the user enters a search term and I already know his latitude and longitude. I want to get an XML/kml with the POI details based on the search terms. So lets say I search for Starbucks at a particular location, I should get al...

Calculate distance between two points in google maps V3

Hi, How do you calculate the distance between two markers in Google maps V3? (Similar to the distanceFrom function inV2.) Thanks.. ...

Subgurim: How to set the center of the map in javascript

Hi, i want to set the center of a map in javascript. I can only find some code with Markers in it, but i want the client side code for this: (this is server side code) GMap1.setCenter(latlng, zoomLevel, mapType ); I would like to do this (it's non working code :-)) subgurim_GMap1.SetCenter(47.1, 2.3, 6) where 47.1 and 2.3 are th...

Projecting only some part of SVG on Google Map

I have SVG files, which I'd like to: export and use as custom ground overlay with flat Euclidean projection (econym.org.uk/gmap/example_custommapflat.htm). take only polygons and project them on Google Map My SVG files have some rules in common: they all are 4096x4096px main objects of the map are centered I have done some experi...

Proximity search with Google maps

I'm developing a store location application. Looking up a store, it currently shows the location in googlemaps based on address and zip code. Now I want to build a function which also shows other shops within 500 meter radius. To do this, I have to do a proximity search / calculation. My biggest question, is how I should approach this...

License for user-added content in Google maps

I'm trying to find out which rules govern user-added content in google maps. I'd like to know if I can store certain placemarks from google maps on my server and on the client(the latter for the sake of caching). I have been reading through Google maps terms but could not find a direct answer to this question. ...

Commercial Map Controls ?

I am not sure whether this forum is appropriate for this question. But, I am dying for this information. The problem is certain parts of Google or Bing Map licenses does not allow me to use their map services/controls. Is there any commercial map controls (atleast for U.S) similar to Google maps available? Thanks in advance ...

How do I link Google Maps Markers to other elements?

Using the google maps (and JavaScript) I have been able to easily display several markers which each have a nice little info window over them. //Create map over USA map = new google.maps.Map2( document.getElementById('map') ); map.setCenter(new GLatLng(38.95940879245423, -100.283203125), 3); //Create point, then marker, and then add to...

Google Maps : get route, Km, and ... price

Hello guys, I think I am in a project which is probably too much for me, but I thought you could put me in the right direction. We are trying to have a form where the user will write a starting point and an ending one, as seen in the Google Maps examples (http://code.google.com/apis/maps/documentation/examples/directions-advanced.html)...

Grabbing graphics data from Google Street View object

Hi everyone, As the title suggests, I have a Google Street View object in my web page. My program 'drives' along certain routes, essentially, I control Google Street View's javascript API through an embedded Java applet (in the same page). I need to be able to grab imagery from my current Google Street View panorama - I don't really ca...

How can I create a flat marker in Google maps 3d flash api?

When using map3d, the default marker creation is always perpendicular to the viewport. How can I create a marker that lays down flat against the map? I can't use GroundOverlay because it becomes overly tiny when the map is zoomed out. How can I create a matrix3d object that will rotate/scale/skew my Marker's foreground DisplayObject s...

google map thinks i'm sending automated requests

My web site uses google maps and i'm simply showing the map with some markers for a search results we are stil in beta so only employees know where the site is, so there is not much traffic. what happens when the page is called we do a search then render the page in js we build the marker to be added but ... sometimes we get the error...

Is there a way to get long/lat for a given address in Google Maps with only PHP?

I know this is possible in Javascript but I need to do it using only PHP, how can I? ...

Problem with asp.net mvc and google maps

I'm just getting into asp.net mvc and jquery so this might be a "stupid" question. I'm developing an mvc application which contains a Google Map. I've used this blog post as an inspiration http://mikehadlow.blogspot.com/2008/10/using-google-maps-with-mvc-framework.html and it's working as expected. The problem occurs when I want to...

Using the CloudMade API or some other geosearching API to get tourism spots?

I've been looking for an online geosearch API such that I can get location data for tourism spots, e.g. historic landmarks, tourism information locations, castles, etc. I'm not looking for a map image, but rather a list of location tagged data. I've played with CloudMade, but none of the object types seems to returning anything like the ...

Problem Setting Center on Google Map

Hi all, In google maps when i set a center through map.setCenter(new GLatLng(28.6589, 77.2104), 13); it not only sets the centre of the map but adds a marker on that place which i dont want it to be can anyone help me out? with thanks Ankur Ok guys I feel no harm to share my code at least it may help others also Here's the entire s...

Google Map - Take coordinates

I have google map on my site(php,apache,mysql). here is code: <script type="text/javascript"> function initialize() { if (GBrowserIsCompatible()) { var map = new GMap2(document.getElementById("map_canvas")); var point = new GLatLng(<? $default_ll ?>,<? $default_spn ?>); map.setCenter(point, 15); ...

Google Maps API v3 JavaScript EVENTS question

In Google Maps API v2, I used the following events to each perform different tasks. loaded tilesloaded moveend What is the equivalent of these events in API v3? ...