<?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: Custom marker symbols in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/custom-marker-symbols/m-p/183707#M17046</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Glad to help!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 28 Feb 2012 14:15:15 GMT</pubDate>
    <dc:creator>derekswingley1</dc:creator>
    <dc:date>2012-02-28T14:15:15Z</dc:date>
    <item>
      <title>Custom marker symbols</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/custom-marker-symbols/m-p/183701#M17040</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi all&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I'm trying to find examples or get advice on how to create a custom marker symbol. Some background, I have a georss feed that provides my site with Hydrological information. What I want to be able to do is display on the map the current value at a monitoring site, along with an image that denotes what type of site that is, eg River flow, Water Temperature etc, The colour of the symbol will change based on a custom parameter in the georss feed which indicates what level of alert the site is in, eg Blue, Green ,Red etc. I can't seem to find any info on how to do this. I'm quite new to the javascript api, but I've done the same thing before in Silverlight, but obviously js is a very different beast. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Any advice or tips on where to find advice would be greatly appreciated.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 27 Feb 2012 02:17:12 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/custom-marker-symbols/m-p/183701#M17040</guid>
      <dc:creator>GrantCarroll</dc:creator>
      <dc:date>2012-02-27T02:17:12Z</dc:date>
    </item>
    <item>
      <title>Re: Custom marker symbols</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/custom-marker-symbols/m-p/183702#M17041</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi Grant,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I haven't worked with GeoRSS before but there are a few things I think you need to do - retrieve the feed, add it to your map and then symbolise the data based on unique values.&amp;nbsp; If you're familiar with jQuery you could use &lt;/SPAN&gt;&lt;A href="http://blogs.esri.com/Dev/blogs/arcobjectsdevelopment/archive/2011/03/23/ArcGIS-API-for-JavaScript-Tips_2D00_n_2D00_Tricks_3A00_-Parsing-GeoRSS-with-jQuery.aspx"&gt;this &lt;/A&gt;&lt;SPAN&gt;&lt;SPAN&gt; blog post to find out how to retrieve and add the feed.&amp;nbsp; Once you have the data in your map you could use a renderer to symbolise it.&amp;nbsp; The sample [URL="&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://help.arcgis.com/en/webapi/javascript/arcgis/demos/renderer/renderer_unique_value.html]here[/URL" rel="nofollow" target="_blank"&gt;http://help.arcgis.com/en/webapi/javascript/arcgis/demos/renderer/renderer_unique_value.html]here[/URL&lt;/A&gt;&lt;SPAN&gt;] shows how to render data based on unique values in a feature layer.&amp;nbsp; Obviously you'd be symbolising the graphics added from the rss feed and you'd want to use a markersymbol instead.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 27 Feb 2012 09:33:35 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/custom-marker-symbols/m-p/183702#M17041</guid>
      <dc:creator>EdSaunders</dc:creator>
      <dc:date>2012-02-27T09:33:35Z</dc:date>
    </item>
    <item>
      <title>Re: Custom marker symbols</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/custom-marker-symbols/m-p/183703#M17042</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks Ed.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I don't have an issue with retriving or parsing the information, I have that bit all sorted. What I want to do is create my own marker symbol that will consist of an image and a value from the rss feed, eg a river flow icon with some text stating the current flow rate in the river. (see example here in Silverlight &lt;/SPAN&gt;&lt;A href="http://maps.marlborough.govt.nz"&gt;here.&lt;/A&gt;&lt;SPAN&gt; Is it just a matter of extending the base class of the marker symbol ? If so does anyone have any examples of that ?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 27 Feb 2012 16:52:30 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/custom-marker-symbols/m-p/183703#M17042</guid>
      <dc:creator>GrantCarroll</dc:creator>
      <dc:date>2012-02-27T16:52:30Z</dc:date>
    </item>
    <item>
      <title>Re: Custom marker symbols</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/custom-marker-symbols/m-p/183704#M17043</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I see a couple of options. The first would be to use a &lt;/SPAN&gt;&lt;A href="http://help.arcgis.com/en/webapi/javascript/arcgis/help/jsapi/picturemarkersymbol.htm"&gt;PictureMarkerSymbol&lt;/A&gt;&lt;SPAN&gt; and a &lt;/SPAN&gt;&lt;A href="http://help.arcgis.com/en/webapi/javascript/arcgis/help/jsapi/textsymbol.htm"&gt;TextSymbol&lt;/A&gt;&lt;SPAN&gt; for each point. Yes, it's two symbols per point but this is probably the simplest solution. One other way to do this would be to modify &lt;/SPAN&gt;&lt;A href="http://maps.esri.com/SP_DEMOS/infoTip/sample3.html"&gt;Sathya Prasad's infoTip sample&lt;/A&gt;&lt;SPAN&gt;. I think this would get you closer to duplicating the functionality shown in the silverlight example.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 27 Feb 2012 18:23:54 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/custom-marker-symbols/m-p/183704#M17043</guid>
      <dc:creator>derekswingley1</dc:creator>
      <dc:date>2012-02-27T18:23:54Z</dc:date>
    </item>
    <item>
      <title>Re: Custom marker symbols</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/custom-marker-symbols/m-p/183705#M17044</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks Derek&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I think I will go down the route of two symbols per site, its not too many sites that would be shown at any one time. I might try and see if I can be tricky and modify my image so that text appears over the top. Will update the post with what I come up with.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Cheers&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 27 Feb 2012 19:53:43 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/custom-marker-symbols/m-p/183705#M17044</guid>
      <dc:creator>GrantCarroll</dc:creator>
      <dc:date>2012-02-27T19:53:43Z</dc:date>
    </item>
    <item>
      <title>Re: Custom marker symbols</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/custom-marker-symbols/m-p/183706#M17045</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Ok, so I solved this by creating two symbols, a picture symbol and a text symbol. The picture symbol is a long rectangular symbol and I've used offsets so that it looks like the text is part of the picture symbol. I have also implemented the sample as well to provide the name of the site on mouse over of the site. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks for the help and advice.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Feb 2012 03:09:35 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/custom-marker-symbols/m-p/183706#M17045</guid>
      <dc:creator>GrantCarroll</dc:creator>
      <dc:date>2012-02-28T03:09:35Z</dc:date>
    </item>
    <item>
      <title>Re: Custom marker symbols</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/custom-marker-symbols/m-p/183707#M17046</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Glad to help!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Feb 2012 14:15:15 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/custom-marker-symbols/m-p/183707#M17046</guid>
      <dc:creator>derekswingley1</dc:creator>
      <dc:date>2012-02-28T14:15:15Z</dc:date>
    </item>
    <item>
      <title>Re: Custom marker symbols</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/custom-marker-symbols/m-p/183708#M17047</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Grant,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Anyway that you could supple a link to your working sample?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I have a future project that will have the same functionality as what you described and it would be great to get an idea of how to structure some of the code.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I also have a few Google Maps API projects I need to migrate to the AGJscript API and they use custom icons for point features and I really need to use those icons &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;in the web mapping application. I tried creating or using the custom icons in my map services but they just look horrible. So any sample that I can view that uses custom icons would be helpful.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Chris&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://www.dvrpc.org/Mapping/webmaps.htm"&gt;http://www.dvrpc.org/Mapping/webmaps.htm&lt;/A&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 04 May 2012 10:33:17 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/custom-marker-symbols/m-p/183708#M17047</guid>
      <dc:creator>ChristopherPollard</dc:creator>
      <dc:date>2012-05-04T10:33:17Z</dc:date>
    </item>
    <item>
      <title>Re: Custom marker symbols</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/custom-marker-symbols/m-p/183709#M17048</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi Carroll,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;how did you assign two symbols per graphic , the setSymbol(symbol) method require only one symbol ?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;thanks&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Aug 2012 08:53:56 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/custom-marker-symbols/m-p/183709#M17048</guid>
      <dc:creator>hcgis</dc:creator>
      <dc:date>2012-08-16T08:53:56Z</dc:date>
    </item>
    <item>
      <title>Re: Custom marker symbols</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/custom-marker-symbols/m-p/183710#M17049</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;I see a couple of options. The first would be to use a &lt;A href="http://help.arcgis.com/en/webapi/javascript/arcgis/help/jsapi/picturemarkersymbol.htm"&gt;PictureMarkerSymbol&lt;/A&gt; and a &lt;A href="http://help.arcgis.com/en/webapi/javascript/arcgis/help/jsapi/textsymbol.htm"&gt;TextSymbol&lt;/A&gt; for each point. Yes, it's two symbols per point but this is probably the simplest solution. One other way to do this would be to modify &lt;A href="http://maps.esri.com/SP_DEMOS/infoTip/sample3.html"&gt;Sathya Prasad's infoTip sample&lt;/A&gt;. I think this would get you closer to duplicating the functionality shown in the silverlight example.&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Hi derek,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;please can you tell me how to add a&amp;nbsp; PictureMarkerSymbol and a TextSymbol to one graphic&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Aug 2012 18:43:27 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/custom-marker-symbols/m-p/183710#M17049</guid>
      <dc:creator>hcgis</dc:creator>
      <dc:date>2012-08-16T18:43:27Z</dc:date>
    </item>
    <item>
      <title>Re: Custom marker symbols</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/custom-marker-symbols/m-p/183711#M17050</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;You wouldn't.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;You'd add two graphics to the map, one with the target symbol and one with the text symbol.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Check out the "Find Address" example to see how it's done there.&lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="http://help.arcgis.com/EN/webapi/javascript/arcgis/help/jssamples/locator_address.html"&gt;http://help.arcgis.com/EN/webapi/javascript/arcgis/help/jssamples/locator_address.html&lt;/A&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Aug 2012 18:58:39 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/custom-marker-symbols/m-p/183711#M17050</guid>
      <dc:creator>ReneRubalcava</dc:creator>
      <dc:date>2012-08-16T18:58:39Z</dc:date>
    </item>
    <item>
      <title>Re: Custom marker symbols</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/custom-marker-symbols/m-p/183712#M17051</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;You wouldn't.&lt;BR /&gt;You'd add two graphics to the map, one with the target symbol and one with the text symbol.&lt;BR /&gt;&lt;BR /&gt;Check out the "Find Address" example to see how it's done there.&lt;BR /&gt;&lt;A href="http://help.arcgis.com/EN/webapi/javascript/arcgis/help/jssamples/locator_address.html"&gt;http://help.arcgis.com/EN/webapi/javascript/arcgis/help/jssamples/locator_address.html&lt;/A&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Yep, you use the same geometry for each graphic, as shown in the sample.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Aug 2012 19:07:36 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/custom-marker-symbols/m-p/183712#M17051</guid>
      <dc:creator>derekswingley1</dc:creator>
      <dc:date>2012-08-16T19:07:36Z</dc:date>
    </item>
    <item>
      <title>Re: Custom marker symbols</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/custom-marker-symbols/m-p/183713#M17052</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;You wouldn't.&lt;BR /&gt;You'd add two graphics to the map, one with the target symbol and one with the text symbol.&lt;BR /&gt;&lt;BR /&gt;Check out the "Find Address" example to see how it's done there.&lt;BR /&gt;&lt;A href="http://help.arcgis.com/EN/webapi/javascript/arcgis/help/jssamples/locator_address.html"&gt;http://help.arcgis.com/EN/webapi/javascript/arcgis/help/jssamples/locator_address.html&lt;/A&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Many thanks Rene and Derek, it helps a lot&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Aug 2012 22:30:39 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/custom-marker-symbols/m-p/183713#M17052</guid>
      <dc:creator>hcgis</dc:creator>
      <dc:date>2012-08-16T22:30:39Z</dc:date>
    </item>
  </channel>
</rss>

