GoogleMapsAddon
GoogleMapsAddon copied to clipboard
Add support for drawing tools
If it is possible there should be option for placing(drawing) polylines on the map. drawingModes: ['marker', 'circle', 'polygon', 'polyline', 'rectangle']
If it is possible there should be option for placing(drawing) polylines on the map. drawingModes: ['marker', 'circle', 'polygon', 'polyline', 'rectangle']
If you're referring to creating lines, markers and polygons from the server side, that is already supported (take a look at the demo source code and also at the demo itself by clicking "Add Polygon")
What are not supported are circles, if you need that, please create a different issue.
Thanks for the feedback!
Thanks for response, no I don't need circle, for me it's enough to add marker and line...
I've been investigating this feature and adding the drawing toolbar will implied having to add new definitions in both, the web-component and this addon. In order to work, new definitions for the missing shapes are needed: circle, rectangle (similar at what already exists for polygons and markers) and the same for the toolbar's drawing manager.
Line is a very precious resource.
++
If it is possible there should be option for placing(drawing) polylines on the map. drawingModes: ['marker', 'circle', 'polygon', 'polyline', 'rectangle']
If you're referring to creating lines, markers and polygons from the server side, that is already supported (take a look at the demo source code and also at the demo itself by clicking "Add Polygon")
What are not supported are circles, if you need that, please create a different issue.
Thanks for the feedback!
In the example there are only polygon. It mainly takes the line. Circles, rectangles, triangles can be drawn with polygon, but lines are hopeless, the polygon "closes" and is outside the scope of any line.
Hi @jonasrotilli . This ticket was created for adding support for drawing tools, so the user can draw features directly on maps. I've created a new ticket for handling lines when creating features programmatically from the server side. This ticket will track the progress of of enabling drawing tools in the map. Thanks for the feedback!