Select to view content in your preferred language

What is the best practice to create smart legend?

2202
2
03-12-2016 10:29 PM
ShaharBukra
Regular Contributor

Hey,

We want to create smart legend which only display in the legend symbol of the entites that are on the visible extent of the map, not by layers but by entities.

layers that has value dependent renderer will only show the symbol of the features in the extent (if the layer has 30 different values and only 2 are with in the extent, the legend will only show 2 swatches)

Thanks,

Shahar.

Michal GrinvaldKeren CohenShay Tsadik

Tags (2)
0 Kudos
2 Replies
SteveCole
Honored Contributor

I haven't done this myself but a quick forum search returned this.

ShaharBukra
Regular Contributor

Hey Steve Cole,

Thanks for the replay...

I've already saw it and its not so good for me...

it will work well if i only have feature layers.

but once i have Dynamic Map Service with more then 30 sub layers. (and i have more then one map service in my app )

it takes a lot of time to do all of this queries.

im looking for a more efficient solution

thanks again,

Shahar

0 Kudos