M
M
Maxim Osadchy2018-03-06 13:14:01
Google Maps
Maxim Osadchy, 2018-03-06 13:14:01

How to check if a point is in a polygon?

There are points, polygons are drawn on them. There is an address and you need to display only those polygons that this address falls into.
I didn’t find anything similar in the standard maps api methods, how can I do this?
Thank you.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
0
0xD34F, 2018-03-06
@waspmax1

The containsLocation method will help you.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question