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

Add tooltip to show measure + help message while drawing #3206

Merged
merged 2 commits into from Feb 5, 2015

Conversation

pgiraud
Copy link
Member

@pgiraud pgiraud commented Feb 4, 2015

The goal of this pull request is to update the measure example to show how to show the measurement while drawing. It relies on ol.Overlay.

Here's how it looks:
ol3_measure_tooltip

Please review.

@tsauerwein
Copy link
Member

Very nice example! I added some minor comments.

@elemoine
Copy link
Member

elemoine commented Feb 4, 2015

This is minor but don't you think we should change the style of the draw interaction's feature overlay? I find the "blue" too flashy for a measure tool. Yeah, certainly subjective.

@tschaub
Copy link
Member

tschaub commented Feb 5, 2015

This is great! With or without toning down the blue, I'm in favor or merging.

@pgiraud
Copy link
Member Author

pgiraud commented Feb 5, 2015

I changed the styling a bit. Merging.

pgiraud pushed a commit that referenced this pull request Feb 5, 2015
Add tooltip to show measure + help message while drawing
@pgiraud pgiraud merged commit b8a0d6b into openlayers:master Feb 5, 2015
@pgiraud pgiraud deleted the measure_tooltip branch February 5, 2015 08:48
@elemoine
Copy link
Member

elemoine commented Feb 5, 2015

I love the new styling! Very nice work.

@carolgit
Copy link

how to show tooltip when drawing a geom.circle?

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.

None yet

5 participants