Select to view content in your preferred language

symbols have white outline?

3149
7
11-12-2010 07:53 AM
by Anonymous User
Not applicable
Original User: alnesbit

Hello all,

I'm using ArcGIS 10. I'm not sure what's causing this but hope you can help. In my flex 2.1 viewer I have point symbols. I am using a black background and all of my point symbols have an ugly white outline. If I choose a different point symbol the white outline is still there. How can I make this look more crisp and get rid of that ugly white outline? I have played around with my background color in my mxd frame too and using null or white doesn't change it.

Thanks in advance,
0 Kudos
7 Replies
DasaPaddock
Esri Regular Contributor
Do you see the outline if you export the image in the html form on the service's REST services directory page? Do they go away if you use png32?
0 Kudos
by Anonymous User
Not applicable
Original User: alnesbit

Hello Dasa,

Thank you for the response. I'm not exactly sure what you mean. When I go to the REST services directory page I see the symbol for the feature. If I right click the point symbol it will let me save out the image to a png to my desktop. I saved it out and opened it in paint and if I zoom in to about 200% I can see a black outline around the point. In paint, if I say View as BMP the image does not have the black outline.

I'm not sure where I can change it to png32. I think I know what you're referring to - serving the map image as either jpg or png32 right? I have read about that a bit here and there. Can you give me any more details?

I appreciate any help. Thanks,
0 Kudos
DasaPaddock
Esri Regular Contributor
Yes, I was referring to what happens when you go to the service and click on "Export Map" at the bottom of the page. For example go here:
http://sampleserver1.arcgisonline.com/ArcGIS/rest/services/Specialty/ESRI_StatesCitiesRivers_USA/Map...
Then click "Export Map" and then set "Background Transparent" to Yes and export again.

This only applies if you've configured your layer as "dynamic".
0 Kudos
by Anonymous User
Not applicable
Original User: alnesbit

Dasa,

Ok, mine looks slightly different. At the bottom I have "Export Image (GET)" and "Export Image (POST)". If I do the Export Image GET, I used png32 with Background transparent so the background turns black, then yes, my white outlines of my point symbols goes away.

So how do I get that to my website? What do I have to do now?

Thank you!
0 Kudos
DasaPaddock
Esri Regular Contributor
Are you compiling your Viewer from source? If you are, you can set the imageFormat of the dynamic layer in the MapManger code to "png32". If you're not, it's not a configurable option so you won't be able to change it from the default of png8. You could instead try using the layer as a "feature" layer, or try contacting Esri Support to fix the underlying cause of this issue.
http://support.esri.com
0 Kudos
by Anonymous User
Not applicable
Original User: alnesbit

oooh, ok. No, I'm not. I'm using the straight flex viewer 2.1 downloaded from the ESRI site. I haven't gotten advanced enough to get into Adobe Flex software and get into the code yet using the API etc. So I guess I'll either have to live with it or I'll have to learn Adobe Flex pretty quick. That's too bad that the flex viewer 2.1 guys didn't allow that to be changed to png32.

Thank you so much for your help, 🙂
0 Kudos
by Anonymous User
Not applicable
Original User: alnesbit

*Update, the viewer 2.2 lets you set the output to png32. However, if you're using ArcServer 9.3, it doesn't seem to output png32, even if you set it. I have posted to a different forum about this.
0 Kudos