Skip to content

Measurement Maker CSS ID "myMarkerDiv" accidentally removed? (XeoKitSDK > v2.6.35) #1882

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
camya opened this issue May 12, 2025 · 0 comments

Comments

@camya
Copy link

camya commented May 12, 2025

In XeoKit SDK > v2.6.35, the measurement marker no longer has a CSS id (myMarkerDiv). It was removed, maybe by accident?

In our application we have implemented distance measurements. (using the DistanceMeasurementsPlugin)

Problem:.

The measurements work fine, but the measurement marker is displayed in a totally wrong position..

Why the wrong position? It may be because our application lives in a sidebar and the canvas can't span the full height and width of the browser.

Our solution so far has been to hide this wrongly positioned marker using its ID "myMarkerDiv", e.g. div#myMarkerDiv { display: none; }.

Unfortunately, the ID has been removed. (for both DistanceMeasurementsMouseControl and AngleMeasurementsMouseControl.js)

v2.6.34 (with ID myMarkerDiv)

v2.6.35 (ID removed)

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

No branches or pull requests

1 participant