img-mapper/react-img-mapper

Dynamic areas

Closed this issue · 4 comments

Hi, I have a questions about coords. In the examples, the areas field is always a json. I'm wondering how to add coords dynamically with this tool. I need to draw a polygon, get coords and draw it on image, is it possible with this tool?

Thank you!

You need to provide the JSON always, please check #24

Great, thank you!

Sorry to insist, do you know about some library to generate these coordinates programmatically? thanks!

Sorry to insist, do you know about some library to generate these coordinates programmatically? thanks!

No