<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content="text/html; charset=iso-8859-2" http-equiv=Content-Type>
<META name=GENERATOR content="MSHTML 8.00.6001.18975">
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT size=2 face=Arial>Hi all<BR>For couple of days I'm trying to wrote
something like "setFilter()" function. This function should be able to set
filter applied to data and show only those elements/objects of layer on the map
that fit to my expression. I'm working whit fusion and I know that there are
some filter options...<BR>var options = {};<BR> options.geometry =
'LINESTRING(x y, x y, ...)'; <BR> options.filter = 'ID =
1';<BR> options.layers =
'MyLAYER';<BR> mapWidget.query(options);<BR>But this solusion don't satisfy
me couse it only filter current selection :(</FONT></DIV>
<DIV><FONT size=2 face=Arial>So I also try to use
'BuildLayerDefinitionContent()' from buffer.php but it throws me exception
'mgbytesource' in this line:<BR> $src = new MgByteSource($xmlStr,
strlen($xmlStr));<BR> return $src->GetReader();<BR><BR>PLS
help<BR><BR>Radek.</FONT></DIV></BODY></HTML>