Select to view content in your preferred language

A problem about adding feature layer's label

746
1
09-23-2013 06:02 AM
sailiTang
Occasional Contributor
Hi,

I am using the code 1 to add my main map. The following map service has 7 layers. For the main map, only layer 3 and 6???s defaultVisibility is True. On my webpage, I would like to select different region name and the map will be zoomed in to show region details(such as district names). Please see P2. The region details will be in Layer 2 but this layer???s defaultVisibility is False. I use the code 2 to add layer 2, but you can see my map P2, only region symbols are shown but labels are not shown. It should show details district names. I am sure that I have checked on Label Features for this layer. Could you tell me how I can show the labels? Please open the attachment to see the code and picture. Thanks.

saili
0 Kudos
1 Reply
sailiTang
Occasional Contributor
No one knows? How do you do when you want to show more details when map zooms in and you want to show the basic map when map zooms out?
0 Kudos