Select to view content in your preferred language

transparency and labels, a real problem

3959
10
11-30-2010 09:49 AM
by Anonymous User
Not applicable
Original User: alnesbit

Hello all,

My head is spinning trying to figure this one out, I hope someone can help.

I have a polygon feature class that I need to have 60% transparency. But I also need it to have labels. I really need it to be just like in ArcMap and I'm not sure that's possible. So, these are the options that I see and none of them work.

1) put the school districts polygon feature class as a layer within a dynamic map service and set the alpha to 0.6. Put that map service below the other Parcels/city limits dynamic map service that has alpha = 1. Problem: the labels for the school districts are also 60% transparent and below the parcel lines, so you can't read them.

2) put the school districts in its own map service. Make the map service dynamic. Put it above the parcels/city limits map service. Problem: Now you can see the labels for the school districts just fine, but you can't see the road names and city limits labels from the other map service because the school districts are on top.

3) put the school districts polygons within the same map service as the parcels/city limits. Problem: I can't make the school districts transparent without everything being transparent, but the labels are all readable.

4) make two different layers of the school districts. One is for the polygon symbology and the other is (no symbology) just the labels. Add those two map services into the website. Problem: now if you turn off the school districts you still have the labels appearing. This will confuse most website users.

5) Make annotation for the school district names. Problem: not sure what scale to pick and I want them to dynamically scale like labels do when you zoom in/out. And also, you will have the school district names appearing when you turn off the polygons, just like in Problem 4.

ahhh, does anyone have any ideas? I did read something that said if I compiled myself from code instead of using the compiled version of the flex viewer and I set the output to png32, then I could recreate like from ArcMap. not sure that's true but I'm just using the compiled version for now anyway.

Appreciate it,
0 Kudos
10 Replies
by Anonymous User
Not applicable
Original User: alnesbit

Robert,

Thank you for the article. I think the key sentence in that document is "ArcGIS Server 9.3.1 optimized map services have been enhanced to generate output images of PNG32 type." This sentence tells me that at 9.3 it is not possible to output png32. So that's the answer to the question.

Thank you for your help!
0 Kudos