Hi All, I need to have the following: (1) Multiple features displayed on a map over google maps base layer (2) Each styled differently (3) Each receiving mouse events (highlight feature when mouse over, select feature on mouse click, etc.) (4) Each refreshing periodically (the feature data and location will change) (5) Each feature has a different structure (so MergeModels will not work as I understand it)
I have looked at several of the examples and have been able to do the following: (1) Separate FeatureCollections with separate Timers, FeatureSelectHandlers, GmlRendererOL, and TipWidgetOL objects, SLD files are used for styling. -> In this scenario, each time a timer refreshes the collection, the recently refreshed collection is able to receive mouse events and all others cannot. -> Styling works as expected except cannot render text. (2) Feature Layers (as Layer, as FeatureType) in the OwsContext File. -> Have not been able to use mouse events -> Inline SLD does not appear to be working (all points displayed as red diamonds) I have been pouring over the examples and documentation and trying all different combinations of widgets and whatnot and I am still unable to get ALL of the functionality I need. I am starting to think I need to write some code to extend the functionality. I am new to mapbuilder and javascripting (I am a Java developer) so I would prefer to use the mapbuilder functionality as-is. I have tried using the rc2 release and the nightly trunk release and see the same results. How do I allow multiple features to receive mouse events simultaneously? I don't care if I am using a feature collection or if I am using a layer in the owscontext (though I do not see a path to doing this). Does anybody have any suggestions on which direction to start? Thank you for any help you can provide! PS: I am sorry if this message was sent more than once - I've been having issues with my nabble account today. I think it's all cleared up now. -- View this message in context: http://www.nabble.com/Mouse-events-for-multiple-feature-layers-collections-tp18267796p18267796.html Sent from the MapBuilder Users mailing list archive at Nabble.com. ------------------------------------------------------------------------- Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW! Studies have shown that voting for your favorite open source project, along with a healthy diet, reduces your potential for chronic lameness and boredom. Vote Now at http://www.sourceforge.net/community/cca08 _______________________________________________ Mapbuilder-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/mapbuilder-users
