<?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: Vector Fail in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/vector-fail/m-p/105731#M9739</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Well then, if you want to mess with styling, I think I can help.&lt;/P&gt;&lt;P&gt;&lt;A href="https://github.com/Esri/arcgis-vectortile-style-editor" title="https://github.com/Esri/arcgis-vectortile-style-editor"&gt;GitHub - Esri/arcgis-vectortile-style-editor: A simple Vector Tile Style Editor to update the styles of Esri Vector Base…&lt;/A&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It's not a "full-featured" editor, but you can do some cool stuff. You'll need to makes sure you copy a style in your ArcGIS Online account.&lt;/P&gt;&lt;P&gt;&lt;A href="https://blogs.esri.com/esri/arcgis/2015/11/19/how-to-customize-esri-vector-basemaps/" title="https://blogs.esri.com/esri/arcgis/2015/11/19/how-to-customize-esri-vector-basemaps/"&gt;How to Customize Esri Vector Basemaps | ArcGIS Blog&lt;/A&gt; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 18 Feb 2016 16:50:07 GMT</pubDate>
    <dc:creator>ReneRubalcava</dc:creator>
    <dc:date>2016-02-18T16:50:07Z</dc:date>
    <item>
      <title>Vector Fail</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/vector-fail/m-p/105719#M9727</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;So I'm trying to play with the Vector Sample in the API and it doesn't work.&lt;/P&gt;&lt;P&gt;&lt;A href="https://developers.arcgis.com/javascript/jssamples/layers_vector.html" title="https://developers.arcgis.com/javascript/jssamples/layers_vector.html"&gt;https://developers.arcgis.com/javascript/jssamples/layers_vector.html&lt;/A&gt;​ &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I copied the sandbox example to my server.&lt;/P&gt;&lt;P&gt;&lt;A href="http://maps.cityoftulsa.org/jsdev/vector/index.html" title="http://maps.cityoftulsa.org/jsdev/vector/index.html"&gt;http://maps.cityoftulsa.org/jsdev/vector/index.html&lt;/A&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then I copied the root.json contents to my own file.&lt;/P&gt;&lt;P&gt;&lt;A href="http://maps.cityoftulsa.org/jsdev/vector/style/root.json" title="http://maps.cityoftulsa.org/jsdev/vector/style/root.json"&gt;http://maps.cityoftulsa.org/jsdev/vector/style/root.json&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I made a single adjustment (background color) to see if my changes would propagate and I get a 404 error.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I know the file is there. I have both copied and renamed it from the server directly. It's there. The contents match exactly with what I am trying to do. Still nothing. I will happily admit I am clueless as to vector styling via JSON, so maybe I'm doing something simple and ignorant of basic concepts. But I can't figure it out. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I even copied and pasted the original JSON back into it and still I get a 404. Confused.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 Feb 2016 15:22:31 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/vector-fail/m-p/105719#M9727</guid>
      <dc:creator>BrianO_keefe</dc:creator>
      <dc:date>2016-02-18T15:22:31Z</dc:date>
    </item>
    <item>
      <title>Re: Vector Fail</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/vector-fail/m-p/105720#M9728</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Brain,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; For some reason the third link to the root.json is not reachable and this is the first issue you have. The next issue will be that unless you updated the ../sprites/sprite url and the glyphs path ../fonts/{fontstack}/{range}.pbf to point to the new local version of your root.json you will get 404 errors on those file. And even after you do that you will get 403 (access forbidden) errors when it tries to reach those sprite.json and png files as you now have the requests coming from different domain and now need a proxy.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 Feb 2016 15:41:16 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/vector-fail/m-p/105720#M9728</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2016-02-18T15:41:16Z</dc:date>
    </item>
    <item>
      <title>Re: Vector Fail</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/vector-fail/m-p/105721#M9729</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Are you sure your web server has a MIME type entry for .json? If it doesn't, it wont know how to serve it up, hence the 404.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 Feb 2016 15:41:59 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/vector-fail/m-p/105721#M9729</guid>
      <dc:creator>ChrisSmith7</dc:creator>
      <dc:date>2016-02-18T15:41:59Z</dc:date>
    </item>
    <item>
      <title>Re: Vector Fail</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/vector-fail/m-p/105722#M9730</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Here's how to do this if you're using IIS:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.uipress.com/add-json-handler-support-in-iis-7/" title="http://www.uipress.com/add-json-handler-support-in-iis-7/"&gt;add .json handler support in IIS 7 | uipress.com&lt;/A&gt; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 Feb 2016 15:46:47 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/vector-fail/m-p/105722#M9730</guid>
      <dc:creator>ChrisSmith7</dc:creator>
      <dc:date>2016-02-18T15:46:47Z</dc:date>
    </item>
    <item>
      <title>Re: Vector Fail</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/vector-fail/m-p/105723#M9731</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Chris,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; None of that matters if the requests to url like &lt;A href="http://basemaps.arcgis.com/arcgis/rest/services/World_Basemap/VectorTileServer/sprites/sprite.json" title="http://basemaps.arcgis.com/arcgis/rest/services/World_Basemap/VectorTileServer/sprites/sprite.json"&gt;http://basemaps.arcgis.com/arcgis/rest/services/World_Basemap/VectorTileServer/sprites/sprite.json&lt;/A&gt; is denied due to it coming from a unauthorized domain like his because he copied the root.json to his own server.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 Feb 2016 16:04:49 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/vector-fail/m-p/105723#M9731</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2016-02-18T16:04:49Z</dc:date>
    </item>
    <item>
      <title>Re: Vector Fail</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/vector-fail/m-p/105724#M9732</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;And see, Robert that is where my confusion comes in. I can't even access that root.json file directly from within. I'm uncertain of how it can be blocked or what is blocking it and I'm not sure where to look to find out that information.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Like &lt;A href="https://community.esri.com/migrated-users/101693"&gt;Chris Smith&lt;/A&gt;​ said, I have not checked the json MIME type on the server. I assume it works because of all of the other activity we have going on through it but I'm not certain.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What would you suggest to check the link availability?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 Feb 2016 16:10:03 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/vector-fail/m-p/105724#M9732</guid>
      <dc:creator>BrianO_keefe</dc:creator>
      <dc:date>2016-02-18T16:10:03Z</dc:date>
    </item>
    <item>
      <title>Re: Vector Fail</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/vector-fail/m-p/105725#M9733</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I would follow the instructions Chris posted to add the json MIME type to IIS. I'd bet that is the issue you are having with the 404s.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 Feb 2016 16:16:12 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/vector-fail/m-p/105725#M9733</guid>
      <dc:creator>ReneRubalcava</dc:creator>
      <dc:date>2016-02-18T16:16:12Z</dc:date>
    </item>
    <item>
      <title>Re: Vector Fail</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/vector-fail/m-p/105726#M9734</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ok. I added the json MIME type and I get some progress. It looks like the problem is as &lt;A href="https://community.esri.com/migrated-users/3101"&gt;Robert Scheitlin, GISP&lt;/A&gt;​ said.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So this is a cross-domain issue? Or a proxy?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 Feb 2016 16:16:57 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/vector-fail/m-p/105726#M9734</guid>
      <dc:creator>BrianO_keefe</dc:creator>
      <dc:date>2016-02-18T16:16:57Z</dc:date>
    </item>
    <item>
      <title>Re: Vector Fail</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/vector-fail/m-p/105727#M9735</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Brain,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; If you can not just type this url: &lt;A href="http://maps.cityoftulsa.org/jsdev/vector/style/root.json" title="http://maps.cityoftulsa.org/jsdev/vector/style/root.json"&gt;http://maps.cityoftulsa.org/jsdev/vector/style/root.json&lt;/A&gt; into your browser and have it return the json then you may want to follow the links Chris provided to setup the json handler on your web server. But as I mentioned to Chris this is a mute point as you can not locally host the root.json file as it will result in 403 access denied errors.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 Feb 2016 16:20:00 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/vector-fail/m-p/105727#M9735</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2016-02-18T16:20:00Z</dc:date>
    </item>
    <item>
      <title>Re: Vector Fail</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/vector-fail/m-p/105728#M9736</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yeah, I wasn't able to do that. Now I can.&lt;/P&gt;&lt;P&gt;Now I'm getting a 403 error and this appears to be as you stated... a cross domain or proxy issue.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 Feb 2016 16:21:56 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/vector-fail/m-p/105728#M9736</guid>
      <dc:creator>BrianO_keefe</dc:creator>
      <dc:date>2016-02-18T16:21:56Z</dc:date>
    </item>
    <item>
      <title>Re: Vector Fail</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/vector-fail/m-p/105729#M9737</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Brain,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; I have even tried to proxy the requests already and you will still get 403 errors as access to urls like:&lt;/P&gt;&lt;P&gt;&lt;A href="http://basemaps.arcgis.com/arcgis/rest/services/World_Basemap/VectorTileServer/sprites/sprite" title="http://basemaps.arcgis.com/arcgis/rest/services/World_Basemap/VectorTileServer/sprites/sprite"&gt;http://basemaps.arcgis.com/arcgis/rest/services/World_Basemap/VectorTileServer/sprites/sprite&lt;/A&gt; &lt;/P&gt;&lt;P&gt;are restricted.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 Feb 2016 16:22:15 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/vector-fail/m-p/105729#M9737</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2016-02-18T16:22:15Z</dc:date>
    </item>
    <item>
      <title>Re: Vector Fail</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/vector-fail/m-p/105730#M9738</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yeah, I dumped urlUtils into the code and added a proxy rule to no avail...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Surely this isn't impossible?! Maybe I'm going at this from the wrong direction.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Technically, all I want to do is manipulate Vector styles to get a feel for them.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 Feb 2016 16:43:24 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/vector-fail/m-p/105730#M9738</guid>
      <dc:creator>BrianO_keefe</dc:creator>
      <dc:date>2016-02-18T16:43:24Z</dc:date>
    </item>
    <item>
      <title>Re: Vector Fail</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/vector-fail/m-p/105731#M9739</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Well then, if you want to mess with styling, I think I can help.&lt;/P&gt;&lt;P&gt;&lt;A href="https://github.com/Esri/arcgis-vectortile-style-editor" title="https://github.com/Esri/arcgis-vectortile-style-editor"&gt;GitHub - Esri/arcgis-vectortile-style-editor: A simple Vector Tile Style Editor to update the styles of Esri Vector Base…&lt;/A&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It's not a "full-featured" editor, but you can do some cool stuff. You'll need to makes sure you copy a style in your ArcGIS Online account.&lt;/P&gt;&lt;P&gt;&lt;A href="https://blogs.esri.com/esri/arcgis/2015/11/19/how-to-customize-esri-vector-basemaps/" title="https://blogs.esri.com/esri/arcgis/2015/11/19/how-to-customize-esri-vector-basemaps/"&gt;How to Customize Esri Vector Basemaps | ArcGIS Blog&lt;/A&gt; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 Feb 2016 16:50:07 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/vector-fail/m-p/105731#M9739</guid>
      <dc:creator>ReneRubalcava</dc:creator>
      <dc:date>2016-02-18T16:50:07Z</dc:date>
    </item>
    <item>
      <title>Re: Vector Fail</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/vector-fail/m-p/105732#M9740</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;A good point - now he swapped the 404 for a 403!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 Feb 2016 19:15:10 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/vector-fail/m-p/105732#M9740</guid>
      <dc:creator>ChrisSmith7</dc:creator>
      <dc:date>2016-02-18T19:15:10Z</dc:date>
    </item>
  </channel>
</rss>

