D
D
Dmitry Tsirulnikov2015-09-10 15:07:08
JavaScript
Dmitry Tsirulnikov, 2015-09-10 15:07:08

GoogleMap occurrence of coordinates in a polygon, how to check?

Good afternoon, there was a task to check whether the coordinates are included in the polygon or not, rummaged through Google so I didn’t find anything intelligible. Is it possible to do this by means of the library itself or not?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
B
boomwest, 2015-09-16
@boomwest

The problem of whether a point belongs to a polygon
Here is an example in JAVA scripts.inf.ua/?p=306
it will not be difficult to rewrite it in JS
Here is a piece of my function in PHP
pastebin.com/WG4KqtdX

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question