Heloo Rajesh.M,
The OpenMap applet can support what you are trying to do. Although with
applets, you have to take care in choosing the source of your map data.
Access to the client's local disk is forbidden, and some layers don't
yet have the ability to use Java Resources as sources of data. That's
where the Link package comes in. The
com.bbn.openmap.layer.link.LinkLayer can communicate with a LinkServer
to, among other things, get graphics to display for a given projection
(zoom level, location, map size, etc). One more thing - the LinkServer
has to be running on the same host that the applet was loaded from in
order for the LinkLayer to contact it. Applet rules prevent an applet
from contacting a machine other than the server host.
If you want to hook OpenMap components to a servlet to create map
images, check the com.bbn.openmap.image package, specifically the
MapRequestHandler. If you want to see the MapRequestHandler used, the
SimpleHttpImageServer uses it to create map images. If you start the
SHIS and contact it on it's host and port, it will provide the format
for a valid map request.
Regards,
Don
> "Rajesh.M" wrote:
>
> Hi there,
>
> Greetings.
> Iam a new user to openmap and need to figure out if my requirement is
> possible.
> I need to develop an applet which will display the geographical
> map(say Political
> map + ocean names + countries name) and over it display some objects
> whose
> properties(say colour) would change. My problem is i have to support
> "zoom in"
> for a selected area on the map. I want to know if i could do this with
> openmap?
> I took deep look at the mailing archives and found that there is a
> package
> "com.bbn.openmap.layers.link", from what i understand could be used to
> "transfer graphic
> objects between a ClientLink and a Linkserver over socket" am i on
> the right track?
> is it possible with these classes to reply back with the new
> geographical map for the
> x/y co-ordinates area selected for zoom
> . If so is it possible to make the Linkserver a servlet and transfer
> the data over HTTP? Would be glad to get a help and detailed reply
> with information on using "Link"
> package.
>
> Thx
> Rajesh.m
-- =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= Donald Dietrick dietrick@bbn.com (617)873-3031 [FAX]4328 BBN Technologies, 10 Moulton Street, Cambridge, MA 02138 =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= -- [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 Wed May 9 10:08:25 2001
This archive was generated by hypermail 2.1.8 : Thu May 12 2005 - 07:18:31 EDT