QlikMaps for Multilayer: Layers
The Layers accordion is where you add your source objects, which are your existing QlikMaps objects (Points or Polygon) that you want to source in your Multilayer object.
NOTE: As of QlikMaps 2.2, you can add an exclamation mark "!" before the object ID to add a layer to your multilayer map object but not display it. This way, you can have layers ready to display when needed, but keep a simpler default map.
Layers
Polygon Layers
This is where you add the object ID for the Polygon Object you want to add as a layer. Simply add in the object ID, and the Multilayer object will add the Polygon object to both the map and the layer control. You can toggle the display of the layer using the checkbox on the layer control.
Note: The caption for the sourced object will be the title of the layer added to the layer control.
Note: The "QlikMaps for Polygons" object should always be available to return data, so it is important that:
- "Use Show Condition" is never used on the source "QlikMaps for Polygons" object
- The source "QlikMaps for Polygons" object is never minimized
Polygon template
This is the template from the Polygon expression, repeated here for your reference.
/*
This expression should return the chart ID of a valid "QlikMaps for Polygons" object to be used as the source of a polygon layer.
This "QlikMaps for Polygons" object can reside on another tab, even if the tab is hidden.
The "QlikMaps for Polygons" object should always be available to return data, so it is important that:
1) "Use Show Condition" is never used on the source "QlikMaps for Polygons" object
2) The source "QlikMaps for Polygons" object is never minimized
The caption/label for the "QlikMaps for Polygons" object is what will appear in the layer selector control
Example 1: Show a polygon layer using a "QlikMaps for Polygons" object with an object ID of "CH02"
CH02
Example 2: Show a polygon layer using "CH02" only if less than 500 zip codes are selected
=if(count(distinct Zip) < 500, 'CH02')
*/
Point Layers
This is where you add the object ID for the Points Object you want to add as a layer. Simply add in the object ID, and the Multilayer object will add the Points object to both the map and the layer control. You can toggle the display of the layer using the checkbox on the layer control.
Note: The caption for the sourced object will be the title of the layer added to the layer control.
Note: The "QlikMaps for Points" object should always be available to return data, so it is important that:
- "Use Show Condition" is never used on the source "QlikMaps for Points" object
- The source "QlikMaps for Points" object is never minimized
Point template
This is the template from the Point expression, repeated here for your reference.
/*
This expression should return the chart ID of a valid "QlikMaps for Points" object to be used as the source of a point layer.
The source "QlikMaps for Points" object can reside on another tab, even if the tab is hidden.
The "QlikMaps for Points" object should always be available to return data, so it is important that:
1) "Use Show Condition" is never used on the source "QlikMaps for Points" object
2) The source "QlikMaps for Points" object is never minimized
The caption/label for the "QlikMaps for Points" object is what will appear in the layer selector control
Example 1: Show a point layer using a "QlikMaps for Points" object with an object ID of "CH02"
CH02
Example 2: Show a point layer using "CH02" only if less than 500 zip codes are selected
=if(count(distinct Zip) < 500, 'CH02')
*/