MapTools.org

[maplab-users] searching in layer (newbie)

Martin Kiuru Martin.Kiuru@Elion.ee
Fri, 20 Feb 2004 11:43:21 +0200
This is a multi-part message in MIME format.

------_=_NextPart_001_01C3F795.F9DA035B
Content-Type: text/plain;
	charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

Hi.
=20
I am trying to customize an application, generated by maplab by adding a
serch feature, and have a problem with a search using
queryByAttributes() in tileindexed layer. After first search, when
searched object is zoomed, all next searches will work only with a
displayed zoomed area - it seems that after zooming getLayerByName()
returns only zoomed area of the layer. So, my question is how to reset
layer to initial state, to search in whole layer ?
=20
Thanks in advice,
Martin.

------_=_NextPart_001_01C3F795.F9DA035B
Content-Type: text/html;
	charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; =
charset=3Dus-ascii">
<TITLE>S&otilde;num</TITLE>

<META content=3D"MSHTML 6.00.2800.1400" name=3DGENERATOR></HEAD>
<BODY>
<DIV>
<DIV>
<DIV><FONT face=3DArial size=3D2><SPAN=20
class=3D794282606-19022004>Hi.</SPAN></FONT></DIV>
<DIV><FONT face=3DArial size=3D2><SPAN=20
class=3D794282606-19022004></SPAN></FONT>&nbsp;</DIV>
<DIV><SPAN class=3D794282606-19022004><FONT face=3DArial><FONT =
size=3D2><SPAN=20
class=3D316444009-20022004>I am trying to customize&nbsp;an application, =
generated=20
by maplab by adding a serch feature, and</SPAN>&nbsp;have a problem with =
a=20
search using queryByAttributes() in tileindexed layer. After first =
search, when=20
searched object is zoomed, all next searches will work only with a =
displayed=20
zoomed area - it seems that after zooming getLayerByName() returns only =
zoomed=20
area of the layer. So, my question is how to reset layer to initial =
state, to=20
search in whole layer ?</FONT></FONT></SPAN></DIV>
<DIV><FONT face=3DArial size=3D2><SPAN=20
class=3D794282606-19022004></SPAN></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2><SPAN class=3D794282606-19022004>Thanks =
in=20
advice,</SPAN></FONT></DIV>
<DIV><FONT face=3DArial size=3D2><SPAN=20
class=3D794282606-19022004>Martin.</SPAN></FONT></DIV></DIV></DIV></BODY>=
</HTML>

------_=_NextPart_001_01C3F795.F9DA035B--


This archive was generated by Pipermail.