mirror of
https://github.com/webbukkit/dynmap.git
synced 2024-11-28 05:05:16 +01:00
commit
ebb312c90e
@ -261,7 +261,7 @@ componentconstructors['markers'] = function(dynmap, configuration) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
function create3DBoxLayer(maxx, minx, maxy, miny, maxz, minz, style) {
|
function create3DBoxLayer(maxx, minx, maxy, miny, maxz, minz, style) {
|
||||||
return new L.MultiPolygon([
|
return new L.Polygon([
|
||||||
[
|
[
|
||||||
latlng(minx,miny,minz),
|
latlng(minx,miny,minz),
|
||||||
latlng(maxx,miny,minz),
|
latlng(maxx,miny,minz),
|
||||||
@ -333,7 +333,7 @@ componentconstructors['markers'] = function(dynmap, configuration) {
|
|||||||
polylist[xarray.length] = botlist;
|
polylist[xarray.length] = botlist;
|
||||||
polylist[xarray.length+1] = toplist;
|
polylist[xarray.length+1] = toplist;
|
||||||
|
|
||||||
return new L.MultiPolygon(polylist, style);
|
return new L.Polygon(polylist, style);
|
||||||
}
|
}
|
||||||
|
|
||||||
function create2DOutlineLayer(xarray, maxy, miny, zarray, style) {
|
function create2DOutlineLayer(xarray, maxy, miny, zarray, style) {
|
||||||
|
Loading…
Reference in New Issue
Block a user