Rename ol.MapProperty to ol.Map.Property

This commit is contained in:
Frederic Junod
2016-09-07 09:13:41 +02:00
parent ac26a2cfcd
commit 6c7b395024
3 changed files with 27 additions and 29 deletions

View File

@@ -4,7 +4,6 @@ goog.require('ol');
goog.require('ol.Collection');
goog.require('ol.Map');
goog.require('ol.MapEventType');
goog.require('ol.MapProperty');
goog.require('ol.Object');
goog.require('ol.ObjectEventType');
goog.require('ol.Overlay');
@@ -193,7 +192,7 @@ ol.control.OverviewMap.prototype.setMap = function(map) {
* @private
*/
ol.control.OverviewMap.prototype.handleMapPropertyChange_ = function(event) {
if (event.key === ol.MapProperty.VIEW) {
if (event.key === ol.Map.Property.VIEW) {
var oldView = /** @type {ol.View} */ (event.oldValue);
if (oldView) {
this.unbindView_(oldView);