[OpenLayers-Users] Load something like a "custom map"...

Pedro Baracho pedropbaracho at gmail.com
Mon Nov 16 09:20:03 EST 2009


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à <rifins at gmail.com>

> 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
> Users at openlayers.org
> http://openlayers.org/mailman/listinfo/users
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/openlayers-users/attachments/20091116/54a6c3bf/attachment.html


More information about the Users mailing list