QlikMapsQlikMapsFAQ/Common ScenariosUsageHow do I make a WMS or Tile (WMTS) layer display by default?

How do I make a WMS or Tile (WMTS) layer display by default?

You can make a WMS or Tile layer default to "on" by slightly changing your WMS or Tile expression.

Note: To see an example of a WMS expression, see QlikMaps for Multilayer: WMS Layers. For an example of a Tile (WMTS) expression, see QlikMaps for Multilayer: Tile (WMTS) Layers.

Edit the WMS or Tile (WMTS) expression

Edit the WMS or Tile (WMTS) expression

Simply edit the "isDefault" parameter in the expression to say "on". The edited layer will now show by default every time the object is loaded.

NOTE: Though this is a WMS layer, the "isDefault" property works the same way for a Tile (WMTS) layer.

Note: The spelling must be exactly "on", otherwise QlikMaps will default to "off".