prettier js
This commit is contained in:
parent
b267615062
commit
c8f853cbaf
1 changed files with 6 additions and 1 deletions
|
@ -645,5 +645,10 @@ L.U.Orderable = L.Evented.extend({
|
||||||
})
|
})
|
||||||
|
|
||||||
L.LatLng.prototype.isValid = function () {
|
L.LatLng.prototype.isValid = function () {
|
||||||
return (isFinite(this.lat) && Math.abs(this.lat) <= 90 && isFinite(this.lng) && Math.abs(this.lng) <= 180)
|
return (
|
||||||
|
isFinite(this.lat) &&
|
||||||
|
Math.abs(this.lat) <= 90 &&
|
||||||
|
isFinite(this.lng) &&
|
||||||
|
Math.abs(this.lng) <= 180
|
||||||
|
)
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue