<?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: Red line with black outline in JavaScript API in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/red-line-with-black-outline-in-javascript-api/m-p/303505#M27872</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P class=""&gt;It's a different API with different capabilities.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 24 Oct 2016 02:33:04 GMT</pubDate>
    <dc:creator>RobertScheitlin__GISP</dc:creator>
    <dc:date>2016-10-24T02:33:04Z</dc:date>
    <item>
      <title>Red line with black outline in JavaScript API</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/red-line-with-black-outline-in-javascript-api/m-p/303500#M27867</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;We need to&amp;nbsp;draw roads as a red line with black outline (or stroke) (see attached) with ESRI JavaScript API.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Something like that (example from leaflet - Leaflet.MapboxVectorTile.js):&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;drawLineString = function(....){&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;....&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;var ctx2d = ctx.canvas.getContext('2d');&lt;BR /&gt; ctx2d.strokeStyle = style.color;&lt;BR /&gt; ctx2d.lineWidth = style.size;&lt;BR /&gt; ctx2d.beginPath();&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;ctx2d.stroke();&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;if (style.outlineWidth &amp;amp;&amp;amp; style.outlineColor) {&lt;BR /&gt;&amp;nbsp; ctx2d.lineWidth = style.outlineWidth;&lt;BR /&gt;&amp;nbsp; ctx2d.strokeStyle = style.outlineColor;&lt;BR /&gt;&amp;nbsp; ctx2d.stroke();&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;...&lt;BR /&gt; };&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 21 Oct 2016 04:48:22 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/red-line-with-black-outline-in-javascript-api/m-p/303500#M27867</guid>
      <dc:creator>PitersonPaulgek</dc:creator>
      <dc:date>2016-10-21T04:48:22Z</dc:date>
    </item>
    <item>
      <title>Re: Red line with black outline in JavaScript API</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/red-line-with-black-outline-in-javascript-api/m-p/303501#M27868</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Piterson,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; There is nothing in the JS for setting a stroke on a line. The best you can do it add the line graphic twice using different SimpleLineSymbols with different widths and colors.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 21 Oct 2016 12:45:55 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/red-line-with-black-outline-in-javascript-api/m-p/303501#M27868</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2016-10-21T12:45:55Z</dc:date>
    </item>
    <item>
      <title>Re: Red line with black outline in JavaScript API</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/red-line-with-black-outline-in-javascript-api/m-p/303502#M27869</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Robert,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It means we have no access to the library that draw the geometry?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 23 Oct 2016 22:06:50 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/red-line-with-black-outline-in-javascript-api/m-p/303502#M27869</guid>
      <dc:creator>PitersonPaulgek</dc:creator>
      <dc:date>2016-10-23T22:06:50Z</dc:date>
    </item>
    <item>
      <title>Re: Red line with black outline in JavaScript API</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/red-line-with-black-outline-in-javascript-api/m-p/303503#M27870</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff;"&gt;Piterson,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff;"&gt;&amp;nbsp; &amp;nbsp;No, you just dont have the ability to define a line symbol that has a separate outline color.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 24 Oct 2016 00:55:28 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/red-line-with-black-outline-in-javascript-api/m-p/303503#M27870</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2016-10-24T00:55:28Z</dc:date>
    </item>
    <item>
      <title>Re: Red line with black outline in JavaScript API</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/red-line-with-black-outline-in-javascript-api/m-p/303504#M27871</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Why it is possible for&amp;nbsp;&lt;SPAN style="background-color: #ffffff;"&gt;Leaflet.MapboxVectorTile.js?&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 24 Oct 2016 01:06:30 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/red-line-with-black-outline-in-javascript-api/m-p/303504#M27871</guid>
      <dc:creator>PitersonPaulgek</dc:creator>
      <dc:date>2016-10-24T01:06:30Z</dc:date>
    </item>
    <item>
      <title>Re: Red line with black outline in JavaScript API</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/red-line-with-black-outline-in-javascript-api/m-p/303505#M27872</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P class=""&gt;It's a different API with different capabilities.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 24 Oct 2016 02:33:04 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/red-line-with-black-outline-in-javascript-api/m-p/303505#M27872</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2016-10-24T02:33:04Z</dc:date>
    </item>
  </channel>
</rss>

