[OpenLayers-Users] syntax for OL consuming WFS layer served
from ArcIMS 9.1 sp2
Christopher Schmidt
crschmidt at metacarta.com
Tue May 8 14:53:43 EDT 2007
On Tue, May 08, 2007 at 11:51:14AM -0700, Mike Quentel wrote:
> Using the following syntax in the javascript:
>
> var wfdssMap = new OpenLayers.Map($('mapDiv'), {controls: [], tileSize: new OpenLayers.Size(512,512), buffer: 1, scales: [32000000, 16000000, 8000000, 4000000, 2000000, 1000000, 500000, 250000, 175000, 100000, 50000, 24000, 12000, 6000, 3000], units: "degrees"});
>
> var wfsWFDSSFSPro = new OpenLayers.Layer.WFS("WFDSS_FSPRO_FTRSVC", "http://kpnatsp6:9080/wfsconnector/com.esri.wfs.Esrimap/WFDSS_FSPRO_FTRSVC?", {typename: "FSPRO_OUTPUT-FSPRO_OUTPUT", maxfeatures: 10 }, { featureClass: OpenLayers.Feature.WFS });
>
> wfdssMap.addLayer(wfsWFDSSFSPro);
>
> Is this syntax correct? For some reason, I see know features being drawn.
You might want to read:
http://trac.openlayers.org/wiki/FrequentlyAskedQuestions#ProxyHost
Regards,
--
Christopher Schmidt
MetaCarta
More information about the Users
mailing list