Mercurial > dive4elements > river
view flys-artifacts/doc/conf/mapserver/riveraxis-layer.vm @ 4768:99f9e371371b
Move distance calculation to Coordinate class. Use inheritance instead of composition in Anchor class. Made Anchor class static. Use epsilon equal comparision when checking for same station: Boy, do you ever learn that sharp equal comparison of doubles is not a clever idea!?
author | Sascha L. Teichmann <teichmann@intevation.de> |
---|---|
date | Fri, 04 Jan 2013 15:35:51 +0100 |
parents | d93748043cbc |
children | 8062b571884d |
line wrap: on
line source
LAYER NAME "$LAYER.getName()" TYPE $LAYER.getType() INCLUDE "conf/dbconnection.include" DATA "$LAYER.getData()" FILTER "$LAYER.getFilter()" EXTENT $LAYER.getExtent() STATUS ON TEMPLATE map.html TOLERANCE 10 DUMP TRUE #if( $LAYER.getGroup() ) GROUP "$LAYER.getGroup()" #end #if ( $LAYER.getLabelItem() ) LABELITEM $LAYER.getLabelItem() #end PROJECTION "init=epsg:31467" END METADATA "wms_title" "$LAYER.getTitle()" "gml_include_items" "all" #if ( $LAYER.getGroupTitle() ) "wms_group_title" "$LAYER.getGroupTitle()" #end END #if ( $LAYER.getStyle() ) $LAYER.getStyle() #else CLASS NAME "" STYLE SIZE 5 OUTLINECOLOR "#000000" END #if ( $LAYER.getLabelItem() ) LABEL ANGLE auto SIZE 10 COLOR "#000000" TYPE truetype FONT LiberationSans-Italic POSITION ur OFFSET 2 2 END #end END #end END