You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After struggling a little with the time slider demo (issue #20 - new post soon), upon a request from @johaahlf , I have been looking at turning on and off different place categories (defined by different IDs in the style.json file), but without success. I am hoping that @klokan or someone else can look at it and give me feedback? It is just a test for turning on and off the major settlements.
This is the key lines. The whole file is also attached.
var hideLayer = function(layerId) {
if (!STYLE_JSON) return;
var styleObj = JSON.parse(JSON.stringify(STYLE_JSON));
//accessing the style sheet with the ID places_major_settlement. Updated style version where set to visible on default (all boxes checked)
After struggling a little with the time slider demo (issue #20 - new post soon), upon a request from @johaahlf , I have been looking at turning on and off different place categories (defined by different IDs in the style.json file), but without success. I am hoping that @klokan or someone else can look at it and give me feedback? It is just a test for turning on and off the major settlements.
This is the key lines. The whole file is also attached.
//accessing the style sheet with the ID places_major_settlement. Updated style version where set to visible on default (all boxes checked)
};
checkboxes.zip
The text was updated successfully, but these errors were encountered: