oulah

Javascript API-functions and map services

Discussion created by oulah on Oct 17, 2011
Hello,

I am wondering if it is possible to use the ArcGIS.com Map Viewer as a stand-in map service when you're working with the Javascript API to create WMAs? The reason that I am asking is that I want to create a (temporary) WMA which allows users to query and select features based on the features' area or other attributes.

However, I will not have access to a proper version of ArcGIS Server for approximately 6-7 months (hence the "temporary"), so I can't host my own shape/feature files or create a proper map service. Would it be possible to create a map via ArcGIS.com's Map Viewer and use it as a map service to create a simple WMA (similar to http://help.arcgis.com/en/webapi/javascript/arcgis/demos/find/find_nomap.html)?
Or would it perhaps be better to use the templates provided and create a WMA, download it and then customize it to include query/find-capabilities? This was my first thought, but the setup with index.html and layout.js threw me off a little since I am quite new to javascript.

Outcomes