This commit is contained in:
James Lyne 2020-12-16 19:18:10 +00:00
parent 6522e6c2ff
commit 10cfd5b56f
2 changed files with 0 additions and 10 deletions

View File

@ -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;
// }
// }
// ;

View File

@ -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;