Hi Mustafa,

You can add it as a WMS layer using documentation here:

http://help.arcgis.com/en/webapi/javascript/arcgis/help/jsapi/wmslayer.htm

>From that page:

This snippet requires setting up a proxy page

var wmsLayer = new esri.layers.WMSLayer(wmsURL);
This snippet specifies the resourceInfo option which does not require
proxy page.

var wmsLayer = new esri.layers.WMSLayer(wmsURL,
  {resourceInfo: resourceInfo,
  visibleLayers: ['1','2']
  }
);


... not sure if this will automatically tile though.

Ben

On Fri, Feb 11, 2011 at 9:33 AM, Mustafa646 <[email protected]> wrote:
>
> I am very new to GeoServer. I have published my shapefile on GeoServer. Now
> How can i access and use my published data with ArcGIS API. In "ArcGIS
> Samples", for querying data from ArcGIS Sample server, we use following line
> of code:
>
> queryTask = new
> esri.arcgis.gmaps.QueryTask("sampleserver1.arcgisonline.com/ArcGIS/rest/services/…);
>
> I need similar line of code to access my data from geo server. Can anybody
> send me the piece of code like that ?
> ...
> --
> View this message in context: 
> http://old.nabble.com/How-to-use-GeoServer-published-data-with-ArcGIS-API-tp30901021p30901021.html
> Sent from the GeoServer - User mailing list archive at Nabble.com.
>
>
> ------------------------------------------------------------------------------
> The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE:
> Pinpoint memory and threading errors before they happen.
> Find and fix more than 250 security defects in the development cycle.
> Locate bottlenecks in serial and parallel code that limit performance.
> http://p.sf.net/sfu/intel-dev2devfeb
> _______________________________________________
> Geoserver-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/geoserver-users
>



-- 
Ben Mearns
Research and Data Management Services, IT-Client Support & Services
University of Delaware
[email protected] : 302.831.1978

------------------------------------------------------------------------------
The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE:
Pinpoint memory and threading errors before they happen.
Find and fix more than 250 security defects in the development cycle.
Locate bottlenecks in serial and parallel code that limit performance.
http://p.sf.net/sfu/intel-dev2devfeb
_______________________________________________
Geoserver-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Reply via email to