Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@Zeromark30
Copy link
Contributor

Add the option for circles in VehicleImageMap using coordinate system from https://www.image-map.net/

Add the option for circles in VehicleImageMap using coordinate system from  https://www.image-map.net/
@hargata hargata changed the base branch from main to Hargata/1059 September 17, 2025 14:16
@hargata
Copy link
Owner

hargata commented Sep 17, 2025

Thank you, I'll be making some tweaks after I merge this in because I think relying on the logic that 3 coordinates always = circle is kinda flawed because it can potentially be a triangle polygon, so I'll be adding a "shape" attribute to the image map, I will tag you in the new PR.

@hargata hargata changed the base branch from Hargata/1059 to Hargata/image.map.update September 17, 2025 14:20
@hargata hargata merged commit 59868f2 into hargata:Hargata/image.map.update Sep 17, 2025
@Zeromark30
Copy link
Contributor Author

I believe a triangle poly would be six numbers, each cord is an x,y. the circle being just 3 numbers is due to x,y,radius but it does future proof the implementation

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants