Skip to content

Commit 12b9a14

Browse files
committed
remove equals defense in CenterMixin.setCoordinates, close maptals/issues#214
1 parent 9e9e324 commit 12b9a14

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

src/geometry/CenterMixin.js

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,9 +25,6 @@ export default function (Base) {
2525
*/
2626
setCoordinates(coordinates) {
2727
const center = (coordinates instanceof Coordinate) ? coordinates : new Coordinate(coordinates);
28-
if (center.equals(this._coordinates)) {
29-
return this;
30-
}
3128
this._coordinates = center;
3229
if (!this.getMap()) {
3330
//When not on a layer or when creating a new one, temporarily save the coordinates,

0 commit comments

Comments
 (0)