mirror of
https://github.com/webbukkit/dynmap.git
synced 2024-12-02 15:14:00 +01:00
This commit is contained in:
parent
c81cbfeeca
commit
4bdcb2222a
@ -597,7 +597,7 @@ function makeRequest(url, func, type, fail, post, contenttype)
|
|||||||
} else if(p.length == 6) {
|
} else if(p.length == 6) {
|
||||||
if(p[0] in markers) {
|
if(p[0] in markers) {
|
||||||
var m = markers[p[0]];
|
var m = markers[p[0]];
|
||||||
var converted = fromWorldToLatLng(p[2], p[3], p[4]);
|
var converted = fromWorldToLatLng(p[3], p[4], p[5]);
|
||||||
m.setPosition(converted);
|
m.setPosition(converted);
|
||||||
} else {
|
} else {
|
||||||
var image = 'sign.png';
|
var image = 'sign.png';
|
||||||
@ -609,7 +609,7 @@ function makeRequest(url, func, type, fail, post, contenttype)
|
|||||||
else if (p[1] == 'spawn')
|
else if (p[1] == 'spawn')
|
||||||
image = 'list_on.png';
|
image = 'list_on.png';
|
||||||
|
|
||||||
var converted = fromWorldToLatLng(p[2], p[3], p[4]);
|
var converted = fromWorldToLatLng(p[3], p[4], p[5]);
|
||||||
var marker = new MarkerWithLabel({
|
var marker = new MarkerWithLabel({
|
||||||
position: converted,
|
position: converted,
|
||||||
map: map,
|
map: map,
|
||||||
|
Loading…
Reference in New Issue
Block a user