Initializing drawing #266
Closed
nedimcimpo
started this conversation in
General
Replies: 1 comment 1 reply
-
To add one or more initial shapes in the drawing example you could add an For a polygon it could look something like this: https://github.com/visgl/react-google-maps/blob/main/examples/drawing/src/undo-redo-control.tsx#L33
|
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Is there a "native" way of initializing drawing example with polygon? I have array of latitude and longitude information that I need to convert into editable drawing polygon.
Beta Was this translation helpful? Give feedback.
All reactions