..:D&G:.. Posted July 17, 2017 Share Posted July 17, 2017 Hi, so I've come across this nasty bug where onMarkerHit won't trigger on markers that have been attached to an object using 'attachElements'. I've tried googling around and it seems that this bug was posted on the Mantis but I couldn't find a fix for it. Does anyone know how to fix it? Thanks. Link to comment
f8upd8 Posted July 19, 2017 Share Posted July 19, 2017 (edited) You can create colshape with a size of desired marker and use onCoShapeHit. I hope it will be acceptable until bug isn't fixed. Edited July 19, 2017 by f8upd8 Link to comment
Gordon_G Posted July 19, 2017 Share Posted July 19, 2017 Attached colShapes don't work with this event. You'll need to make a loop with getElementsWhithinColShape(). Link to comment
f8upd8 Posted July 19, 2017 Share Posted July 19, 2017 6 hours ago, Gordon_G said: Attached colShapes don't work with this event. You'll need to make a loop with getElementsWhithinColShape(). Will not this affect perfomance? Link to comment
Gordon_G Posted July 19, 2017 Share Posted July 19, 2017 Of course it'll but there is no other way. Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now