Merge pull request #2265 from elemoine/setproperties
Change setValues to setProperties
This commit is contained in:
@@ -368,9 +368,9 @@ ol.Map = function(options) {
|
||||
goog.events.listen(this, ol.Object.getChangeEventType(ol.MapProperty.TARGET),
|
||||
this.handleTargetChanged_, false, this);
|
||||
|
||||
// setValues will trigger the rendering of the map if the map
|
||||
// setProperties will trigger the rendering of the map if the map
|
||||
// is "defined" already.
|
||||
this.setValues(optionsInternal.values);
|
||||
this.setProperties(optionsInternal.values);
|
||||
|
||||
this.controls_.forEach(
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user