<?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: SVG for symbols? Drawbacks? in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/svg-for-symbols-drawbacks/m-p/247671#M22951</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I’ve used SVG files as images; worked quite well, but I couldn’t make exporting work… Had to change back to PNG now.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 17 Nov 2015 06:37:24 GMT</pubDate>
    <dc:creator>TobiasBrühlmeier1</dc:creator>
    <dc:date>2015-11-17T06:37:24Z</dc:date>
    <item>
      <title>SVG for symbols? Drawbacks?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/svg-for-symbols-drawbacks/m-p/247662#M22942</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;I'm developing a web app based on ArcGIS for Javascript. My customer's problem requires using many different point symbols, some of them graphically quite complex. I use PictureMarkerSymbols to create my symbols.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;First I've used PNG's for my PictureMarkerSymbols. I'm not quite happy with the drawing quality, they look kind of pixelated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now I'm thinking about &lt;STRONG&gt;changing to SVG&lt;/STRONG&gt;. My first tests showed &lt;STRONG&gt;much clearer symbols&lt;/STRONG&gt;. But drawback seems to be that &lt;STRONG&gt;export&lt;/STRONG&gt; to PDF and PNG &lt;STRONG&gt;doesn't work&lt;/STRONG&gt; anymore. Also, it seems to me that it takes &lt;STRONG&gt;more time&lt;/STRONG&gt; to build the map, and I'm getting &lt;STRONG&gt;timeout errors&lt;/STRONG&gt; now and then.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is anyone experienced with SVG's for PictureMarkerSymbols and knows about the drawbacks?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards, Tobias&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Nov 2015 07:23:23 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/svg-for-symbols-drawbacks/m-p/247662#M22942</guid>
      <dc:creator>TobiasBrühlmeier1</dc:creator>
      <dc:date>2015-11-10T07:23:23Z</dc:date>
    </item>
    <item>
      <title>Re: SVG for symbols? Drawbacks?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/svg-for-symbols-drawbacks/m-p/247663#M22943</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In your tests, are you using an SVG path with &lt;A href="https://developers.arcgis.com/javascript/jsapi/simplemarkersymbol-amd.html#setpath" target="_blank"&gt;SimpleMarkerSymbol.setPath&lt;/A&gt; or pointing to a separate SVG file's URL?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Nov 2015 18:32:58 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/svg-for-symbols-drawbacks/m-p/247663#M22943</guid>
      <dc:creator>JeffJacobson</dc:creator>
      <dc:date>2015-11-10T18:32:58Z</dc:date>
    </item>
    <item>
      <title>Re: SVG for symbols? Drawbacks?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/svg-for-symbols-drawbacks/m-p/247664#M22944</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;pointing to a separate SVG file’s URL...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Nov 2015 18:49:40 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/svg-for-symbols-drawbacks/m-p/247664#M22944</guid>
      <dc:creator>TobiasBrühlmeier1</dc:creator>
      <dc:date>2015-11-10T18:49:40Z</dc:date>
    </item>
    <item>
      <title>Re: SVG for symbols? Drawbacks?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/svg-for-symbols-drawbacks/m-p/247665#M22945</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I haven't actually used SVGs as symbols in ArcGIS API for JavaScript, but it might be worth a try to see if using the SimpleMarkerSymbol.setPath method is compatible with exporting the map to PNG or PDF. (Note that you can only do this if your SVG symbols are made up of a single path, which may or may not be the case for your SVGs.)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Nov 2015 21:04:27 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/svg-for-symbols-drawbacks/m-p/247665#M22945</guid>
      <dc:creator>JeffJacobson</dc:creator>
      <dc:date>2015-11-10T21:04:27Z</dc:date>
    </item>
    <item>
      <title>Re: SVG for symbols? Drawbacks?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/svg-for-symbols-drawbacks/m-p/247666#M22946</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ok, that's really helpful. Your hint about single path symbols is very important, thanks. My symbols are more complex.&lt;/P&gt;&lt;P&gt;Do you know where I can find documentation about it? Google couldn't help me yet.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Nov 2015 06:47:56 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/svg-for-symbols-drawbacks/m-p/247666#M22946</guid>
      <dc:creator>TobiasBrühlmeier1</dc:creator>
      <dc:date>2015-11-11T06:47:56Z</dc:date>
    </item>
    <item>
      <title>Re: SVG for symbols? Drawbacks?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/svg-for-symbols-drawbacks/m-p/247667#M22947</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I use &lt;A href="https://inkscape.org/"&gt;Inkscape&lt;/A&gt; when I create or edit SVG files.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As a first step I would use Inkscape to draw something very simple that would only use a single path element. E.g. here's a star shape you could use:&lt;/P&gt;&lt;PRE&gt;m 9.8301273,1037.5321 0.9174987,4.6051 4.313751,1.8549 -4.096229,2.2957 -0.431104,4.6758 -3.4491075,-3.1864 -4.5801885,1.0349 1.9645634,-4.2649 -2.3996077,-4.0362 4.6632743,0.5505 z&lt;/PRE&gt;&lt;P&gt;If you can get that to work with ArcGIS Server (i.e., the symbols aren't omitted when printing to PDF or PNG), then you can use Inkscape to create modified copies of your own symbols that only use a single path element.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Nov 2015 17:03:30 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/svg-for-symbols-drawbacks/m-p/247667#M22947</guid>
      <dc:creator>JeffJacobson</dc:creator>
      <dc:date>2015-11-13T17:03:30Z</dc:date>
    </item>
    <item>
      <title>Re: SVG for symbols? Drawbacks?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/svg-for-symbols-drawbacks/m-p/247668#M22948</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Jeff,&lt;/P&gt;&lt;P&gt;Doesn't work im this case, I'm forced to go back to PNG. But anyway, could help next time...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 15 Nov 2015 07:17:20 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/svg-for-symbols-drawbacks/m-p/247668#M22948</guid>
      <dc:creator>TobiasBrühlmeier1</dc:creator>
      <dc:date>2015-11-15T07:17:20Z</dc:date>
    </item>
    <item>
      <title>Re: SVG for symbols? Drawbacks?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/svg-for-symbols-drawbacks/m-p/247669#M22949</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I've just gotten access to Adobe CC and I'm ready to start developing some nice Illustrator icons, does this mean that in order to create a usable SVG I have to maintain a single path?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Nov 2015 17:29:11 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/svg-for-symbols-drawbacks/m-p/247669#M22949</guid>
      <dc:creator>BrianO_keefe</dc:creator>
      <dc:date>2015-11-16T17:29:11Z</dc:date>
    </item>
    <item>
      <title>Re: SVG for symbols? Drawbacks?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/svg-for-symbols-drawbacks/m-p/247670#M22950</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The single path restriction is only if you are going to be using the SVG to create a SimpleMarkerSymbol via the&amp;nbsp; SimpleMarkerSymbol.setPath function. (This would allow you style the symbol with a renderer based on features' attribute values.)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you plan on just using an SVG file as an image (i.e., a PictureMarkerSymbol), you shouldn't need to worry about that. It should work just like a PNG or GIF.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Nov 2015 18:18:59 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/svg-for-symbols-drawbacks/m-p/247670#M22950</guid>
      <dc:creator>JeffJacobson</dc:creator>
      <dc:date>2015-11-16T18:18:59Z</dc:date>
    </item>
    <item>
      <title>Re: SVG for symbols? Drawbacks?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/svg-for-symbols-drawbacks/m-p/247671#M22951</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I’ve used SVG files as images; worked quite well, but I couldn’t make exporting work… Had to change back to PNG now.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Nov 2015 06:37:24 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/svg-for-symbols-drawbacks/m-p/247671#M22951</guid>
      <dc:creator>TobiasBrühlmeier1</dc:creator>
      <dc:date>2015-11-17T06:37:24Z</dc:date>
    </item>
  </channel>
</rss>

