I am trying to load operational layers data from the following JSON with no luck.
So far I tried the following
graphicLayer = new esri.layers.GraphicsLayer(); graphicLayer.add(json); map.add(graphicLayer);
normalizeUtils.normalizeCentralMeridian
Is there something I am missing, for reference I am trying to follow this example http://resources.arcgis.com/en/help/arcgis-web-map-json/index.html#/ArcGIS_feature_service_operational_layers/02qt00000017000000/
Its my first time with Arcgis, I have a sample JSON of a previously drawn line on the map that I am trying to load with no luck. Here is a JSFiddle of what I am trying.
https://jsfiddle.net/42wehk86/3/
Really appreciate if someone can shed some light on this.
Adding a custom tool to a menu or toolbarOpen the Customize window as described above and click the Commands tab. In the Categories list, scroll down and click [ Geoprocessing Tools ]. Click the Add Tools button. Browse to the toolbox containing the tool you want to add, choose the tool, then click OK.
If you want to create map from ArcGIS web map JSON, then you must use createMap(itemIdOrItemInfo, mapDiv, options?)
from esri/arcgis/utils
Sample
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With