So I'm trying to play with the Vector Sample in the API and it doesn't work.
https://developers.arcgis.com/javascript/jssamples/layers_vector.html
I copied the sandbox example to my server.
http://maps.cityoftulsa.org/jsdev/vector/index.html
Then I copied the root.json contents to my own file.
http://maps.cityoftulsa.org/jsdev/vector/style/root.json
I made a single adjustment (background color) to see if my changes would propagate and I get a 404 error.
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.
I even copied and pasted the original JSON back into it and still I get a 404. Confused.
Brain,
I have even tried to proxy the requests already and you will still get 403 errors as access to urls like:
http://basemaps.arcgis.com/arcgis/rest/services/World_Basemap/VectorTileServer/sprites/sprite
are restricted.
Yeah, I dumped urlUtils into the code and added a proxy rule to no avail...
Surely this isn't impossible?! Maybe I'm going at this from the wrong direction.
Technically, all I want to do is manipulate Vector styles to get a feel for them.
Well then, if you want to mess with styling, I think I can help.
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.
A good point - now he swapped the 404 for a 403!