-
-
Notifications
You must be signed in to change notification settings - Fork 278
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
Toggling labels #642
Comments
@Wernazuma I've got an initial attempt at a labeling widget. It basically creates an empty layer with only labels that a user selects from a dropdown. Its still buggy so I haven't put it on the "contributed widgets" repo yet but you can give it a shot if you want https://github.com/roemhildtg/cmv-widgets/blob/master/widgets/LabelLayer.js |
@roemhildtg We're giving it a try in a copy of our editor. Looks good for a long time, but ultimately doesn't label. We keep getting an error , maybe one of those still existing bugs you mention. Maybe analyzing the error in the app helps to see what's happening: https://www.hgis-indias.net/cmv-app-master/label/ Anyway, please keep me updated, this seems to be really useful for us, probably not for all layers, but for the "aggregated data" ones, where I can imagine people would want to use different values as labels and there's no need to label more than one of them. |
Moved to green3g/cmv-widgets#28 |
Sorry to add yet another issue so short after the last, but it's one thing that haunts me for some time now. Is there a way to achieve a user-controlled labelling, toggling it on/off, that does not involve creating a Group Layer with one layer for the symbols and another without symbology and only label?
That's our workaround at the moment, but it triples the number of layers (counting the group lyer too), and it is not intuitive for many users.
Especially since information density is so different from region to region, it make very little sense for us to predefine labelling based on zoom factor in the first place.
The text was updated successfully, but these errors were encountered: