Mark projection property as constant

This commit is contained in:
Frederic Junod
2015-01-26 10:20:04 +01:00
parent 72b2182219
commit 98f7b5f186

View File

@@ -115,6 +115,7 @@ ol.View = function(opt_options) {
/**
* @private
* @const
* @type {ol.proj.Projection}
*/
this.projection_ = ol.proj.createProjection(options.projection, 'EPSG:3857');