Merge pull request #2265 from elemoine/setproperties

Change setValues to setProperties
This commit is contained in:
Éric Lemoine
2014-06-29 11:56:17 +02:00
13 changed files with 51 additions and 46 deletions

View File

@@ -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(
/**