[okfn-labs] cluster makers support for leaflet

Adrià Mercader amercadero at gmail.com
Thu Aug 16 09:42:26 UTC 2012


Hi Maurizio,
Thanks for link, it looks really interesting!
Perhaps it would be a good addition to Recline map view (which powers
the dashboard, I think).

Just for the record, at least in CKAN we also love OpenLayers, we use
either OL or Leaflet depending on our needs, Right tool for the right
job, etc etc :)

Cheers,

Adrià


On 16 August 2012 09:50, Maurizio Napolitano <napo at fbk.eu> wrote:
> I love OpenLayers, but, i understand that in OKFN leaflet is more loved :)
> For this reason i point out a plugin for LeafLet with the support for the
> marker clusters
> https://github.com/danzel/Leaflet.markercluster#leafletmarkercluster
>
> If you have a lot of markers in a map, the performance of the browser begin
> to go down and the readability of the map is very hard.
> With a cluster function you obtain a marker with a number that explain the
> numbers of points behind.
> By using the zoom function the clusters change and the points are more
> readable.
> The plugin use a funny visualization: over the cluster there is the number,
> but, with the mouseover function show also a polygon to understand the area
> behind.
>
> Example here
> http://danzel.github.com/Leaflet.markercluster/example/marker-clustering-realworld.388.html
>
> I opened a issue for the okfn dashboard here
> https://github.com/okfn/dashboard/issues/36
>
> I hope to find time to write a patch to propose.
>
> Ciao
>
> _______________________________________________
> okfn-labs mailing list
> okfn-labs at lists.okfn.org
> http://lists.okfn.org/mailman/listinfo/okfn-labs




More information about the okfn-labs mailing list