Re: [Geoserver-users] How to use GeoServer published data with ArcGIS API

2011-02-12 Thread Mustafa646
Thanks for replying! I have couple of questions. 1. var wmsLayer = new esri.layers.WMSLayer(wmsURL); with this line of code i can display wms layer over any base Layer. Now From where I get wmsURL ? I have published my shapefile on GeoServer, but i dont know how i get the URL (wmsURL) to use

Re: [Geoserver-users] How to use GeoServer published data with ArcGIS API

2011-02-12 Thread Benjamin Mearns
Hi Mustafa, The base url for a wms request to geoserver is like this http://HOST/wms. You should be able to choose what layers show, etc. through properties or the constructor of the WMSLayer class. At this point, I should say that I haven't actually used a Geoserver WMS with ArcGIS JavaScript

Re: [Geoserver-users] How to use GeoServer published data with ArcGIS API

2011-02-11 Thread Benjamin Mearns
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