Change setValues to setProperties

This commit is contained in:
Éric Lemoine
2014-06-27 17:26:51 +02:00
parent fa5f99c716
commit eafc2ac371
13 changed files with 51 additions and 46 deletions

View File

@@ -369,9 +369,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(
/**