<?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: KMLLayer Style support in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/kmllayer-style-support/m-p/370673#M34372</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;A follow up to my own question, if anyone else wants more control over their KML rendering...&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I was not able to get the functionality I wanted using the KMLLayer.&amp;nbsp; Instead, I decided to load the KML file using jQuery's ajax function. Then for each placemark I built a PictureMarkerSymbol and TextSymbol and added them to the map.&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;A bit more javascript than I was hoping for, but in the end it gave me much greater control over my map symbols.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 26 Aug 2013 22:32:06 GMT</pubDate>
    <dc:creator>CorySmith2</dc:creator>
    <dc:date>2013-08-26T22:32:06Z</dc:date>
    <item>
      <title>KMLLayer Style support</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/kmllayer-style-support/m-p/370672#M34371</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I am displaying points from a KML file on my Javascript API map using esri.layers.KMLLayer().&amp;nbsp; The Placemarks in my KML file have a styleUrl defined as:&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="plain" name="code"&gt;&amp;nbsp;&amp;nbsp; &amp;lt;Style id="myStyle"&amp;gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;LabelStyle&amp;gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;color&amp;gt;FFCCFFCC&amp;lt;/color&amp;gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/LabelStyle&amp;gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;IconStyle&amp;gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;color&amp;gt;FF3F3FFF&amp;lt;/color&amp;gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;Icon&amp;gt;&amp;lt;href&amp;gt;http://mydomain.com/marker.png&amp;lt;/href&amp;gt;&amp;lt;/Icon&amp;gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/IconStyle&amp;gt; &amp;nbsp;&amp;nbsp; &amp;lt;/Style&amp;gt;&lt;/PRE&gt;&lt;BR /&gt;&lt;SPAN&gt;The map is displaying my points using the marker.png as defined in this style, but I have two issues:&lt;/SPAN&gt;&lt;BR /&gt;&lt;OL&gt;&lt;BR /&gt;&lt;LI&gt;Labels are not displayed.&amp;nbsp; I would like to display the Placemark's name as a label (ie always visible).&lt;/LI&gt;&lt;BR /&gt;&lt;LI&gt;The markers are the default color of the image (white).&amp;nbsp; I would like to marker to use the &amp;lt;color&amp;gt; in the &amp;lt;IconStyle&amp;gt;.&lt;/LI&gt;&lt;BR /&gt;&lt;/OL&gt;&lt;SPAN&gt;Is possible to do either of these?&amp;nbsp; Thanks!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 10 Jul 2013 22:22:22 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/kmllayer-style-support/m-p/370672#M34371</guid>
      <dc:creator>CorySmith2</dc:creator>
      <dc:date>2013-07-10T22:22:22Z</dc:date>
    </item>
    <item>
      <title>Re: KMLLayer Style support</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/kmllayer-style-support/m-p/370673#M34372</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;A follow up to my own question, if anyone else wants more control over their KML rendering...&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I was not able to get the functionality I wanted using the KMLLayer.&amp;nbsp; Instead, I decided to load the KML file using jQuery's ajax function. Then for each placemark I built a PictureMarkerSymbol and TextSymbol and added them to the map.&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;A bit more javascript than I was hoping for, but in the end it gave me much greater control over my map symbols.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 Aug 2013 22:32:06 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/kmllayer-style-support/m-p/370673#M34372</guid>
      <dc:creator>CorySmith2</dc:creator>
      <dc:date>2013-08-26T22:32:06Z</dc:date>
    </item>
    <item>
      <title>Re: KMLLayer Style support</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/kmllayer-style-support/m-p/370674#M34373</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Could you post your code of how you did the jQuery method please?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I currently am trying to use KML links in my ArcGIS Javascript application but some symbology is not drawing correctly.&amp;nbsp; I also am curious about how the kml layer differs from a feature layer - are you able to perform analysis using the KML layers?&amp;nbsp; For example, if I had a line feature layer and I want to have a process that selects all line features that are within a distance of the KML Layer.&amp;nbsp; Also how do I go about adding my KML Layer into my legend?&amp;nbsp; I have not seemed to figure out how to do that.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Sep 2015 20:32:26 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/kmllayer-style-support/m-p/370674#M34373</guid>
      <dc:creator>EvanLevy</dc:creator>
      <dc:date>2015-09-16T20:32:26Z</dc:date>
    </item>
  </channel>
</rss>

