For the last week and a half I have been trying to wrap my head around
mapbuilder 1.5. I like it a lot. I like the fact that you can do a great
amount by editing config files, but if you need to go further, you can just
drop into javascript and extend a class. It is similar to OFBiz in that way.

My goal was to be able to be able to add a WFS interface to OFBiz (ie.
Apache Open for Business Project) so that I could implement popups without
having to worry about what database the points-of-interest were in. I coded
a skeleton for that and it works okay for testing. I did not have to change
much of the MapBuilder code (a lot of study, though). I did tweak the
FeatureCollection class - substituting "parentModel" for "containerModel"
mostly.

I did not have much trouble getting popups to appear on clicks, but I see
another need and that is for brief info to appear when you hover over a
point of interest. I looked at FeatureSelectHandler and I do not think that
highlight/dehighlight do what I want to do - am I wrong about that? I felt
that I needed another TipWidgetOL in my config file that reacts to the
mouseover/mouseout events. I have tried to implement it. It touches a few
files, but I am mostly following the pattern for "featureOnClick" (I added
"featureOnSelect").

It works after a fashion, but my problem is this: in
FeatureSelectHandler.onSelect/onUnselect, I catch the mouseover and mouseout
events. The problem is that the mouseout event is fired immediately after
the mouseover event even thought the mouse does not move. It has been awhile
since I have been this deeply immersed in javascript, so I don't know if it
is a basic event processing problem or not. I am only working in Firefox 2.0.
I am wondering if it has something to do with the
OpenLayers.Geometry.Point/Vector
object not having any bounds?

If I can get this "hover" functionality to work with just config file and
xsl file customizations, I think it will greatly add to the pool of
potential MapBuilder users - namely all the business apps for which
geospatial viewing would be an extremely nice feature, but for which GIS is
not the primary focus. I would be glad to submit a diff of what I have done
(here or how?) Sorry if I am hitting you with stuff that is not on the
critical path. I just wanted to see if this happened to jive with what any
of you developers were working on.

Thanks for an incredibly useful and valuable product,
-Al
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
mapbuilder-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mapbuilder-devel

Reply via email to