Skip to content

Commit

Permalink
Fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
Nicolas Dufrane committed Oct 26, 2016
1 parent 1e3f77e commit 2dca644
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion web/client/components/map/openlayers/plugins/WMSLayer.js
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ Layers.registerType('wms', {
})
});
}
const mapSrs = map && map.getView() && map.getView().getProjection() && map.getView().getProjection() && map.getView().getProjection().getCode() || 'EPSG:3857';
const mapSrs = map && map.getView() && map.getView().getProjection() && map.getView().getProjection().getCode() || 'EPSG:3857';
const extent = ol.proj.get(CoordinatesUtils.normalizeSRS(options.srs || mapSrs, options.allowedSRS)).getExtent();
return new ol.layer.Tile({
opacity: options.opacity !== undefined ? options.opacity : 1,
Expand Down

0 comments on commit 2dca644

Please sign in to comment.