Changeset 7779 for trunk/src/map/inc/nodemapWL.js
- Timestamp:
- Apr 16, 2010, 2:37:52 AM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/map/inc/nodemapWL.js
r7778 r7779 51 51 function addMarker(current, i) { 52 52 var id = current.id; 53 var marker = new GMarker(new GLatLng(current.latitude[0], current.longitude[0]), {title: current.name[0]}) ;53 var marker = new GMarker(new GLatLng(current.latitude[0], current.longitude[0]), greenIcon, false, {title: current.name[0]}) ; 54 54 //Added mouseover listener that calls on our mouseOver function when the mouse moves over a marker on the map 55 55 GEvent.addListener(marker, 'mouseover', function() { 56 mouseOverNode(current.id, current.name[0],52.162687, 4.493294);57 //mouseOverNode(current.id, current.name[0],current.latitude[0], current.longitude[0]);56 //mouseOverNode(current.id, current.name[0],52.118860692234, 4.5015095076528); 57 mouseOverNode(current.id, current.name[0],current.latitude[0], current.longitude[0]); 58 58 }); 59 59 GEvent.addListener(marker, 'click', function() { … … 90 90 overNode = true; 91 91 92 //alert(lat);93 92 93 //alert(long); 94 94 95 95 loadXMLDoc("inc/node_info.php?type=single&name="+name+"");
Note:
See TracChangeset
for help on using the changeset viewer.