Hi Balaji,
On Friday, April 26, 2002, at 09:29 AM, - b a l a j i - wrote:
>
> Dear OpneMapers,
>
> I am building an application which is a paint brush kind of application
> and i will draw images, shapes ,images based on the user
> interactions.How can i integrate it with openmap.
> I thought of using Drawing tool kind of approach, and add my
> application (which is a JComponent) as a layer to the MapBean.But how
> the projection will be handled ?
If your application is a layer, then it will received the projection
from the MapBean when it is added to it. To get MouseEvents from the
MapBean, your layer needs to listen to the MouseMode that is active, or
be a MouseListener to the MapBean directly.
> should i define the graphic (by extending OMGraphics) for all the
> shapes and images.?
If you want to defined graphics that are geographically based, then you
probably should create OMGraphics for the shapes and images.
> I would like to have all the graphics manipulation in my application
> and only the projection by openmap projection.Is it possible?
Sure - the OpenMap projections are just objects, and they can be used
outside of an OpenMap application.
> friends, if any body is using this kind of application please help me .
It all depends on what you want to do. If you want to create
OMGraphics, then it might be easier to work within the OpenMap framework
and modify the EditableOMGraphics to get the application feel you want.
Regards,
Don
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Don Dietrick, BBN Technologies, dietrick@bbn.com
10 Moulton Street, Cambridge, MA 02138
617-873-3031 [fax]-2794
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
-- [To unsubscribe to this list send an email to "majdart@bbn.com" with the following text in the BODY of the message "unsubscribe openmap-users"]Received on Sun Apr 28 16:24:17 2002
This archive was generated by hypermail 2.1.8 : Thu May 12 2005 - 07:18:33 EDT