Revision 29131 trunk/extensions/extSymbology/src/org/gvsig/symbology/fmap/labeling/placements/LinePlacementAtExtremities.java

View differences:

LinePlacementAtExtremities.java
111 111

  
112 112
	public boolean isSuitableFor(IPlacementConstraints placementConstraints,
113 113
			int shapeType) {
114
		if (shapeType == FShape.LINE) {
114
		if ((shapeType%FShape.Z) == FShape.LINE) {
115 115
			return placementConstraints != null/* && !placementConstraints.isFollowingLine()*/
116 116
					&& (placementConstraints.isAtTheBeginingOfLine() || placementConstraints
117 117
							.isAtTheEndOfLine());

Also available in: Unified diff