congrats Icon
New! Announcing Tabnine Chat Beta
Learn More
Tabnine Logo
RasterTile.getUrl
Code IndexAdd Tabnine to your IDE (free)

How to use
getUrl
method
in
org.geomajas.layer.tile.RasterTile

Best Java code snippets using org.geomajas.layer.tile.RasterTile.getUrl (Showing top 5 results out of 315)

origin: org.geomajas.plugin/geomajas-plugin-printing

public RasterImageDownloadCallable(int retries, RasterTile rasterImage) {
  this.result = new ImageResult(rasterImage);
  this.retries = retries;
  String externalUrl = rasterImage.getUrl();
  url = dispatcherUrlService.localize(externalUrl);
}
origin: org.geomajas/geomajas-gwt-client-impl

protected void renderTile(RasterTile tile, Callback<String, String> callback) {
  HtmlImage image = htmlImageFactory.create(tile.getUrl(), tile.getBounds(), callback);
  container.add(image);
}
origin: org.geomajas.plugin/geomajas-plugin-wmsclient

protected void renderTile(RasterTile tile, Callback<String, String> callback) {
  HtmlImage image = htmlImageFactory.create(tile.getUrl(), tile.getBounds(), callback);
  container.add(image);
}
origin: org.geomajas.plugin/geomajas-client-gwt2-plugin-print-tilebasedlayer

public Layer createLayer(MapContext mapContext, ClientLayerInfo clientLayerInfo) throws GeomajasException {
  if (!(clientLayerInfo instanceof TilebasedClientLayerInfo)) {
    throw new IllegalArgumentException(
        "TileBasedClientLayerFactory.createLayer() should only be called with TilebasedClientLayerInfo");
  }
  TilebasedClientLayerInfo rasterInfo = (TilebasedClientLayerInfo) clientLayerInfo;
  RasterLayerRasterizingInfo extraInfo = (RasterLayerRasterizingInfo) rasterInfo
      .getWidgetInfo(RasterLayerRasterizingInfo.WIDGET_KEY);
  List<RasterTile> tiles = rasterInfo.getTiles();
  for (RasterTile rasterTile : tiles) {
    if (null != rasterTile.getUrl() && !rasterTile.getUrl().isEmpty()) {
      rasterTile.setUrl(calculateUrl(rasterTile.getUrl()));
    }
  }
  final RasterLayer layer = configurationService.getRasterLayer(clientLayerInfo.getServerLayerId());
  RasterDirectLayer rasterLayer = new RasterDirectLayer(imageThreadPool, getHttpDownloader(layer), tiles,
      rasterInfo.getTileHeight(), rasterInfo.getTileWidth(), rasterInfo.getScale(), extraInfo.getCssStyle());
  rasterLayer.setTitle(clientLayerInfo.getLabel());
  rasterLayer.getUserData().put(USERDATA_KEY_LAYER_ID, rasterInfo.getId());
  rasterLayer.getUserData().put(USERDATA_KEY_SHOWING, extraInfo.isShowing());
  return rasterLayer;
}
origin: org.geomajas.plugin/geomajas-plugin-printing

    + result.getRasterImage().getUrl());
RenderedImage translated = TranslateDescriptor.create(colored, (float) xOffset,
    (float) yOffset, new InterpolationNearest(), null);
org.geomajas.layer.tileRasterTilegetUrl

Javadoc

Return the URL to the actual image for this raster tile. It is that image that will really display the rendered tile.

Popular methods of RasterTile

  • <init>
    Constructor setting the tile's unique ID and bounds.
  • setCode
    Set the unique code for this tile. Consider this it's unique identifier within a raster layer.
  • setUrl
    Set the URL to the actual image for this raster tile. It is that image that will really display the
  • getBounds
    Returns the bounds for the image on the client side.
  • getCode
    Returns the unique code for this tile. Consider this it's unique identifier within a raster layer.
  • setBounds
    Sets the bounds for the image on the client side.

Popular in Java

  • Reading from database using SQL prepared statement
  • scheduleAtFixedRate (ScheduledExecutorService)
  • requestLocationUpdates (LocationManager)
  • addToBackStack (FragmentTransaction)
  • Table (com.google.common.collect)
    A collection that associates an ordered pair of keys, called a row key and a column key, with a sing
  • Charset (java.nio.charset)
    A charset is a named mapping between Unicode characters and byte sequences. Every Charset can decode
  • Calendar (java.util)
    Calendar is an abstract base class for converting between a Date object and a set of integer fields
  • Properties (java.util)
    A Properties object is a Hashtable where the keys and values must be Strings. Each property can have
  • Notification (javax.management)
  • Servlet (javax.servlet)
    Defines methods that all servlets must implement. A servlet is a small Java program that runs within
  • Top plugins for Android Studio
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now