Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Want to see what's currently in public preview? We've pulled it all together in one place. Check it out here
cancel
Showing results for 
Search instead for 
Did you mean: 
Joaquin_Lazaro
Partner - Specialist II
Partner - Specialist II

SVG Maps

Hi:

I've created an app that shows a world map with the related data.

Is it possible to switch to national maps (by province) when selected over a country?

Thank you

Labels (1)
1 Solution

Accepted Solutions
Joaquin_Lazaro
Partner - Specialist II
Partner - Specialist II
Author

Thanks Steve

I've showed the national map using this

= IF (GetSelectedCount(Country)=1, only(CountryMapFile), 'world.svg')

View solution in original post

2 Replies
Anonymous
Not applicable

Hi Joaquin,

You can specify this kind of expression in the Load SVG path

=if(count(DISTINCT CountryCode)>1, 'World.svg', only(FileName))

with the FileNames referencing the necessary SVG file.

Joaquin_Lazaro
Partner - Specialist II
Partner - Specialist II
Author

Thanks Steve

I've showed the national map using this

= IF (GetSelectedCount(Country)=1, only(CountryMapFile), 'world.svg')