@Override protected ScaleBarComponentInfo buildScaleBar() { if (isWithScaleBar()) { ScaleBarComponentInfo bar = super.buildScaleBar(); bar.setTicNumber(3); bar.setTag("scalebar"); return bar; } else { return null; } }
@Override protected ScaleBarComponentInfo buildScaleBar() { if (isWithScaleBar()) { ScaleBarComponentInfo bar = super.buildScaleBar(); bar.setTicNumber(3); bar.setTag("scalebar"); return bar; } else { return null; } }
@Override protected ScaleBarComponentInfo buildScaleBar() { if (isWithScaleBar()) { ScaleBarComponentInfo bar = super.buildScaleBar(); bar.setTicNumber(3); bar.setTag("scalebar"); return bar; } else { return null; } }
protected MapComponentInfo buildMap() { MapComponentInfo map = new MapComponentInfo(); if (PrintingLayout.templateIncludeScaleBar) { map.addChild(buildScaleBar()); } if (PrintingLayout.templateIncludeLegend) { map.addChild(buildLegend()); } if (PrintingLayout.templateIncludeNorthArrow) { map.addChild(buildArrow()); } return map; }
protected MapComponentInfo buildMap() { MapComponentInfo map = new MapComponentInfo(); if (PrintingLayout.templateIncludeScaleBar) { map.addChild(buildScaleBar()); } if (PrintingLayout.templateIncludeLegend) { map.addChild(buildLegend()); } if (PrintingLayout.templateIncludeNorthArrow) { map.addChild(buildArrow()); } return map; }
protected MapComponentInfo buildMap(Bbox bounds) { MapComponentInfo map = new MapComponentInfo(); if (PrintingLayout.templateIncludeScaleBar) { map.addChild(buildScaleBar()); } if (PrintingLayout.templateIncludeLegend) { LegendComponentInfo legend; if (null == bounds) { legend = buildLegend(); } else { legend = buildLegend(bounds); } map.addChild(legend); } if (PrintingLayout.templateIncludeNorthArrow) { map.addChild(buildArrow()); } return map; }