Skip to content

Commit

Permalink
fix feature layer bug
Browse files Browse the repository at this point in the history
  • Loading branch information
patrickarlt committed May 26, 2015
1 parent 1412476 commit d8903bf
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/Layers/FeatureLayer/FeatureLayer.js
Original file line number Diff line number Diff line change
Expand Up @@ -87,12 +87,10 @@ EsriLeaflet.Layers.FeatureLayer = EsriLeaflet.Layers.FeatureManager.extend({

if(layer && !this._map.hasLayer(layer)){
this._map.addLayer(layer);
return;
}

if (layer && layer.setLatLngs) {
this._updateLayerGeometry(layer, geojson);
return;
}

if(!layer){
Expand Down

0 comments on commit d8903bf

Please sign in to comment.