[OpenLayers-Users] GeoJSON MultiPoint Features
[SEC=UNCLASSIFIED]
Eric Lemoine
eric.lemoine at camptocamp.com
Mon Feb 15 01:44:13 EST 2010
On Monday, February 15, 2010, John Phan <J.Phan at bom.gov.au> wrote:
>
> Hi,
>
> I'm kind of new to OpenLayers. But I want to use GeoJSON to request geometric features using the geometric type: MultiPoint.
>
> The browser has no problems rendering the vector layer.
>
> Now how do I associate an onclick event with each of these points (rather than a collection of points).
Hi. Have you looked at Control.SelectFeature? When clicking on a point
the control will select and highlight the whole collection of points
the feature comprises though.
--
Eric Lemoine
Camptocamp France SAS
Savoie Technolac, BP 352
73377 Le Bourget du Lac, Cedex
Tel : 00 33 4 79 44 44 96
Mail : eric.lemoine at camptocamp.com
http://www.camptocamp.com
More information about the Users
mailing list