Commit c141fe45 authored by iSergio's avatar iSergio
Browse files

Added getFeatureInfoUrl option to WebMapServiceImageryProvider which reads the...

Added getFeatureInfoUrl option to WebMapServiceImageryProvider which reads the getFeatureInfo request URL for WMS service if it differs with the getCapabilities URL
parent cacbf2d8
Loading
Loading
Loading
Loading
+12 −0
Original line number Diff line number Diff line
@@ -90,6 +90,18 @@ public class WebMapServiceImageryProvider implements ImageryProvider {
    @JsProperty(name = "errorEvent")
    public native Event errorEvent();

    /**
     * Gets the getFeatureInfo URL of the WMS server as {@link Resource}.
     */
    @JsProperty(name = "getFeatureInfoUrl")
    public native Resource getFeatureInfoUrl();

    /**
     * Gets the getFeatureInfo URL of the WMS server as String.
     */
    @JsProperty(name = "getFeatureInfoUrl")
    public native Resource getFeatureInfoUrlStr();

    /**
     * Gets a value indicating whether or not the images provided by this imagery
     * provider include an alpha channel. If this property is false, an alpha