map_client_update #203

Merged
mpeltriaux merged 4 commits from map_client_update into master 2022-09-15 11:39:00 +02:00
Showing only changes of commit 61cd1a697b - Show all commits

View File

@ -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 )