[OpenMap Users] DBFHandler/ShapeLayer Problem

From: <neil.price_at_bt.com>
Date: Tue, 4 Mar 2008 17:38:15 -0000

Hi

In OpenMap 4.6.4 I have set the rules on a shapelayer so that the labels
are displayed with the points, however I have noticed that as I zoom in
the labels disappear (even though minScale is 0), and then often don't
return until I have zoomed out even further than I was when they were
last displayed. The properties are below (though I have commented out
some of the scale ones to see if it makes any difference), please could
anyone advise what I am doing wrong?

apollo.gis.openmap.strategygaz.class=com.bbn.openmap.layer.shape.ShapeLa
yer
apollo.gis.openmap.strategygaz.prettyName=UK Strategy
apollo.gis.openmap.strategygaz.shapeFile=/apollo/gis/openmap/data/resour
ces/strategigaz_point.shp
apollo.gis.openmap.strategygaz.spatialIndex=/apollo/gis/openmap/data/res
ources/strategigaz_point.ssx
apollo.gis.openmap.strategygaz.lineColor=000000
apollo.gis.openmap.strategygaz.fillColor=000000
apollo.gis.openmap.strategygaz.minScale=0
apollo.gis.openmap.strategygaz.maxScale=200000f
apollo.gis.openmap.strategygaz.rules=rule0

# rule0 definition:
apollo.gis.openmap.strategygaz.rule0.key=NAME
apollo.gis.openmap.strategygaz.rule0.op=all
apollo.gis.openmap.strategygaz.rule0.label=NAME
apollo.gis.openmap.strategygaz.rule0.label.maxScale=200000
#apollo.gis.openmap.strategygaz.rule0.label.minScale=0
# Visibility can be controlled with respect to scale as well
apollo.gis.openmap.strategygaz.rule0.render=true
apollo.gis.openmap.strategygaz.rule0.render.maxScale=200000
#apollo.gis.openmap.strategygaz.rule0.render.minScale=0
# Rendering attributes can be specified.
apollo.gis.openmap.strategygaz.rule0.lineColor=000000
apollo.gis.openmap.strategygaz.rule0.lineWidth=4
apollo.gis.openmap.strategygaz.rule0.mattingColor=000000

Many Thanks

Regards

Neil Price



--
[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 Tue Mar 04 2008 - 12:38:47 EST

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