How to access features of a published map

263
1
08-07-2017 09:18 PM
PrasanthP
New Contributor

Hi,

 I am a beginner in Arcgis. I have published a map from shape file and able access it in web browser using javascript api. I need to access the features of the published map now (for getting the cordinates and other features like name id etc.). How can i do that. Do i have to use any api or publish it in a different way. 

I know this is a basic question. Plz bear with it. 

0 Kudos
1 Reply
RobertScheitlin__GISP
MVP Emeritus

Prasanth,

   You can find many samples in the JS API docs. For what you are wanting you need to look at query and QueryTask:

Query data without a map | ArcGIS API for JavaScript 3.21 

Query | API Reference | ArcGIS API for JavaScript 3.21 

QueryTask | API Reference | ArcGIS API for JavaScript 3.21