Topic: OnClick event for lines

Hello, I'm currently using Online Maps Drawing API to create lines from point A to Point B (2d Map) but was wounding how to add an OnClick Event for the line just like the Marker OnClick event seen in the MarkerClickExample. Any help is greatly appreciated!!

Thanks

Re: OnClick event for lines

Hello.

In exactly the same way as for markers.
https://infinity-code.com/doxygen/onlin … 7c3bd5d9b1

Kind Regards,
Infinity Code Team.

uContext is Editor PowerPack (more than 40 tools) that take your workflow in Unity Editor to a next level, simplifies working with content, adds new features, corrects and improves the editor’s built-in behaviors. Click here to download uContext Basic for free.

Re: OnClick event for lines

Thank you, got it working smile