Leaflet layer tree plugin - overlays unvisible after base layer switch Announcing the arrival...

What do you call an IPA symbol that lacks a name (e.g. ɲ)?

Determinant of a matrix with 2 equal rows

Why aren't road bicycle wheels tiny?

Will I be more secure with my own router behind my ISP's router?

Why I cannot instantiate a class whose constructor is private in a friend class?

Could a cockatrice have parasitic embryos?

Why isn't everyone flabbergasted about Bran's "gift"?

How to translate "red flag" into Spanish?

Are there existing rules/lore for MTG planeswalkers?

Co-worker works way more than he should

Was Objective-C really a hindrance to Apple software development?

When I export an AI 300x60 art board it saves with bigger dimensions

Will I lose my paid in full property

What is a 'Key' in computer science?

France's Public Holidays' Puzzle

How long can a nation maintain a technological edge over the rest of the world?

RIP Packet Format

What's called a person who works as someone who puts products on shelves in stores?

Is a self contained air-bullet cartridge feasible?

Coin Game with infinite paradox

What *exactly* is electrical current, voltage, and resistance?

Why did Europeans not widely domesticate foxes?

Marquee sign letters

Married in secret, can marital status in passport be changed at a later date?



Leaflet layer tree plugin - overlays unvisible after base layer switch



Announcing the arrival of Valued Associate #679: Cesar Manara
Planned maintenance scheduled April 23, 2019 at 23:30 UTC (7:30 pm US/Eastern)Leaflet layer tree plugin - order layersDoes leaflet support KML Ground Overlays?GeoJSON, circlemarkers using Leaflet OverlappingMarkerSpiderfier plugin?How to switch base layer programmatically in MapBox/LeafletGeoTIFFS on Geoserver are served slowly, at too low resolutionUpdate Bootstrap Switch with Leaflet Layer GroupLeaflet JS PluginLeaflet layer tree plugin - order layersLeaflet Minimap width base layer changeHow to use L.singleTile plugin in LeafletLeaflet timeline plugin issue





.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty{ margin-bottom:0;
}







0















having the same problem as Leaflet layer tree plugin - order layers, i installed the solution but that does not work for me:



added zIndex:10 to the base layers



            code: "base",
