thegartrellgroup / mapbox-gl-js-layer-tree Goto Github PK
View Code? Open in Web Editor NEWAllow users to interactively organize and reposition different map layers
License: MIT License
Allow users to interactively organize and reposition different map layers
License: MIT License
map.on('dataend'
, - is not implemented...yet
also ensure sourcedataloading
covers all layer types
map.setStyle()
On/Off functionality - checkboxes?
Layers need to have a default/initial state and ability to be either off and on
Enable ability to construct both parent directories and layers (placed within a specific parent)
Hello,
How insert raster layers in this module ?
Thnks
Sylvain Becquaert
Some 'sources' can have multiple layers (which are identified by 'ids')
Layers within a grouped layer do not retain layer order when a user changes the layer order of that grouped layer with other grouped layers within the layer tree.....that's a mouthful. I'll send a separate email with data/js so you guys can test on your end.
Hello,
I have an mapping app and I try to have an layer tree.
I found your module, but positions are defined.
I would like to know how integer this legend into a div ?
Thanks
Sylvain
I am using this control outside the map and just noticed that scrolling inside the legend and sorting does not work on mobile. It looks like this is a jquery sortable issue. Has anyone run into this and found a workaround. I am specifically interested in a workaround for scrolling. I'll post my progress here if any.
Hello,
I'd like to know how to obtain a dynamic legend, i.e. a legend that is updated as soon as a new layer exists. For example, in my web application, I'd like to include a "search results" entry in the legend, but as this layer doesn't yet exist, the legend doesn't work.
Is there any solution ?
Thanks
"If you add a layer from the Layer Tree and using the Draw API draw a feature…the feature draws on top as it should. In this example I drew a polygon over the Runway layer…If you reorder any root folder in the Layer Tree the drawn features goes to the bottom (it should always remain on top as it’s a markup that needs to be seen by the user)."
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.