Well you could use ogc filter to split them in 4 groups. You could split them manually and load 4 different layers from 4 different files for example. 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.
I can't say what is the best way, because I don't know how your points are stored. 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. Hope it helps, Pedro. 2009/11/16 Quim Rifà <[email protected]> > Hi, > > 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. > > I need also that all the points can have their own events, like the click > on a marker. > > 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? > > Thanks a lot! > > _______________________________________________ > Users mailing list > [email protected] > http://openlayers.org/mailman/listinfo/users > >
_______________________________________________ Users mailing list [email protected] http://openlayers.org/mailman/listinfo/users
