We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5b284ef commit e488d56Copy full SHA for e488d56
lib/main.js
@@ -154,6 +154,7 @@ class MapboxCircle {
154
this._currentCenterLngLat[0] = newCenter[0];
155
this._currentCenterLngLat[1] = newCenter[1];
156
}
157
+ this._eventEmitter.emit('centerchanging', this);
158
this._updateCircle();
159
this._animate();
160
@@ -170,6 +171,7 @@ class MapboxCircle {
170
171
} else {
172
this._currentRadius = Math.min(Math.max(this.options.minRadius, newRadius), this.options.maxRadius);
173
174
+ this._eventEmitter.emit('radiuschanging', this);
175
176
177
0 commit comments