Updated addWmsLayer
git-svn-id: http://svn.research-infrastructures.eu/public/d4science/gcube/trunk/portlets/user/gis-viewer-app@121984 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
parent
be52c586a7
commit
c186264e5e
|
@ -1,6 +1,6 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<classpath>
|
||||
<classpathentry kind="src" output="target/gis-viewer-app/WEB-INF/classes" path="src/main/java">
|
||||
<classpathentry kind="src" output="target/gis-viewer-app-1.2.0-SNAPSHOT/WEB-INF/classes" path="src/main/java">
|
||||
<attributes>
|
||||
<attribute name="optional" value="true"/>
|
||||
<attribute name="maven.pomderived" value="true"/>
|
||||
|
@ -30,5 +30,5 @@
|
|||
<attribute name="org.eclipse.jst.component.dependency" value="/WEB-INF/lib"/>
|
||||
</attributes>
|
||||
</classpathentry>
|
||||
<classpathentry kind="output" path="target/gis-viewer-app/WEB-INF/classes"/>
|
||||
<classpathentry kind="output" path="target/gis-viewer-app-1.2.0-SNAPSHOT/WEB-INF/classes"/>
|
||||
</classpath>
|
||||
|
|
2
pom.xml
2
pom.xml
|
@ -121,7 +121,7 @@
|
|||
|
||||
<!-- Generate compiled stuff in the folder used for developing mode -->
|
||||
<outputDirectory>${webappDirectory}/WEB-INF/classes</outputDirectory>
|
||||
<finalName>${artifactId}</finalName>
|
||||
<!-- <finalName>${artifactId}</finalName> -->
|
||||
|
||||
<plugins>
|
||||
<!-- GWT Maven Plugin -->
|
||||
|
|
|
@ -166,7 +166,8 @@ public class ApplicationController {
|
|||
@Override
|
||||
public void subtmitHandler(String title, String name, String wmsRequest) {
|
||||
|
||||
gisViewerPanel.addLayerByWms(title, name, wmsRequest, false, false);
|
||||
//TODO UPDATE
|
||||
gisViewerPanel.addLayerByWms(title, name, wmsRequest, false, false, false);
|
||||
box.hide();
|
||||
}
|
||||
};
|
||||
|
|
|
@ -97,7 +97,7 @@ public class WmsRequestConverter {
|
|||
* Adds the request to gis viewer.
|
||||
*/
|
||||
public void addRequestToGisViewer(){
|
||||
gisViewer.addLayerByWms(GisViewerPanel.LayerType.FEATURETYPE, displayLayerName, title, url, isExternal, isBase, displayInLayerSwitcher, listStyles, wmsRequest, onTop, noWMSParams);
|
||||
gisViewer.addLayerByWms(GisViewerPanel.LayerType.FEATURETYPE, displayLayerName, title, url, isExternal, isBase, displayInLayerSwitcher, listStyles, wmsRequest, onTop, noWMSParams, false);
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in New Issue