i got a line (via wfs) over a polygon (via wms). when a user clicks on
the line, i want just the wfs to return. when the user clicks on the
polygon, i want just the wms to return. right now, when a user clicks
on the line, both return.
the two functions:
1. function fwfs(feature){ ... }
2. function fwms(evt){ ... }
the two triggers:
1. ...callbacks: { 'click' : fwfs }...
2. ...query[i].events.register('getfeatureinfo', this, fwms);...
this design seemed unavoidable because i thought i had to add and
activate wfs and wms separately, but i am open to other suggestions.
_______________________________________________
Users mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/openlayers-users