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

Openlayers Plus tooltips #14

Open
Yanni opened this issue Apr 14, 2011 · 1 comment
Open

Openlayers Plus tooltips #14

Yanni opened this issue Apr 14, 2011 · 1 comment

Comments

@Yanni
Copy link

Yanni commented Apr 14, 2011

Is there a way to make the tooltips text appear on a white background? The text gets lost on top of the map detail and other markers and so is barely legible. I'm hoping it is possible to add a white background or failing that, to change the color of the text.

I am by no means an expert on programming, so if there is a place in openlayers_plus_behavior_tooltips.js that I need to go to do this, instructions for a dumby would be much appreciated.

Thank you!
Yanni

@tmcw
Copy link

tmcw commented Apr 15, 2011

You'll need to style the tooltips - it should just be some CSS in your theme, something like

.openlayers-tooltip {
  background-color:#fff;
  }

Or similar. See the tooltip code for the classes to style from.

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

2 participants