iris hadar
Can you provide the updated javascript viewer? Appreciate!!!.
lee
Yes Iris Hadar if you can post example code, you will be a hero for many of us! Thank you for your contribution.
We also need to create a basic GIS viewer website. We need to convert an existing site from Flex to a Javascript and HTML5 based site.
The Basic Viewer JavaScript Template is excellent. Only one problem as many others here have noted. It depends on ArcGIS.com. I am working on and researching trying to make this template work locally.
We need to switch it to point only to our servers and get rid of any external dependencies and links (i.e. to ArcGIS.com)
I hope everyone is aware that we are talking about to very different viewers here.
the one Kelly posted is a version of the (more) recently released Basic viewer that removes the arcgis.com dependencies.
The one Iris was talking about was the original 1.2 api Javascript Sample Viewer (looks similiar to the Flex viewer).
I've attached a simplified version of the basic viewer that doesn't use an arcgis.com web map. Note that you'll have to add back in popups for layers and if your layers are editable or time-aware you'd have to add logic in to handle that functionality too.
Take a look at the createMap function to see how the template was modified.