Package org.geomajas.layer

Examples of org.geomajas.layer.RasterLayer.paint()


  public void execute(PipelineContext context, List<RasterTile> response) throws GeomajasException {
    RasterLayer layer = context.get(PipelineCode.LAYER_KEY, RasterLayer.class);
    Envelope bounds = context.get(PipelineCode.BOUNDS_KEY, Envelope.class);
    double scale = context.get(PipelineCode.SCALE_KEY, Double.class);
    CoordinateReferenceSystem crs = context.get(PipelineCode.CRS_KEY, CoordinateReferenceSystem.class);
    List<RasterTile> images = layer.paint(crs, bounds, scale);
    response.addAll(images);
  }

}
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.