Cleanup
This commit is contained in:
parent
6522e6c2ff
commit
10cfd5b56f
@ -53,12 +53,3 @@ export class LogoControl extends Control {
|
|||||||
return container;
|
return container;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
//
|
|
||||||
// dynmap.map.options.attributionControl = false;
|
|
||||||
// if (dynmap.map.attributionControl) {
|
|
||||||
// dynmap.map.removeControl(dynmap.map.attributionControl);
|
|
||||||
// dynmap.map.attributionControl = null;
|
|
||||||
// }
|
|
||||||
// }
|
|
||||||
// ;
|
|
||||||
|
@ -49,7 +49,6 @@ export const updateArea = (area: Polyline | Polygon | undefined, options: Dynmap
|
|||||||
dirty = true;
|
dirty = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
if(!arePointsEqual(oldPoints.length === 1 ? oldPoints[0] : oldPoints, points)) {
|
if(!arePointsEqual(oldPoints.length === 1 ? oldPoints[0] : oldPoints, points)) {
|
||||||
area.setLatLngs(points);
|
area.setLatLngs(points);
|
||||||
dirty = true;
|
dirty = true;
|
||||||
|
Loading…
Reference in New Issue
Block a user