a.schaefer-esri-de-esridist

PictureMarkerSymbol with border?

Discussion created by a.schaefer-esri-de-esridist on Jan 17, 2011
Latest reply on Jan 18, 2011 by lowgas
Hi.

I want to create a PictureMarkerSymbol with a white border (2px) around it. Can anybody tell me how to do it? I don't know, why I'm stuck at this point. :confused:

This code doesn't do it.
var symbol = new esri.symbol.PictureMarkerSymbol(item.photo_file_url, 32, 32);
            symbol.setSize(35);
            symbol.setColor(new dojo.Color([255, 255, 255]));


The goal is: If I add the Picture Marker Symbols to the map, they overlap. With a small border it's easier to differentiate them.

Thanks in advance...
Axel

Outcomes