Skip to content
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

PopupFeature Hide Collaspe Button #1091

Open
ngjiajunsg opened this issue Aug 1, 2024 · 2 comments
Open

PopupFeature Hide Collaspe Button #1091

ngjiajunsg opened this issue Aug 1, 2024 · 2 comments
Labels

Comments

@ngjiajunsg
Copy link

image

hi, i need some help to know whether am i able to disable the button in red box

@Viglino
Copy link
Owner

Viglino commented Aug 2, 2024

You can style it using CSS:

/* hide fix */
.ol-popup-content .ol-fix {
  display: none;
}

or just disabled

/* disable fix */
.ol-popup-content .ol-fix {
  pointer-events: none;
  opacity: 0.5;
}

@ngjiajunsg
Copy link
Author

ngjiajunsg commented Aug 2, 2024

thanks Viglino for the fast reply, i implement hide fix do solve the issue.. i try also disable but seem like not working as i click it still will move to top right.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants