[OpenLayers-Users] syntax for OL consuming WFS layer served from ArcIMS 9.1 sp2

Mike Quentel mikequentel at yahoo.com
Tue May 8 14:51:14 EDT 2007


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.

Is anyone else using ArcIMS WFS Connector with OL?

Thank you.

Mike Quentel




		
___________________________________________________________ 
Yahoo! Messenger - with free PC-PC calling and photo sharing. http://uk.messenger.yahoo.com



More information about the Users mailing list