-2

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!

enter image description here

ki44321
  • 65
  • 2
  • 5

1 Answers1

0

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.

Community
  • 1
  • 1
ki44321
  • 65
  • 2
  • 5