Qlik Community

Qlik GeoAnalytics Discussions

Discussion Board for collaboration regarding Qlik GeoAnalytics.

Highlighted
Matsa
Contributor

How could I change styles in geodata layer ?

Hello ,

I am new in using qlikview.

could you please guide me in order to change styles of geodata layer.

for example for changing the size of Icon, color of symbol and ....

I could not find any  document on this matter.

I found this link which could not help me .

https://developer.idevio.com/content/products/webmap5/IdevioWebMap-5.0.1/docs/webmap_api.html#idevio...

Thank you in advance.

regards

Mat

 

Labels (2)
2 Replies
Employee
Employee

Re: How could I change styles in geodata layer ?

The documentation gives an example on how to style polygon, line or symbol. Only applicable to GeoJSON and GML sources.

{"type":"polygon", "color":"white", "outline":"blue"},
{"type":"line", "color":"green", "width":"1"},
{"type":"symbol", "icon":{ "url" : "i://icons/images/dropgreen.png"}} 

For instance the line style is documented here:

https://developer.idevio.com/content/products/webmap5/IdevioWebMap-5.0.1/docs/webmap_api.html#LineSt...

Matsa
Contributor

Re: How could I change styles in geodata layer ?

Thank you @Patric_Nordstrom , 

But as I said before the document is not so clear, for example for 'symbol' How could I use IconKey  or Icons in the style:

https://developer.idevio.com/content/products/webmap5/IdevioWebMap-5.0.1/docs/webmap_api.html#Symbol...

I mean  what is the syntax of style for using one column as IconKey and how it works?

should we defien different styles base on different value or it could read from 'drawing info' of arcgis map?

I will be so grateful if you help me on this matter.

Thank you in advance.

Regards