Maybe I'm going completely off track with what I'm trying to do, but I'm tempted just to go back to version 2 because I got that working easily (but I would like to be mobile-friendly).
I'm trying to generate a few markers, and to save code, I've put the marker generation into a for loop, which loops through an array of markers (there a...
would it would help to have the apikey linked to an account that also has other Google services for the company associated with it, like Analytics, etc. also does the sensor variable speed up the call as well
...
Is there a way to use maps.google.com's get direction's functionality so that I can pass in the arguments for the directions from the url?
for example suppose I want google map to display the direction from new york city to baltimore, is there a way to pass it through the url in a way like this:
http://maps.google.com/map?from=new%2...
When the page has loaded and the map is visible, an infoWindow opens on the map without any click. But sometimes, depending on the markers position, part of infoWindows is outside of map. Is there a way to prevent this from happen and always get infoWindow within the map?
Update
The problem is that the infowindow is shows before the ma...
Why on the earth there is always a chance that if we use "Doctype" with Google Maps, there will be a problem in showing the Google Map correctly?
In a recent case, this "Doctype" just took my 2 days without any productivity. What a disgusting case? This time I got a help from one of my colleague (Subhankar Bannerjee), and many thanks...
Hi All
I am working on Google Tile Server. I have written one WCF Service (C#) which fetches tile from Google server using http URL :- http://mt1.google.com/vt/lyrs=m@129&hl=en&x=1&y=0&z=1&s=Galileo
As you know, Google Tile requires three variable parameters x, y and z in it's URL to provide a tile.
Other co-ordin...
I have just started working on my first Android application and am going ok. I have managed to get the app to locate my current position on a map and place the blue circle there. I can see the satellite icon in the notification bar working (satellite dish with rays coming off it).
I am very new to android phones altogether but upon bein...
Hello,
I am using Google maps JavaScript API.
Here is code :
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html>
<head>
<meta name="viewport" content="initial-scale=1.0, user-scalable=no" />
<meta http-equiv="Content-T...
I'm trying to achieve the following thing: Have different types of markers on my map for example, schools, libraries, bus stops and I want to be able to show/hide each group of markers.
I have been searching google for a while but nothing came up :/
Any ideas how this can be achieved ?
...
I stumped upon the following Google example page of loading my map marker InfoWindow using AJAX, instead of preloading the InfoWindow ahead of time.
http://gmaps-utility-library-dev.googlecode.com/svn/tags/extinfowindow/1.2/examples/ajaxContent_packed.html
However, I don't understand the use case for why someone would want to do this?
...
So I've got a couple of (ginormous) KML's that I've successfully converted into 180 some-odd Google-Maps encoded polygons/polylines. Anyone have any experience or thoughts on how to take these and turn it into an MKPolyline object suitable for use on iOS4's MapKit?
Here's what I'm looking at right now .....
var sw = new GLatLng(25.837...
I need to display only a single country in google map. I need to display only one country and the parts of other countries should not be there.. for example if I want to display U.K. it should display only UK and sea around, no parts from other countries should be visible.
Is there a Google API call or any other method? I couldn't find ...
I need to remove the Direction paths drawn on Google map? I know how to remove markers, but when you remove markers path is not getting cleared. Is there a way to remove the direction path than creating map from the beginning again?
...
Hi,
I want to search by a name (String) and then get at least 10 matching locations with their longitude and latitude.
Let's say I type 'An' in my search bar, i need to request some map service and get 10 locations that start with 'An'.
It seems we cannot do this with Map Kit.
Could someone point me few little tips to get started. It...
Hello,
So, when i draw a polygone with Google maps API the weirdest thing happens: on every click, I update a textarea with the position of the current set point and when i, let's say, draw a fullshape, but want to click inside it, the whole shape dissapears and it doesn't see that point I clicked as a google coordinate, causing a fatal...
I'm writing a program that shows on a google map with google api the locations of the ip address if possible, and I looking for code or directions on how to write the trace IP program in c#.
Thank You
...
I am sure there is a tutorial somewhere on the net on how to dynamically load markers to Google Maps while Zooming In and Out through AJAX.
Some like this site is doing http://www.visualtour.com/p_findahome.asp?q=toronro+ontario
...
A coworker asked me to help try and fix this, and we are both stumped. This works perfectly in firefox, chrome, and opera, yet sadly it breaks in IE. Here is the page
...
this is my code:
google.maps.event.addListener(marker, 'rightclick', function(event) {
//delete marker
var nowIndex1='nowIndex1';
function callback1(element, index){
if(marker == element) nowIndex1=index
}
markers.forEach(callback1)
if(nowIndex1!='nowIndex1') markers.removeAt(nowIndex1)
//delete pat...
I just need put one div (or more) inside or over map, something like a menu inside the map area,
I need when i load my map this div is there...
css can't do it right?
that div contains php code...
...