Ejemplo n.º 1
0
    /**
     * Creates a new instance of FMapWMSStyle
     *
     * @param name
     * @param title
     * @param styleAbstract
     * @param parent
     */
    public FMapWMSStyle(WMSStyle style, WMSLayerNode parent) {

      this.name = style.getName();
      this.title = style.getTitle();
      this.styleAbstract = style.getAbstract();
      this.legendWidth = style.getLegendURLWidth();
      this.legendHeight = style.getLegendURLHeight();
      this.format = style.getLegendURLFormat();
      this.href = style.getLegendURLOnlineResourceHRef();
      this.type = style.getLegendURLOnlineResourceType();
      this.parent = parent;
    }