I need to search an object in the area, which is drawn by user.
There are api for drawing rectangles, circles, polygons, etc.
But how to implement free drawing area on map?
It must work on mobile.
Thanks!
I need to search an object in the area, which is drawn by user.
There are api for drawing rectangles, circles, polygons, etc.
But how to implement free drawing area on map?
It must work on mobile.
Thanks!
I have understood.
Just use code from Google Maps Draw -- draw line or polygon by dragging
But set map's options to draggable: false, during drawing.