I am interested on this feature so I will check as soon as possible the properties setting and debug the code to verify what happens within the rule definition.....or Don Dietrick could enlight us whit his wisdom and knowledge ;)....I don't know yet the internals very well ;).
Best Regards
Alessio Iannone
Software Engineer
Mobile: 39 329 8834960
Email: alessio.iannone_at_nextant.it
IM: quonn77_at_hotmail.com (AIM)
http://www.linkedin.com/in/alessioiannone
Web sites of the Martial Arts I play
Nextant - Navcomm Applications
Via Alessandro Noale
See who we know in common Want a signature like this?
----- Messaggio originale -----
Da: "neil.price@bt.com" <neil.price@bt.com>
A: openmap-users@bbn.com
Inviato: Martedì 4 marzo 2008, 18:38:15
Oggetto: [OpenMap Users] DBFHandler/ShapeLayer Problem
DBFHandler/ShapeLayer Problem 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.ShapeLayer
apollo.gis.openmap.strategygaz.prettyName=UK Strategy
apollo.gis.openmap.strategygaz.shapeFile=/apollo/gis/openmap/data/resources/strategigaz_point.shp
apollo.gis.openmap.strategygaz.spatialIndex=/apollo/gis/openmap/data/resources/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
___________________________________
L'email della prossima generazione? Puoi averla con la nuova Yahoo! Mail:
http://it.docs.yahoo.com/nowyoucan.html
--
[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 Wed Mar 05 2008 - 02:48:20 EST