How do I trigger the onclick event of a marker on a Google Maps from outside the map?
I use version 3 of the API. I've seen many tutorials for version 2, but can't find this for version 3.
I have a global array (named markers) containing all the marker of the map (google.maps.Marker). Now I want do do something like:
markers[i].click(...
I live in rural areas, my town doesn't had roads in google maps. How can I add my own or create it. Where to start?
...
There are many services, where user can switch API: gpsies.com, gdeetotdom.ru/map etc. How I can develop common map factory? Have anybody some tutorials or examples?
...
Hi,
i have the following code to update a google map:
function updateit(c1,c2){
alert(c1+"-"+c2); // This works
map.setCenter(new GLatLng(c1, c2), 13); // But this doesn't
}
updateit(37.4419, -122.1419);
The alert is working and show the two coordinations, but i think the GLatLng() doesn't receive them, so the map is not updated unl...
I'm having trouble getting the setMap(null); function that everyone seems to be recommending to work.
I believe it may be a problem with the way I've implemented the markers.
If someone could take a look and let me know if you see something wrong I'd greatly appreciate it.
LINK: http://www.dougglover.com/samples/UOITMap/v2/
...
Hi,
i want to know if i can use the data (for exaple a tour from point A to point B) and extract it for example to save the tour infos to an text file or post it somewhere or do whatever i want with it? i want to use maps as a database, so what are the restrictions, what am i allowed to do?
...
Hi,
The iPhone has a functionality that when a google maps URL is typed into (or linked) the mobile browser it will open the Google Maps app instead of displaying it in the mobile browser.
Now I'm wondering if that same functionality exists for say a Nokia (Symbian) phone? Is there a way to set up the link to open the Google maps app...
I would like to have support for Google Maps in my Java Swing desktop application. Is there an Google Maps component for Swing that is freely available? It would be good if it was extendable and maybe had support for other maps i.e. like OpenStreetMaps.
...
Calling setFocus(null) on the ItemizedOverlay does not 'unfocus' current marker. According to the documentation:
... If the Item is not found, this is a no-op. You can also pass null to remove focus.
Here's my code:
MapItemizedOverlay
public class MapItemizedOverlay extends ItemizedOverlay<OverlayItem> {
private ArrayList<Ov...
I always thought that wikipedia text was CC but GoogleMaps states that the text is GPL'd which leads to an interesting question, where is the source for google maps ?
...
I dynamically add an <a> (link) tag to the DOM with:
var link = document.createElement('a');
link.href = 'http://www.google.com/';
link.onclick = function () { window.open(this.href); return false; };
link.appendChild(document.createTextNode('Google'));
//someDomNode.appendChild(link);
I want the link to open in a new window (I know i...
Hey guys. I need to know if what I need is achievable.
I need to be able to, using either V2 OR V3 (preferably 3), create paths which ignore buildings in a sense.
I was trying to create even a kml file to draw out all of the paths myself, and then find some way to turn them on/off as needed.
For example. The user wants to go from poi...
If you go here: http://econym.org.uk/gmap/snap.htm there are some examples of the kind of stuff I'm trying to do. I want the user to enter a route on a google maps widget, and then have the map drawl the route along roads. Then the user click on a "submit" button, and their route is sent back to the server where it will be stored in a da...
Hey I am I receiving a string values as such "(53.32000501118541, -6.223390102386475)"
How can I parse this string to seperate the 2 values and remove the "(" and ")"
Cheers
...
HI.
I am using AJAX so load a page in SimpleModal. On this page I have the Google code to display a Google map. The problem is when I load this page, the page blows up, meaning, the page goes blank, no Firebug errors, not source html, nothing. URL still says it is the correct page, but blank. It has not reloaded, but gone blank.
If I r...
Hi,
I just want to add some kind of markers which are listed beside map, then user can drag them in to map. I tried to use GEvent.addDomListener(domObj, "drag",functName); but it didn't works. Is there any way to do that?
Thanks
Dau
...
Hi there
Just out of curiosity I was wondering how is it possible for the javascript code to embed google maps communicate with server from outside domain. I know I'm missing out something here. can anyone help?
thanks
...
I've started working on a project to inject markers into a map with jQuery by looping through rows on a table in the page. After getting it working I realized that I was accessing the V3 API and using V3 syntax. I've been beating my head against a wall trying to get this working in google maps API V2. If someone could please take a look ...
I'm building a website in Django, and I want one of my datatypes to be a geographical polygon. I want to mark points on a map (say, in Google Maps) and then store the resulting polygon in the database.
Is there any way to do it that will save me the work of typing all the longitudes and latitudes manually?
I guess I'm looking both for...
Implementing google map in Flash cs4 seems very different in terms of its code used.
How could I apply mouseevent to a marker?
GEvent.addListener(marker, "mouseover", function() {markerClick()});
return marker;
function markerClick():void {
trace("You clicked the map.");
}
...