NEtgis Client Bugfix
* fixes bug where initial geometry has not been rendered on client loading * needs to be replaced asap by a proper bugfix from the original devs
This commit is contained in:
parent
a8b7cebc09
commit
61cd1a697b
@ -394,12 +394,16 @@ netgis.MapOpenLayers.prototype.clearAll = function()
|
||||
{
|
||||
for ( var i = 0; i < this.layers.length; i++ )
|
||||
{
|
||||
if(this.layers[i] === this.editLayer){
|
||||
continue;
|
||||
};
|
||||
this.map.removeLayer( this.layers[ i ] );
|
||||
}
|
||||
|
||||
this.layers = [];
|
||||
this.layers = [this.editLayer];
|
||||
|
||||
this.snapFeatures.clear();
|
||||
this.snapFeatures.push(this.editLayer);
|
||||
};
|
||||
|
||||
netgis.MapOpenLayers.prototype.onUpdateStyle = function( e )
|
||||
|
Loading…
Reference in New Issue
Block a user