MarkerPolygon is an editable polygon component developed to the HereMaps Javascript API.
It is based on the editable and draggable shapes available on the GoogleMaps API, which has intermediate vertexes where the user can click and drag it to customize its shape the way it wants.
This component uses canvas
to make the drag movement smoother when compared to others code examples available in the Here documentation.
Dependencies:
- HereMaps Javascript API v2.5
- jQuery v1.7
To-Do:
- Include here more information about how to initialize it, available arguments and methods;
- Provide a live demo;
- Improve its encapsulation by using self involking anonymous function;
- Expand it to work with new HereMaps API v3.0;
- Include a minimized version of the code;
- Remove jQuery dependency;
- Lots of other important things.. (this is just the beginning :D)
I'm new to GitHub, so if you have any comment or suggestion to make, feel free to contact me at [email protected]