This is the Webmap I have prepared in ArcGIS online.
I have downloaded a sample template from
Now I would like to host at local web server at
So I have uploaded the template into the local webserver
In this video I come to know that I can copy the layers from the web map in ArcGIS online to the web map hosting at local web server by copying a webmap id.
As per the information provided in “LocalWebapp.md” file, I went to this link
I have made changes in the defaults.js as per the above mentioned link. You can get the default.js file at https://www.dropbox.com/s/x861akavdxmbxtq/defaults.js?dl=0
I have made changes in "extent", “title” & "itemId"
The result of this, the extents gets smaller and it’s not reflecting the layers from web map in ArcGIS online.
Please correct me where I am getting wrong. Any help will be highly appreciated.
With best regards,
From Prashant Kuranjekar