OpenLayers OpenLayers

Changeset 1777

Show
Ignore:
Timestamp:
11/08/06 10:43:17 (2 years ago)
Author:
bertil
Message:

mousecursor

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • sandbox/bertil/examples/vector.html

    r1775 r1777  
    2020            toolbar = new OpenLayers.Control.EditionToolbar(); 
    2121            navigation = new OpenLayers.Control.MouseDefaults(); 
    22             selection = new OpenLayers.Control.Edition.Selection() 
     22            selection = new OpenLayers.Control.Edition.Selection(); 
    2323            drawLinearPath = new OpenLayers.Control.Edition.DrawLinearPath(); 
    2424            toolbar.addTools([navigation, selection, drawLinearPath]); 
  • sandbox/bertil/lib/OpenLayers/Feature/Geometry/Curve.js

    r1775 r1777  
    4545     
    4646    addPoint: function(point, index) { 
    47         if(point.CLASS_NAME == "OpenLayers.Feature.Geometry.Point"){ 
     47        if(point && point.CLASS_NAME == "OpenLayers.Feature.Geometry.Point"){ 
    4848            if (index) { 
    4949                this.path = this.path.slice(0, index).concat([point]).concat(this.path.slice(index, (this.path.length - 1)));