Well you could use ogc filter to split them in 4 groups.<br>You could split them manually and load 4 different layers from 4 different files for example.<br>And there is also something called Strategy on OL's Vector Layers, that is an automatic way to crop/reduce the amount of data you are showing.<br>
<br>I can't say what is the best way, because I don't know how your points are stored.<br><br>You don't need a map server, if you are splitting them manually or using "Strategy" parameter. If you intend to use OGC Filter you will probably need a OGC-Compliant map server, like Geoserver, for example.<br>
<br>Hope it helps,<br>Pedro.<br><br><div class="gmail_quote">2009/11/16 Quim Rifà <span dir="ltr"><<a href="mailto:rifins@gmail.com">rifins@gmail.com</a>></span><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Hi, <div><br></div><div>I have about 2000 points in a map, distributed in 4 categories (about 500 points per category). If I try to add all the points at a time, it takes a lot of time to load all the points, and I would like to know if it is possible to create four "layers" (I don't know if the word layer fits to what I'm saying..) each one containing the points of a category, and then load the "layers". This would make the loading much faster.</div>
<div><br></div><div>I need also that all the points can have their own events, like the click on a marker.</div><div><br></div><div>Which is the best way to fit what I'm saying? I need a map server or there is any way to make this without creating a custom map with points?</div>
<div><br></div><div>Thanks a lot!</div>
<br>_______________________________________________<br>
Users mailing list<br>
<a href="mailto:Users@openlayers.org">Users@openlayers.org</a><br>
<a href="http://openlayers.org/mailman/listinfo/users" target="_blank">http://openlayers.org/mailman/listinfo/users</a><br>
<br></blockquote></div><br>