Skip to Content
avatar image
Former Member

Geo Map Drill down Problem

I made a Geo map with marker type and i want to filter a data source based on selected marker !!?

your help is much appreciated

Regards,

Youssef

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • Best Answer
    Dec 01, 2016 at 01:39 PM

    Hi Youssef,

    you can use this script:
    var selection = GEO_MAP.getSelectedMember("DIMENSION");
    DS.setFilter("DIMENSION", selection);
    GEO_MAP.setLayerVisible("LAYER_1",false);
    GEO_MAP.setLayerVisible("LAYER_2",true);

    where GEO_MAP is the geo map component, "DIMENSION" is the dimension in the GEO_MAP, DS is the data source you want to filter.
    You have to create two layers: one for the first selection ("LAYER_1") and the other for the drill down ("LAYER_2").

    Regards,

    Giulia

    Add comment
    10|10000 characters needed characters exceeded