<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: PictureMarkerSymbol with border? in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/picturemarkersymbol-with-border/m-p/109305#M10144</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;so, your pic is like 28x28? and your setting the h,w to 32x32 to get a background white border to show through? &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;doesn't the constructor just stretch the pic to fit the actual parameters set (ie 32x32)? thus hiding your white border?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;if this is the case (and i am not sure it is), could you use 2 symbols? one larger (and under) the other? with the pic on top of the other symbol?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 18 Jan 2011 23:17:18 GMT</pubDate>
    <dc:creator>timgogl</dc:creator>
    <dc:date>2011-01-18T23:17:18Z</dc:date>
    <item>
      <title>PictureMarkerSymbol with border?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/picturemarkersymbol-with-border/m-p/109304#M10143</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;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:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;This code doesn't do it.&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="plain" name="code"&gt;var symbol = new esri.symbol.PictureMarkerSymbol(item.photo_file_url, 32, 32);
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; symbol.setSize(35);
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; symbol.setColor(new dojo.Color([255, 255, 255]));&lt;/PRE&gt;&lt;DIV style="display:none;"&gt; &lt;/DIV&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;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.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks in advance...&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Axel&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 17 Jan 2011 13:10:27 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/picturemarkersymbol-with-border/m-p/109304#M10143</guid>
      <dc:creator>AxelSchaefer</dc:creator>
      <dc:date>2011-01-17T13:10:27Z</dc:date>
    </item>
    <item>
      <title>Re: PictureMarkerSymbol with border?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/picturemarkersymbol-with-border/m-p/109305#M10144</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;so, your pic is like 28x28? and your setting the h,w to 32x32 to get a background white border to show through? &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;doesn't the constructor just stretch the pic to fit the actual parameters set (ie 32x32)? thus hiding your white border?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;if this is the case (and i am not sure it is), could you use 2 symbols? one larger (and under) the other? with the pic on top of the other symbol?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Jan 2011 23:17:18 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/picturemarkersymbol-with-border/m-p/109305#M10144</guid>
      <dc:creator>timgogl</dc:creator>
      <dc:date>2011-01-18T23:17:18Z</dc:date>
    </item>
  </channel>
</rss>

