Examples of VmlLabelTileWriter


Examples of org.geomajas.internal.rendering.writer.vml.VmlLabelTileWriter

      DefaultVmlDocument document = new DefaultVmlDocument(writer);
      int coordWidth = tile.getScreenWidth();
      int coordHeight = tile.getScreenHeight();
      document.registerWriter(InternalFeatureImpl.class, new VmlFeatureWriter(getTransformer(), coordWidth,
          coordHeight));
      document.registerWriter(InternalTileImpl.class, new VmlLabelTileWriter(coordWidth, coordHeight,
          getTransformer(), labelStyleInfo, geoService, textService));
      document.setMaximumFractionDigits(MAXIMUM_FRACTION_DIGITS);
      return document;
    } else {
      throw new RenderException(ExceptionCode.RENDERER_TYPE_NOT_SUPPORTED, renderer);
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.