Remove unnecessary goog.isDefAndNotNull() calls
This commit is contained in:
@@ -38,7 +38,7 @@ ol.format.GeoJSON = function(opt_options) {
|
||||
* @inheritDoc
|
||||
*/
|
||||
this.defaultDataProjection = ol.proj.get(
|
||||
goog.isDefAndNotNull(options.defaultDataProjection) ?
|
||||
options.defaultDataProjection ?
|
||||
options.defaultDataProjection : 'EPSG:4326');
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user