name: "Base Layers",
active: true,
selectedByDefault: false,
openByDefault: true,
childLayers: [
{
code: "osm",
name: "OpenStreetMap.org",
active: true,
selectedByDefault: true,
openByDefault: true,
childLayers: [],
selectType: "NONE",
serviceType: "OSM",
params: {
url: osmOrgUrl,
attribution: osmTiles,
zIndex:10,
maxNativeZoom:19,
maxZoom:20
}
},
{
code: "osm_gray",
name: "OpenstreetMap.org gray",
active: true,
selectedByDefault: false,
openByDefault: true,
childLayers: [],
selectType: "NONE",
serviceType: "OSM_GRAY",
params: {
zIndex: 10
}
}


...



and zIndex:10000 to the overlays



                        {
code: "fire_hydrants",
name: "Hydrants",
active: true,
selectedByDefault: false,
openByDefault: true,
childLayers: [],
selectType: "MULTIPLE",
serviceType: "WMS",
coordinateSystem: "EPSG:4326",
onPopup: function (layer) {
return buildContentFromLayer(layer);
},
params: {
request: "getMap",
service: "WMS",
layers: "osm:Hydrants",
name: "Hydrants",
version: "1.1.0",
url: geosWMS,
format: "image/png8",
transparent: true,
zIndex: 10000,
maxFeatures: "1000"
},
},


...



but nothing changed :(



page is online: https://wambachers-osm.website/emergency/idx400.jsp



select Hydrants as overlay and then switch base layers.










share|improve this question














bumped to the homepage by Community 8 mins ago


This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.






















    0















    having the same problem as Leaflet layer tree plugin - order layers, i installed the solution but that does not work for me:



    added zIndex:10 to the base layers



                code: "base",
    name: "Base Layers",
    active: true,
    selectedByDefault: false,
    openByDefault: true,
    childLayers: [
    {
    code: "osm",
    name: "OpenStreetMap.org",
    active: true,
    selectedByDefault: true,
    openByDefault: true,
    childLayers: [],
    selectType: "NONE",
    serviceType: "OSM",
    params: {
    url: osmOrgUrl,
    attribution: osmTiles,
    zIndex:10,
    maxNativeZoom:19,
    maxZoom:20
    }
    },
    {
    code: "osm_gray",
    name: "OpenstreetMap.org gray",
    active: true,
    selectedByDefault: false,
    openByDefault: true,
    childLayers: [],
    selectType: "NONE",
    serviceType: "OSM_GRAY",
    params: {
    zIndex: 10
    }
    }


    ...



    and zIndex:10000 to the overlays



                            {
    code: "fire_hydrants",
    name: "Hydrants",
    active: true,
    selectedByDefault: false,
    openByDefault: true,
    childLayers: [],
    selectType: "MULTIPLE",
    serviceType: "WMS",
    coordinateSystem: "EPSG:4326",
    onPopup: function (layer) {
    return buildContentFromLayer(layer);
    },
    params: {
    request: "getMap",
    service: "WMS",
    layers: "osm:Hydrants",
    name: "Hydrants",
    version: "1.1.0",
    url: geosWMS,
    format: "image/png8",
    transparent: true,
    zIndex: 10000,
    maxFeatures: "1000"
    },
    },


    ...



    but nothing changed :(



    page is online: https://wambachers-osm.website/emergency/idx400.jsp



    select Hydrants as overlay and then switch base layers.










    share|improve this question














    bumped to the homepage by Community 8 mins ago


    This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.


















      0












      0








      0








      having the same problem as Leaflet layer tree plugin - order layers, i installed the solution but that does not work for me:



      added zIndex:10 to the base layers



                  code: "base",
      name: "Base Layers",
      active: true,
      selectedByDefault: false,
      openByDefault: true,
      childLayers: [
      {
      code: "osm",
      name: "OpenStreetMap.org",
      active: true,
      selectedByDefault: true,
      openByDefault: true,
      childLayers: [],
      selectType: "NONE",
      serviceType: "OSM",
      params: {
      url: osmOrgUrl,
      attribution: osmTiles,
      zIndex:10,
      maxNativeZoom:19,
      maxZoom:20
      }
      },
      {
      code: "osm_gray",
      name: "OpenstreetMap.org gray",
      active: true,
      selectedByDefault: false,
      openByDefault: true,
      childLayers: [],
      selectType: "NONE",
      serviceType: "OSM_GRAY",
      params: {
      zIndex: 10
      }
      }


      ...



      and zIndex:10000 to the overlays



                              {
      code: "fire_hydrants",
      name: "Hydrants",
      active: true,
      selectedByDefault: false,
      openByDefault: true,
      childLayers: [],
      selectType: "MULTIPLE",
      serviceType: "WMS",
      coordinateSystem: "EPSG:4326",
      onPopup: function (layer) {
      return buildContentFromLayer(layer);
      },
      params: {
      request: "getMap",
      service: "WMS",
      layers: "osm:Hydrants",
      name: "Hydrants",
      version: "1.1.0",
      url: geosWMS,
      format: "image/png8",
      transparent: true,
      zIndex: 10000,
      maxFeatures: "1000"
      },
      },


      ...



      but nothing changed :(



      page is online: https://wambachers-osm.website/emergency/idx400.jsp



      select Hydrants as overlay and then switch base layers.










      share|improve this question














      having the same problem as Leaflet layer tree plugin - order layers, i installed the solution but that does not work for me:



      added zIndex:10 to the base layers



                  code: "base",
      name: "Base Layers",
      active: true,
      selectedByDefault: false,
      openByDefault: true,
      childLayers: [
      {
      code: "osm",
      name: "OpenStreetMap.org",
      active: true,
      selectedByDefault: true,
      openByDefault: true,
      childLayers: [],
      selectType: "NONE",
      serviceType: "OSM",
      params: {
      url: osmOrgUrl,
      attribution: osmTiles,
      zIndex:10,
      maxNativeZoom:19,
      maxZoom:20
      }
      },
      {
      code: "osm_gray",
      name: "OpenstreetMap.org gray",
      active: true,
      selectedByDefault: false,
      openByDefault: true,
      childLayers: [],
      selectType: "NONE",
      serviceType: "OSM_GRAY",
      params: {
      zIndex: 10
      }
      }


      ...



      and zIndex:10000 to the overlays



                              {
      code: "fire_hydrants",
      name: "Hydrants",
      active: true,
      selectedByDefault: false,
      openByDefault: true,
      childLayers: [],
      selectType: "MULTIPLE",
      serviceType: "WMS",
      coordinateSystem: "EPSG:4326",
      onPopup: function (layer) {
      return buildContentFromLayer(layer);
      },
      params: {
      request: "getMap",
      service: "WMS",
      layers: "osm:Hydrants",
      name: "Hydrants",
      version: "1.1.0",
      url: geosWMS,
      format: "image/png8",
      transparent: true,
      zIndex: 10000,
      maxFeatures: "1000"
      },
      },


      ...



      but nothing changed :(



      page is online: https://wambachers-osm.website/emergency/idx400.jsp



      select Hydrants as overlay and then switch base layers.







      leaflet plugins






      share|improve this question













      share|improve this question











      share|improve this question




      share|improve this question










      asked Aug 18 '18 at 20:47









      wambacherwambacher

      488




      488





      bumped to the homepage by Community 8 mins ago


      This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.







      bumped to the homepage by Community 8 mins ago


      This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
























          1 Answer
          1






          active

          oldest

          votes


















          0














          "Solved" this problem by switching from Leaflet layer tree plugin to jstree.






          share|improve this answer
























          • It might help others if you could provide links to the plugins you reference, in case they have the same problem. :)

            – mike.bronner
            Dec 25 '18 at 3:49












          Your Answer








          StackExchange.ready(function() {
          var channelOptions = {
          tags: "".split(" "),
          id: "79"
          };
          initTagRenderer("".split(" "), "".split(" "), channelOptions);

          StackExchange.using("externalEditor", function() {
          // Have to fire editor after snippets, if snippets enabled
          if (StackExchange.settings.snippets.snippetsEnabled) {
          StackExchange.using("snippets", function() {
          createEditor();
          });
          }
          else {
          createEditor();
          }
          });

          function createEditor() {
          StackExchange.prepareEditor({
          heartbeatType: 'answer',
          autoActivateHeartbeat: false,
          convertImagesToLinks: false,
          noModals: true,
          showLowRepImageUploadWarning: true,
          reputationToPostImages: null,
          bindNavPrevention: true,
          postfix: "",
          imageUploader: {
          brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
          contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
          allowUrls: true
          },
          onDemand: true,
          discardSelector: ".discard-answer"
          ,immediatelyShowMarkdownHelp:true
          });


          }
          });














          draft saved

          draft discarded


















          StackExchange.ready(
          function () {
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fgis.stackexchange.com%2fquestions%2f293245%2fleaflet-layer-tree-plugin-overlays-unvisible-after-base-layer-switch%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown

























          1 Answer
          1






          active

          oldest

          votes








          1 Answer
          1






          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes









          0














          "Solved" this problem by switching from Leaflet layer tree plugin to jstree.






          share|improve this answer
























          • It might help others if you could provide links to the plugins you reference, in case they have the same problem. :)

            – mike.bronner
            Dec 25 '18 at 3:49
















          0














          "Solved" this problem by switching from Leaflet layer tree plugin to jstree.






          share|improve this answer
























          • It might help others if you could provide links to the plugins you reference, in case they have the same problem. :)

            – mike.bronner
            Dec 25 '18 at 3:49














          0












          0








          0







          "Solved" this problem by switching from Leaflet layer tree plugin to jstree.






          share|improve this answer













          "Solved" this problem by switching from Leaflet layer tree plugin to jstree.







          share|improve this answer












          share|improve this answer



          share|improve this answer










          answered Sep 2 '18 at 11:24









          wambacherwambacher

          488




          488













          • It might help others if you could provide links to the plugins you reference, in case they have the same problem. :)

            – mike.bronner
            Dec 25 '18 at 3:49



















          • It might help others if you could provide links to the plugins you reference, in case they have the same problem. :)

            – mike.bronner
            Dec 25 '18 at 3:49

















          It might help others if you could provide links to the plugins you reference, in case they have the same problem. :)

          – mike.bronner
          Dec 25 '18 at 3:49





          It might help others if you could provide links to the plugins you reference, in case they have the same problem. :)

          – mike.bronner
          Dec 25 '18 at 3:49


















          draft saved

          draft discarded




















































          Thanks for contributing an answer to Geographic Information Systems Stack Exchange!


          • Please be sure to answer the question. Provide details and share your research!

          But avoid



          • Asking for help, clarification, or responding to other answers.

          • Making statements based on opinion; back them up with references or personal experience.


          To learn more, see our tips on writing great answers.




          draft saved


          draft discarded














          StackExchange.ready(
          function () {
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fgis.stackexchange.com%2fquestions%2f293245%2fleaflet-layer-tree-plugin-overlays-unvisible-after-base-layer-switch%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown





















































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown

































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown







          Popular posts from this blog

          Щит и меч (фильм) Содержание Названия серий | Сюжет |...

          Венесуэла на летних Олимпийских играх 2000 Содержание Состав...

          Meter-Bus Содержание Параметры шины | Стандартизация |...