Select to view content in your preferred language

Could i custom the name of layer visiblity in SFV.

531
1
06-30-2010 06:02 PM
dengxunfei
Emerging Contributor
Hi, when i use the SFV to bulid an Web appliction, i found that  the map layer visiblity name in liverlayer widget shows the name as "ArcGISDynamicMapServiceLayer137".

i tried to find this name in all my workspace, but unfortunately, i didnt get that. could anyone tell me where to fixed this one, just change it  as layername or something that I can know the layername clearly. thanks very much for your suggestion.

---
afeiarims
Tags (2)
0 Kudos
1 Reply
weeyeo
by
Emerging Contributor
Hi, when i use the SFV to bulid an Web appliction, i found that  the map layer visiblity name in liverlayer widget shows the name as "ArcGISDynamicMapServiceLayer137".

i tried to find this name in all my workspace, but unfortunately, i didnt get that. could anyone tell me where to fixed this one, just change it  as layername or something that I can know the layername clearly. thanks very much for your suggestion.

---
afeiarims


You need to add these "tiledlayer.name = label;" and "dynlayer.name = label;" to your MapManager .mxml under config function on case statement for both.
Hope this help!
0 Kudos