[OpenMap Users] Creating a Legend Minimizer

From: John McMahon <jmcmahon_at_mobilvox.com>
Date: Fri, 18 Jun 2010 09:33:07 -0400

Hi All,

 

I have a legend in my MapBean, that is just a layer in a fixed position. I
would like to add a "Quick Hide" feature that would add a clickable minus
sign in the upper right corner of that LegendLayer.

 

Has anyone done this before? Would it be difficult to do?

 

Currently, my LegendLayer just extends Layer and uses OMGraphics and OMText
to construct a map legend. I added the minus sign graphic, but how do I
check that it was clicked? I already have several mouse modes configured,
and it would need to be clickable from any of those modes.

 

Any suggestion on how to go about doing this?

 

Thanks,

 

John

 



--
[To unsubscribe to this list send an email to "majdart_at_bbn.com"
with the following text in the BODY of the message "unsubscribe openmap-users"]
Received on Fri Jun 18 2010 - 10:05:07 EDT

This archive was generated by hypermail 2.3.0 : Tue Mar 28 2017 - 23:25:09 EDT