Answer the question
In order to leave comments, you need to log in
How to collect an array from the coordinates of the selected area through a given step?
Colleagues, good day to all! My sadness is this, I'm making an interactive map on a leaflet, the map is created all right. On this map, the user can select an area (a rectangle is drawn, it doesn’t really matter what is drawn here), I need to collect an array from the data of this rectangle with the coordinates of points that are inside its boundaries.
Well, or fill its perimeter with new small layers - rectangles, their centers can be easily pulled out from getCenter().
If someone has come across this, I will be glad to advice ..
Thank you in advance
Answer the question
In order to leave comments, you need to log in
I need to collect an array from the data of this rectangle with the coordinates of the points that are inside its boundaries
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question