[OpenLayers-Users] Theoretical client-side implementation

Nicholas Efremov-Kendall n.e.kendall at gmail.com
Wed Jun 10 17:18:08 EDT 2009


Hi all,

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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/openlayers-users/attachments/20090610/886d3e08/attachment.html


More information about the Users mailing list