-
Notifications
You must be signed in to change notification settings - Fork 4
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
Fix issues #158
Fix issues #158
Conversation
@ilyankou, by any chance have you a way to add subtitles to layercontrol. Layer control groups plug in has a shortcoming that means my application of that plug in won't work (ismyrnow/leaflet-groupedlayercontrol#57 (comment)). Any thoughts would be much appreciated! |
@corrigancd Do you have a repo I can use as an example? |
@ilyankou, it's line 227 and 233 in the file below. Im wondering how to add a subtitle to go before any poilayer is added? The addpoilayer method is called from viscontroller.js. https://github.com/nreese/enhanced_tilemap/blob/master/public/vislib/_map.js |
@corrigancd I would use jQuery to
This is definitely not elegant but would work. Another approach would be to go to Leaflet source code and modify add/remove layer functions to also add the subtitle along with the checkbox + label. |
@ilyankou,thanks for the tips. I may end up adding layer controlgroup min file to my repo and making the 1 line fix there. Thanks for the super fast responses though 👍 |
Fix issues #154 #155 #156 #157