<?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 Draw a polyline with a border in Kotlin Maps SDK Questions</title>
    <link>https://community.esri.com/t5/kotlin-maps-sdk-questions/draw-a-polyline-with-a-border/m-p/1316805#M196</link>
    <description>&lt;P&gt;Hi, we use SimpleLineSymbol to draw lines on the map. To make them more distinguishable from the map, I'd like to add a border in a different color. How can I do that? I found that there is a SimpleFillSymbol class that has an outline property but I don't understand how that works together with the SimpleLineSymbol.&lt;/P&gt;</description>
    <pubDate>Wed, 09 Aug 2023 11:43:18 GMT</pubDate>
    <dc:creator>padmalcom</dc:creator>
    <dc:date>2023-08-09T11:43:18Z</dc:date>
    <item>
      <title>Draw a polyline with a border</title>
      <link>https://community.esri.com/t5/kotlin-maps-sdk-questions/draw-a-polyline-with-a-border/m-p/1316805#M196</link>
      <description>&lt;P&gt;Hi, we use SimpleLineSymbol to draw lines on the map. To make them more distinguishable from the map, I'd like to add a border in a different color. How can I do that? I found that there is a SimpleFillSymbol class that has an outline property but I don't understand how that works together with the SimpleLineSymbol.&lt;/P&gt;</description>
      <pubDate>Wed, 09 Aug 2023 11:43:18 GMT</pubDate>
      <guid>https://community.esri.com/t5/kotlin-maps-sdk-questions/draw-a-polyline-with-a-border/m-p/1316805#M196</guid>
      <dc:creator>padmalcom</dc:creator>
      <dc:date>2023-08-09T11:43:18Z</dc:date>
    </item>
    <item>
      <title>Re: Draw a polyline with a border</title>
      <link>https://community.esri.com/t5/kotlin-maps-sdk-questions/draw-a-polyline-with-a-border/m-p/1316819#M197</link>
      <description>&lt;P&gt;Nevermind, I got it.&lt;/P&gt;&lt;DIV&gt;&lt;PRE&gt;&lt;SPAN&gt;// set a default symbol for features in the new collection table&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN&gt;val &lt;/SPAN&gt;&lt;SPAN&gt;innerPolygonLayer&lt;/SPAN&gt;: &lt;SPAN&gt;SymbolLayer &lt;/SPAN&gt;= SolidStrokeSymbolLayer(&lt;BR /&gt;    &lt;SPAN&gt;width = &lt;/SPAN&gt;&lt;SPAN&gt;6.0&lt;/SPAN&gt;,&lt;BR /&gt;    &lt;SPAN&gt;color = &lt;/SPAN&gt;Color(&lt;SPAN&gt;routeType&lt;/SPAN&gt;.&lt;SPAN&gt;color&lt;/SPAN&gt;)&lt;BR /&gt;)&lt;BR /&gt;&lt;SPAN&gt;val &lt;/SPAN&gt;&lt;SPAN&gt;outerPolygonLayer&lt;/SPAN&gt;: &lt;SPAN&gt;SymbolLayer &lt;/SPAN&gt;= SolidStrokeSymbolLayer(&lt;BR /&gt;    &lt;SPAN&gt;width = &lt;/SPAN&gt;&lt;SPAN&gt;12.0&lt;/SPAN&gt;,&lt;BR /&gt;    &lt;SPAN&gt;color = &lt;/SPAN&gt;&lt;SPAN&gt;Color&lt;/SPAN&gt;.&lt;SPAN&gt;white&lt;BR /&gt;&lt;/SPAN&gt;)&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;val &lt;/SPAN&gt;&lt;SPAN&gt;multilayerPolygonSymbol &lt;/SPAN&gt;= MultilayerPolylineSymbol(&lt;BR /&gt;    &lt;SPAN&gt;symbolLayers = &lt;/SPAN&gt;&lt;SPAN&gt;listOf&lt;/SPAN&gt;(&lt;SPAN&gt;outerPolygonLayer&lt;/SPAN&gt;, &lt;SPAN&gt;innerPolygonLayer&lt;/SPAN&gt;)&lt;BR /&gt;)&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;val &lt;/SPAN&gt;&lt;SPAN&gt;renderer &lt;/SPAN&gt;= SimpleRenderer(&lt;SPAN&gt;multilayerPolygonSymbol&lt;/SPAN&gt;)&lt;/PRE&gt;&lt;/DIV&gt;</description>
      <pubDate>Wed, 09 Aug 2023 12:27:12 GMT</pubDate>
      <guid>https://community.esri.com/t5/kotlin-maps-sdk-questions/draw-a-polyline-with-a-border/m-p/1316819#M197</guid>
      <dc:creator>padmalcom</dc:creator>
      <dc:date>2023-08-09T12:27:12Z</dc:date>
    </item>
  </channel>
</rss>

