mirror of
https://github.com/webbukkit/dynmap.git
synced 2024-12-25 10:07:37 +01:00
Fix references to removed MultiPolygon constructor
This commit is contained in:
parent
a19674c20c
commit
3ebc1b4123
@ -277,7 +277,7 @@ componentconstructors['markers'] = function(dynmap, configuration) {
|
||||
}
|
||||
|
||||
function create3DBoxLayer(maxx, minx, maxy, miny, maxz, minz, style) {
|
||||
return new L.MultiPolygon([
|
||||
return new L.Polygon([
|
||||
[
|
||||
latlng(minx,miny,minz),
|
||||
latlng(maxx,miny,minz),
|
||||
@ -349,7 +349,7 @@ componentconstructors['markers'] = function(dynmap, configuration) {
|
||||
polylist[xarray.length] = botlist;
|
||||
polylist[xarray.length+1] = toplist;
|
||||
|
||||
return new L.MultiPolygon(polylist, style);
|
||||
return new L.Polygon(polylist, style);
|
||||
}
|
||||
|
||||
function create2DOutlineLayer(xarray, maxy, miny, zarray, style) {
|
||||
|
Loading…
Reference in New Issue
Block a user