Open MedAb94 opened 2 years ago
I have the next code:
let cellPolygone = L.semiCircle(cell.lanLng, { radius: cell.range * 1000, startAngle: cell.angle - 30, stopAngle: cell.angle + 30 }).addTo(this.map) let p = this.home_center //this.home_center is a L.latLng object console.log(cellPolygone._containsPoint(p))
I tried the all the next forms but with the same result
p = {x:x_coord, y:y_coord} p = [x_coord, y_coord] p = L.point(x_coord, y_coord)
It logs always false
I have the next code:
I tried the all the next forms but with the same result
It logs always false