<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=us-ascii">
<META content="MSHTML 6.00.2800.1106" name=GENERATOR></HEAD>
<BODY>
<DIV dir=ltr align=left><SPAN class=953561506-11062009><FONT face=Arial
color=#0000ff size=2>Hi,</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=953561506-11062009><FONT face=Arial
color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=953561506-11062009><FONT face=Arial
color=#0000ff size=2>i would think, a clientside solution should be possible.
It's possible to change the display of features due to given
attributes.</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=953561506-11062009><FONT face=Arial
color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=953561506-11062009><FONT face=Arial
color=#0000ff size=2><A
href="http://gis.ibbeck.de/ginfo/apps/OLExamples/OL26/examples/styles_unique_with_group.html">http://gis.ibbeck.de/ginfo/apps/OLExamples/OL26/examples/styles_unique_with_group.html</A></FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=953561506-11062009><FONT face=Arial
color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=953561506-11062009><FONT face=Arial
color=#0000ff size=2>The example has only a couple of features. I don't know, if
there would be performance problems with 400 features.</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=953561506-11062009><FONT face=Arial
color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><FONT face=Arial><FONT size=2><FONT color=#0000ff><SPAN
class=953561506-11062009>You can also look at</SPAN></FONT></FONT></FONT></DIV>
<DIV dir=ltr align=left><FONT face=Arial><FONT size=2><FONT color=#0000ff><SPAN
class=953561506-11062009></SPAN></FONT></FONT></FONT> </DIV>
<DIV dir=ltr align=left><FONT face=Arial><FONT size=2><FONT color=#0000ff><SPAN
class=953561506-11062009><A
href="http://gis.ibbeck.de/ginfo/apps/OL27Client/OL27ClientGis.asp?WMC=./data/WMC/GML%20Wuppertal%20GeoPoints%20Singles.wmc.xml">http://gis.ibbeck.de/ginfo/apps/OL27Client/OL27ClientGis.asp?WMC=./data/WMC/GML%20Wuppertal%20GeoPoints%20Singles.wmc.xml</A></SPAN></FONT></FONT></FONT></DIV>
<DIV dir=ltr align=left><FONT face=Arial><FONT size=2><FONT color=#0000ff><SPAN
class=953561506-11062009></SPAN></FONT></FONT></FONT> </DIV>
<DIV dir=ltr align=left><FONT face=Arial><FONT size=2><FONT color=#0000ff><SPAN
class=953561506-11062009>It shows a couple of vector layers, that use always the
same gml source (360 point features), only the applied rules for the feature
styles are different. </SPAN></FONT></FONT></FONT></DIV>
<DIV dir=ltr align=left><FONT face=Arial><FONT size=2><FONT color=#0000ff><SPAN
class=953561506-11062009></SPAN></FONT></FONT></FONT> </DIV>
<DIV dir=ltr align=left><FONT face=Arial><FONT size=2><FONT color=#0000ff><SPAN
class=953561506-11062009>Arnd</SPAN></FONT></FONT></FONT></DIV>
<DIV dir=ltr align=left><FONT face=Arial><FONT size=2><FONT color=#0000ff><SPAN
class=953561506-11062009></SPAN></FONT></FONT></FONT> </DIV>
<DIV dir=ltr align=left>
<HR tabIndex=-1>
</DIV>
<DIV dir=ltr align=left><FONT face=Tahoma size=2><B>Von:</B>
users-bounces@openlayers.org [mailto:users-bounces@openlayers.org] <B>Im Auftrag
von </B>Nicholas Efremov-Kendall<BR><B>Gesendet:</B> Mittwoch, 10. Juni 2009
23:18<BR><B>An:</B> users@openlayers.org<BR><B>Betreff:</B> [OpenLayers-Users]
Theoretical client-side implementation<BR></FONT><BR></DIV>
<DIV></DIV>Hi all,<BR><BR>Just a hypothetical question. I'm trying to come up
with a way of producing map which has points that have popups describing the
sites/points attribute data. The idea has been to have this database driven map
where a unique user-generated data is loaded based on the search criteria. The
database itself is nothing more than a giant spreadsheet, and I wonder if a
client-side solution might not be possible. That is, load all the points at once
(n < 400), and then hide or show depending on user input. I'm envisioning
having buttons which have an on-click event which either changes their color, or
hides all that don't match (i.e. affecting their visibility) based on an if
statement (i.e. if site_type === true, change style, etc). Would this be
"easier" than trying to echo out a new GML file everytime a user enters a
search? The popups don't need to have more than a few elements of attribute
data.<BR></BODY></HTML>