correct cross the 180th meridian (antimeridian) handling
This commit is contained in:
parent
66fca1fc02
commit
e917bce40d
1 changed files with 1 additions and 1 deletions
|
|
@ -44,7 +44,7 @@ Ox.MapPlace = function(options) {
|
||||||
update();
|
update();
|
||||||
|
|
||||||
function update(updateMarker) {
|
function update(updateMarker) {
|
||||||
if (that.east < 0 && that.west > 0) {
|
if (that.west > that.east) {
|
||||||
that.east += 360;
|
that.east += 360;
|
||||||
}
|
}
|
||||||
that.points = {
|
that.points = {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue