Dear All,
I've taken a look at the applet running at http://dstl.bbn.com/openmap but it appears to be loading the whole file across the internet and doesn't use the link layer. I want to use the link layer to server up shape data but to have the ability to fill the polygons in the applet in the same way as they are filled when running OpenMap as an application.
I'm running the Shape Server Starter as follows:
java -mx128m com.bbn.openmap.layer.link.shape.ShapeServerStarter .\share\vmap_area_thin.shp .\share\vmap_area_thin.ssx -port 5581
The client properties file contains the following:
### ShapeFile layer
thinShapeFillPolitical.class=com.bbn.openmap.layer.link.LinkLayer
thinShapeFillPolitical.prettyName=Thin Shape Fill Political
thinShapeFillPolitical.port=5581
# Colors (32bit ARGB)
thinShapeFillPolitical.lineColor=ff707C89
thinShapeFillPolitical.fillColor=ff707C89
However, the map that displays is just the outline map. I want it filled in with the same color as the lines themselves - this is what happens correctly when running it as an application with the following properties file:
### ShapeFile layer
thinShapeFillPolitical.class=com.bbn.openmap.layer.shape.ShapeLayer
thinShapeFillPolitical.prettyName=Political Solid
thinShapeFillPolitical.shapeFile=./share/vmap_area_thin.shp
thinShapeFillPolitical.spatialIndex=./share/vmap_area_thin.ssx
# Colors (32bit ARGB)
thinShapeFillPolitical.lineColor=ff707C89
thinShapeFillPolitical.fillColor=ff707C89
Any help would be most appreciated.
Best regards,
Dave
Tel: +44 (0) 7092 250 375
Fax: +44 (0) 7092 250 375
---------------------------------
Do You Yahoo!?
Make international calls for as low as $.04/minute with Yahoo! Messenger
http://phonecard.yahoo.com/
-- [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 Mon Jul 23 12:11:01 2001
This archive was generated by hypermail 2.1.8 : Thu May 12 2005 - 07:18:31 EDT