google-maps

Auto-select "default" marker with Google Maps API

I have a map with multiple markers plotted with addMarker/addOverlay. I would like one of these markers to be auto-selected when the map loads, and the map to center around it. How can I do this? ...

get link in google map info box

how do get different link of "send to friend", "print map", and "get direction" link in the marker info box related to that marker. Is there any API for that to get this type links.?? Thanks in advance. ...

How to achieve the Yelp Map Marker/Tooltip Effect in Google Maps?

Ok so here's the deal, I'm trying to display a tooltip (instead of the ginfowindow) over some Yelp Map Markers that I am pulling onto a Google Map. I would like to have the exact same effects as Yelp. i.e. The tooltip seems to be set such that it's z-index is always above all other elements nearby, it moves the tooltip once it appears...

How to override target=_blank in KML popups in embedded Google map?

I'm using KML to overlay shapes on a Google map. Information corresponding to each shape is included in the <description> element, along with a link to a detail page corresponding to that shape. So for example, my KML includes this: <description> <![CDATA[ <div> ... <p> <a href="Concession.20.aspx">Vi...

ViewConfiguration - Setting the zoomControlsTimeout

I'm trying to determine how to set the ViewConfiguration.zoomControlsTimeout setting in the Android 1.5 framework, when working with a MapView. There is information on how to get this data, but how can I set it? My end goal is to ensure zoom controls are always displayed on the screen, instead of the default hide/show behavior. ...

Google custom search Map

Hi Friends, http://gmaps-utility-library.googlecode.com/svn/trunk/labeledmarker/release/examples/markerhider.html I want to build the map as displayed in the above link. It takes data from xml file for display. My problem is that i have to take data of google search and display the data in map. so when user click on hotels then hotel...

How do I dynamically add points to a Google Map when the bounds change?

I can currently place static points in the map window: var latlng = new GLatLng(lat, lng); map.addOverlay(new GMarker(latlng, markerOptions)); And I know how to get the bounds of the window. I can also code a page that will take the bounds and return the points that are inside them in any format. The problems I have now: Does the ...

How to get a google map to use 100% of its parent container?

I have tried to do this in many different ways but the most obvious was this: var map2 = new GMap2(document.getElementById("map2"), {size:"100%"}); That does not work. ...

How to make my Google Maps overlays taller (in Rails)

I'm trying to put my friend's restaurant reviews on a map (see the prototype at http://eatrichly.heroku.com/). The idea is that when you click a marker, you should see the review of the restaurant. Unfortunately, the popup that appears when you click a marker occasionally isn't tall enough to accommodate the corresponding review. E.g.: ...

About MKMapView

I am working on a iPhone Application My requirement is, When i open my app it must open a globe we can rotate the globe by touching it.We have to pin point the important cities like maps.When we click on the pin we have to zoom in and show the city nearer. Is it possible to do it by using MKMapView.Can you please Help me. ...

using google map after logging

I have a project witch is using googleMap, when I used localhost googleMap works correctly and anythings is OK, but when I deploy it on the other computer the site can not work(don't show google map!!!). I got a valid key but stil this problem exists! please help me! ...

Google maps over https

We are using Google Maps over https using a free maps API key. The Google Maps API FAQ says: "The Google Maps JavaScript API and Google Static Maps API can be accessed over a secure (https) connection by Google Maps API Premier customers. If the Google Maps APIs are used with a free Maps API key on a secure site, the browser may warn t...

how does google maps render the map etc, is it flash a java applet?

how does google maps render the map etc, is it flash a java appelet? ...

Google JavaScript CAPTCHA handling

I am using Google API's to provide maps on a web page, however, Google frequently prompts for a CAPTCHA (I only know this from going into Firebug, users just get a JavaScript error) for requests for its javascript API's (e.g. http://maps.google.co.uk/maps?file=api&amp;v=2&amp;key=xxxx). However, this prevents visitors from our network (a...

Legality of using the google search API

Hey, I am thinking of designing a website that's sort of a targeted Yelp.com. Lets say it's for gas station, for example. The idea would be that someone would put in the address they're at, and it would show all the gas stations in the area. In order to do this, I would perform a google search through their API, and pull out nearby ...

Plotting a trajectory over time (a movie) using Google Earth/Maps

I have a set of points starting from (0,0,0) charting a path taken by a vehicle in 3D with each point being the distance traveled in its respective dimension. I need to do 2 things Let (0,0,0) denote a latitude and longitude. How do I convert my set of points in 3D to it's equivalent in latitude and longitude? Plot it frame-by-frame (w...

problem with gmap valid key

My google map works on local host perfect, but when i get key from codes.google for my server ip my google map alerts your browser does not support google map i dont know what is my problem can anybody help me? ...

finding shortest paths using google maps for a large number of nodes

I'm trying to do some network analysis for a client. The provided road-network GIS layer is of bad quality; therefore, I have to resort to Google maps to provide me shortest path between 200 points, to produce time and distance matrices between each point. is there a way i can input the layer as a set of KML points to obtain outputs of ...

google maps multiple line segments

Hi, this question is kind-of programming related but not exactly - see how we go... I am trying to view a trip i have made using a gps tracking device onto google maps as one continuous line, however, when i upload the KML file onto google maps it is arbitrarily broken into about 7 different segments. The trip was made in one go and wh...

Dynamically Adding Listeners To Google Maps Markers

I'm working on a page which fetches code with a Javascript httpObject and uses it to update two elements on the page - a google map, and a DIV that lists the things the marker points to. That bit works fine. The problem is that when I create the markers, I do so through a for loop, and I add listeners to the marker in each loop. Then,...