Changeset 7783 for trunk/src/map


Ignore:
Timestamp:
Apr 16, 2010, 7:07:25 AM (15 years ago)
Author:
janveeden
Message:

Fixed map(GMarker constructor) and renamed variable long to longitude.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/map/inc/nodemapWL.js

    r7782 r7783  
    5151function addMarker(current, i) {
    5252        var id = current.id;
    53         var marker  = new GMarker(new GLatLng(current.latitude[0], current.longitude[0]), greenIcon, false, {title: current.name[0]})   ;
     53        var marker  = new GMarker(new GLatLng(current.latitude[0], current.longitude[0]), {title: current.name[0], icon: greenIcon});
    5454        //Added mouseover listener that calls on our mouseOver function when the mouse moves over a marker on the map
    5555        GEvent.addListener(marker, 'mouseover', function() {
Note: See TracChangeset for help on using the changeset viewer.