Fix coding style
This commit is contained in:
@@ -113,8 +113,7 @@ ol.FeatureOverlay.prototype.handleFeatureChange_ = function() {
|
|||||||
* @private
|
* @private
|
||||||
* @param {ol.CollectionEvent} collectionEvent Collection event.
|
* @param {ol.CollectionEvent} collectionEvent Collection event.
|
||||||
*/
|
*/
|
||||||
ol.FeatureOverlay.prototype.handleFeaturesAdd_ =
|
ol.FeatureOverlay.prototype.handleFeaturesAdd_ = function(collectionEvent) {
|
||||||
function(collectionEvent) {
|
|
||||||
goog.asserts.assert(!goog.isNull(this.featureChangeListenerKeys_));
|
goog.asserts.assert(!goog.isNull(this.featureChangeListenerKeys_));
|
||||||
var feature = /** @type {ol.Feature} */ (collectionEvent.element);
|
var feature = /** @type {ol.Feature} */ (collectionEvent.element);
|
||||||
this.featureChangeListenerKeys_[goog.getUid(feature).toString()] =
|
this.featureChangeListenerKeys_[goog.getUid(feature).toString()] =
|
||||||
@@ -128,8 +127,7 @@ ol.FeatureOverlay.prototype.handleFeaturesAdd_ =
|
|||||||
* @private
|
* @private
|
||||||
* @param {ol.CollectionEvent} collectionEvent Collection event.
|
* @param {ol.CollectionEvent} collectionEvent Collection event.
|
||||||
*/
|
*/
|
||||||
ol.FeatureOverlay.prototype.handleFeaturesRemove_ =
|
ol.FeatureOverlay.prototype.handleFeaturesRemove_ = function(collectionEvent) {
|
||||||
function(collectionEvent) {
|
|
||||||
goog.asserts.assert(!goog.isNull(this.featureChangeListenerKeys_));
|
goog.asserts.assert(!goog.isNull(this.featureChangeListenerKeys_));
|
||||||
var feature = /** @type {ol.Feature} */ (collectionEvent.element);
|
var feature = /** @type {ol.Feature} */ (collectionEvent.element);
|
||||||
var key = goog.getUid(feature).toString();
|
var key = goog.getUid(feature).toString();
|
||||||
|
|||||||
Reference in New Issue
Block a user