<?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 PictureMarkerSymbol - Assign border, or css styling in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/picturemarkersymbol-assign-border-or-css-styling/m-p/422087#M38827</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 have created a map which shows properties for sale. Map can be seen here:&lt;/SPAN&gt;&lt;A href="http://fastognir.kort.fo/"&gt; http://fastognir.kort.fo&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;When I zoom in on map, the symbols which identify the location of the property change to images of the properties. I define the image by PictureMarkerSymbol.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;When zoomed out I use different colors to differentiate between property types, such as terraced, semi terraced, apartment, bungalow, etc.... I would like to propagate this colors unto the images. So my questions are:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;OL&gt;&lt;BR /&gt;&lt;LI&gt;Is there a way to add a border around the PictureMarkerSymbol, preferably border on right side, 15px wide. &lt;/LI&gt;&lt;BR /&gt;&lt;LI&gt;Is there a way to change the properties of the image by css. I tried and I have successfully added a custom css style by using jquery selectors on the fly once the images are generated by using event listner (on map update end), but the sytling didn't show on the map.&lt;/LI&gt;&lt;BR /&gt;&lt;/OL&gt;&lt;BR /&gt;&lt;SPAN&gt;Currently I solved the problem by adding a new grapahic layer, which adds borders, but this is not optimal, especially in areas where images are overlapping. Also I do not like the idea of using multiple graphics layers if not necessary.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Attached images show the zoom in and zoom out state of the map.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;[ATTACH=CONFIG]31570[/ATTACH]&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;[ATTACH=CONFIG]31571[/ATTACH]&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Martin&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 19 Feb 2014 07:14:24 GMT</pubDate>
    <dc:creator>MartinSirkovsky</dc:creator>
    <dc:date>2014-02-19T07:14:24Z</dc:date>
    <item>
      <title>PictureMarkerSymbol - Assign border, or css styling</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/picturemarkersymbol-assign-border-or-css-styling/m-p/422087#M38827</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 have created a map which shows properties for sale. Map can be seen here:&lt;/SPAN&gt;&lt;A href="http://fastognir.kort.fo/"&gt; http://fastognir.kort.fo&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;When I zoom in on map, the symbols which identify the location of the property change to images of the properties. I define the image by PictureMarkerSymbol.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;When zoomed out I use different colors to differentiate between property types, such as terraced, semi terraced, apartment, bungalow, etc.... I would like to propagate this colors unto the images. So my questions are:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;OL&gt;&lt;BR /&gt;&lt;LI&gt;Is there a way to add a border around the PictureMarkerSymbol, preferably border on right side, 15px wide. &lt;/LI&gt;&lt;BR /&gt;&lt;LI&gt;Is there a way to change the properties of the image by css. I tried and I have successfully added a custom css style by using jquery selectors on the fly once the images are generated by using event listner (on map update end), but the sytling didn't show on the map.&lt;/LI&gt;&lt;BR /&gt;&lt;/OL&gt;&lt;BR /&gt;&lt;SPAN&gt;Currently I solved the problem by adding a new grapahic layer, which adds borders, but this is not optimal, especially in areas where images are overlapping. Also I do not like the idea of using multiple graphics layers if not necessary.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Attached images show the zoom in and zoom out state of the map.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;[ATTACH=CONFIG]31570[/ATTACH]&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;[ATTACH=CONFIG]31571[/ATTACH]&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Martin&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Feb 2014 07:14:24 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/picturemarkersymbol-assign-border-or-css-styling/m-p/422087#M38827</guid>
      <dc:creator>MartinSirkovsky</dc:creator>
      <dc:date>2014-02-19T07:14:24Z</dc:date>
    </item>
    <item>
      <title>Re: PictureMarkerSymbol - Assign border, or css styling</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/picturemarkersymbol-assign-border-or-css-styling/m-p/422088#M38828</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Original User: pepatosp&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Hi.&lt;BR /&gt;&lt;BR /&gt;I have created a map which shows properties for sale. Map can be seen here:&lt;A href="http://fastognir.kort.fo/"&gt; http://fastognir.kort.fo&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;When I zoom in on map, the symbols which identify the location of the property change to images of the properties. I define the image by PictureMarkerSymbol.&lt;BR /&gt;&lt;BR /&gt;When zoomed out I use different colors to differentiate between property types, such as terraced, semi terraced, apartment, bungalow, etc.... I would like to propagate this colors unto the images. So my questions are:&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;OL&gt;&lt;BR /&gt;&lt;LI&gt;Is there a way to add a border around the PictureMarkerSymbol, preferably border on right side, 15px wide. &lt;/LI&gt;&lt;BR /&gt;&lt;LI&gt;Is there a way to change the properties of the image by css. I tried and I have successfully added a custom css style by using jquery selectors on the fly once the images are generated by using event listner (on map update end), but the sytling didn't show on the map.&lt;/LI&gt;&lt;BR /&gt;&lt;/OL&gt;&lt;BR /&gt;Currently I solved the problem by adding a new grapahic layer, which adds borders, but this is not optimal, especially in areas where images are overlapping. Also I do not like the idea of using multiple graphics layers if not necessary.&lt;BR /&gt;&lt;BR /&gt;Attached images show the zoom in and zoom out state of the map.&lt;BR /&gt;&lt;BR /&gt;[ATTACH=CONFIG]31570[/ATTACH]&lt;BR /&gt;[ATTACH=CONFIG]31571[/ATTACH]&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;Martin&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;What if you use a &lt;/SPAN&gt;&lt;A href="https://developers.arcgis.com/javascript/jsapi/picturefillsymbol-amd.html"&gt;PictureFillSymbol&lt;/A&gt;&lt;SPAN&gt; and work the outline property instead of using PictureMarkerSymbol? Is this feasible?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Feb 2014 09:50:43 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/picturemarkersymbol-assign-border-or-css-styling/m-p/422088#M38828</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2014-02-19T09:50:43Z</dc:date>
    </item>
    <item>
      <title>Re: PictureMarkerSymbol - Assign border, or css styling</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/picturemarkersymbol-assign-border-or-css-styling/m-p/422089#M38829</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;That's a good idea and I will give it a try.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;But I am not sure that you can define a border just on one side of the feature by using PictureFillSymbol.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;-------&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Martin&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Feb 2014 12:01:30 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/picturemarkersymbol-assign-border-or-css-styling/m-p/422089#M38829</guid>
      <dc:creator>MartinSirkovsky</dc:creator>
      <dc:date>2014-02-19T12:01:30Z</dc:date>
    </item>
    <item>
      <title>Re: PictureMarkerSymbol - Assign border, or css styling</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/picturemarkersymbol-assign-border-or-css-styling/m-p/422090#M38830</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Original User: pepatosp&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;That's a good idea and I will give it a try.&lt;BR /&gt;&lt;BR /&gt;But I am not sure that you can define a border just on one side of the feature by using PictureFillSymbol.&lt;BR /&gt;&lt;BR /&gt;-------&lt;BR /&gt;Martin&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I think you're right. Using the API standard approach, you'll probably end with a border around the whole picture. What you can do is to control the type, color and size of this border.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Feb 2014 12:24:03 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/picturemarkersymbol-assign-border-or-css-styling/m-p/422090#M38830</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2014-02-19T12:24:03Z</dc:date>
    </item>
  </channel>
</rss>

