Hi All,

I have searched the forums, read the documentation, and looked at the
examples and now I am asking the experts for help getting me in the right
direction.  

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 will have a different structure (so MergeModels will not
work as I understand it)

I have tried the following scenarios:
(1) Separate FeatureCollections with separate Timers, FeatureSelectHandlers,
GmlRendererOL, and TipWidgetOL objects, SLD files are used for styling (see
attached files).
-> 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 (see
attached files).
-> 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 different
combinations of widgets and tools and I am still unable to get the
functionality I need.  I am starting to think I need to write some code.  I
am new to mapbuilder and javascript (I am a Java developer) so I would
prefer to use the mapbuilder functionality as-is if possible but am open to
adding my own functionality.  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 with this technique).  

Does anybody have any suggestions on which direction to start?  Thank you
for any help you can provide! 

Here are my configuration files:
Scenario 1: http://www.nabble.com/file/p18260225/google.xml google.xml  
http://www.nabble.com/file/p18260225/test_config.xml test_config.xml 
Scenario 2: http://www.nabble.com/file/p18260225/google_layer.xml
google_layer.xml   http://www.nabble.com/file/p18260225/test_config2.xml
test_config2.xml 
-- 
View this message in context: 
http://www.nabble.com/Mouse-events-for-multiple-feature-types-tp18260225p18260225.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

Reply via email to