Examples of ExtraLayerInfo


Examples of org.geomajas.widget.advancedviews.configuration.client.ExtraLayerInfo

      return null;
    }
  }

  public static String getSmallLayerIconUrl(Layer<?> layer) {
    ExtraLayerInfo eli = WidgetInfoHelper.getClientWidgetInfo(ExtraLayerInfo.IDENTIFIER, ExtraLayerInfo.class,
        layer);
    if (eli != null) {
      return eli.getSmallLayerIconUrl();
    } else {
      return null;
    }
  }
View Full Code Here

Examples of org.geomajas.widget.advancedviews.configuration.client.ExtraLayerInfo

      return null;
    }
  }

  public static Img getLargeLayerIcon(Layer<?> layer) {
    ExtraLayerInfo eli = WidgetInfoHelper.getClientWidgetInfo(ExtraLayerInfo.IDENTIFIER, ExtraLayerInfo.class,
        layer);
    if (eli != null) {
      return new Img(eli.getLargeLayerIconUrl());
    } else {
      if (layer instanceof RasterLayer) {
        return new Img(LAYER_RASTER_ICON_LARGE_URL);
      } else {
        switch (((VectorLayer) layer).getLayerInfo().getLayerType()) {
View Full Code Here

Examples of org.geomajas.widget.advancedviews.configuration.client.ExtraLayerInfo

      }
    }
  }

  public static Img getLegendImage(Layer<?> layer) {
    ExtraLayerInfo eli = WidgetInfoHelper.getClientWidgetInfo(ExtraLayerInfo.IDENTIFIER, ExtraLayerInfo.class,
        layer);
    if (eli != null) {
      return new Img(eli.getLegendImageUrl());
    } else {
      return null;
    }
  }
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.