'a' is a collection of types
var a = {
"1" : "type one",
"2" : "type two"
..
};
'b' is a collection of points
var b = {
"1" : { "lat": .. , "lon": .. , "types": [1, 4]},
"2" : { "lat": .. , "lon": .. , "types": [3]},
"3" : { "lat": .. , "lon": .. , "types": [1, 3, 5]},
..
};
I want to draw the points, but also want to be able to highlight groups
of points by types. I am envisioning a widget with all the types listed,
and when the user clicks on a type, either all the points of that type
light up, or points of all *other* types are hidden.
One point can be of one or more types, and one type has one or more
points (a many to many).
Any advise on how to accomplish the above would be greatly appreciated.
I am using a Vector layer.
--
Puneet Kishor
_______________________________________________
Users mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/openlayers-users