Remove goog.isNull in format classes
This commit is contained in:
@@ -54,7 +54,7 @@ goog.inherits(ol.format.EsriJSON, ol.format.JSONFeature);
|
||||
* @return {ol.geom.Geometry} Geometry.
|
||||
*/
|
||||
ol.format.EsriJSON.readGeometry_ = function(object, opt_options) {
|
||||
if (goog.isNull(object)) {
|
||||
if (!object) {
|
||||
return null;
|
||||
}
|
||||
var type;
|
||||
|
||||
Reference in New Issue
Block a user