mustafa646

How to access .shp file from local computer or some other server.

Discussion created by mustafa646 on Feb 8, 2011
Latest reply on Feb 8, 2011 by DSwingley-esristaff
Below is the code in which we can access a feature layer from ArcGIS sample server.

queryTask = new esri.arcgis.gmaps.QueryTask("http://sampleserver1.arcgisonline.com/ArcGIS/rest/services/Demographics/ESRI_Census_USA/MapServer/3");

But I want to access my own .shp file residing on my local computer or on another server, e.g this..

queryTask = new esri.arcgis.gmaps.QueryTask("http://172.20.100.12/Demo/Resources/ABC.shp");

In this case, queryTask does not return featureSet and so .shp file could not display on Map.

Can anybody help me .. where is problem and how i can fix it.

Outcomes