I found library: geometrycontrols that is written to api v2 and allows adding buttons. How to make a toggle button to add a marker in the api v3? I have initiated map etc.
I found library: geometrycontrols that is written to api v2 and allows adding buttons.
Share
You can add an arbitrary structured
<div>to the map:You add a listener to this control or to its children, e.g.:
You position the control on the map:
For details, see:
Custom Controls
Example