OpenLayers OpenLayers

Changeset 1082

Show
Ignore:
Timestamp:
08/03/06 19:08:27 (2 years ago)
Author:
euzuro
Message:

0 args, not 1

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • sandbox/euzuro/layerswitcher/lib/OpenLayers/Marker.js

    r1078 r1082  
    2828    */ 
    2929    initialize: function(lonlat, icon) { 
    30         if (arguments.length > 1) { 
     30        if (arguments.length > 0) { 
    3131            this.lonlat = lonlat; 
    3232            this.icon = (icon) ? icon : OpenLayers.Marker.defaultIcon();