I couldnt find the API for DrawingControls, in order to implement the Drawing Tools google maps api
How do we go about implementing this into the components?
@IAMtheIAM this is not supported right know. current solution would be to write a custom component for this use case.
I've implemented a custom component for this the other day along with custom overlays. I'd be happy to share the code if you'd like.
@tuneis a Pull Request would be awesome so that everyone can benefit from that :)
@SebastianM When I get some time I can do that for sure. I'll have to rework it a bit because it's more of a helper class than a component. Perhaps making it a service would be best. What do you think?
@tuneis would you mind publicizing what you have now? I would gladly use and help refactor for a project :)
@tuneis Could you please share your custom component?
@tuneis, please, could you share your custom component with us?
Sorry for the extremely slow response on this. I've been crazy busy and have had little time to make this any better but I will share what I have. It's essentially just a collection of helper files from a project I was on in the past so it may or may not work with your situation. Feel free to do what you will with these files, modify the source etc. If anything get's used to contribute to this project I would appreciate the credit. Thanks!
Has anyone had any luck with this or maybe have a working code example? I just need to be able to draw polygons in a nice clean way. I'm looking at the tools @tuneis provided and looks promising but possibly over-complicated for what I need, plus I'm getting a ton of compile time errors like "cannot find namespace "google" and call target not containing signatures for "super()"
Hi, I've just submitted a pull request to implement the drawing manager.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
Most helpful comment
Sorry for the extremely slow response on this. I've been crazy busy and have had little time to make this any better but I will share what I have. It's essentially just a collection of helper files from a project I was on in the past so it may or may not work with your situation. Feel free to do what you will with these files, modify the source etc. If anything get's used to contribute to this project I would appreciate the credit. Thanks!
gmap.zip