Hi Shahak,
On May 26, 2004, at 12:38 PM, <Shahak.Nagiel@ngc.com> wrote:
> We're looking into using OpenMap in the following context/scope:
>
> - Preferably, run the software entirely on a Java-based web server
> (i.e. no applets)
Sure, it's been done using OpenMap components in a servlet environment.
There are FAQ entries on the website that describe the components that
can be used in the com.bbn.openmap.image package to work for a servlet.
There's a .NET webservice package included in the OpenMap package that
does this too. There is a demo of it on the website.
> - Generate gif/jpeg-based maps to render on the web pages, plotted
> with custom symbology (unsure of the formats and source yet), with
> each symbol being clickable as a hyperlink to some URL.
You would use an image map in html for the image that OpenMap created.
> - Enable the end-user to click on the image-based map in order to
> obtain one (or a series of) coordinate points. Page refresh upon
> every click is acceptable, if necessary. Ideally, we'd like for the
> end-user to click-and-drag to create certain shapes (e.g. circles,
> squares, polygons), which will, in turn, capture relevant coordinate
> and distance measurements.
That might be a little more difficult to have happen smoothly. You
could certainly track the mouse click in the image map and return a new
image with the servlet interpreting the points and sending them to a
Layer that was drawing the intending shape in the map image.
I'm not sure how you could get multiple click information sent to the
servlet at one time, so that one image would be returned with the
completed shape embedded in it.
> Is all this possible in an HTML/JavaScript front-end given the code
> out-of-the-box, or would an applet implementation be required? Are
> there scripts out there that've already been designed for this use?
> Any suggestions would be welcomed and greatly appreciated.
There was servlet code posted to the openmap-users mailing list and it
can be found in the archives on the website, that just uses Tomcat with
OpenMap to send back images. Getting the interactivity would be
something you would need to do. If you wanted to use an applet, the
current OpenMapApplet class could be configured to do this, you might
have to write a Layer to interpret mouse clicks the way you want to
draw your shapes.
Regards,
Don
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Don Dietrick, dietrick@bbn.com
BBN Technologies, Cambridge, MA
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
-- [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 Thu May 27 21:53:49 2004
This archive was generated by hypermail 2.1.8 : Thu May 12 2005 - 07:18:38 EDT