Loading .gitlab-ci.yml +16 −1 Original line number Diff line number Diff line Loading @@ -39,6 +39,21 @@ default: fi echo "Version set to "$VERSION init:sonarqube-check: stage: init variables: SONAR_USER_HOME: "${CI_PROJECT_DIR}/.sonar" # Defines the location of the analysis task cache GIT_DEPTH: "0" # Tells git to fetch all the branches of the project, required by the analysis task cache: key: "${CI_JOB_NAME}" paths: - .sonar/cache script: - mvn verify sonar:sonar -Dsonar.projectKey=iSergio_cesiumjs4gwt_AYNaLd7kHd36IEwDpRz8 allow_failure: true only: - develop # or the name of your main branch compile:cesiumjs4gwt-main: stage: build needs: [] Loading Loading @@ -87,7 +102,7 @@ deploy:cesiumjs4gwt-main: - develop - tags script: - mvn $MAVEN_CLI_OPTS -pl cesiumjs4gwt-main -DskipTests=true deploy - mvn $MAVEN_CLI_OPTS -pl :cesiumjs4gwt,:cesiumjs4gwt-main -DskipTests=true deploy deploy:cesiumjs4gwt-showcase: stage: deploy Loading cesiumjs4gwt-main/pom.xml +1 −1 Original line number Diff line number Diff line Loading @@ -7,7 +7,7 @@ <parent> <artifactId>cesiumjs4gwt</artifactId> <groupId>org.cesiumjs</groupId> <version>1.95.0</version> <version>1.99.0</version> </parent> <name>CesiumJS GWT Wrapper</name> Loading cesiumjs4gwt-main/src/main/java/org/cesiumjs/cs/datasources/KmlCamera.java 0 → 100644 +36 −0 Original line number Diff line number Diff line /* * Copyright 2022 iSergio, Gis4Fun. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package org.cesiumjs.cs.datasources; import jsinterop.annotations.JsConstructor; import jsinterop.annotations.JsType; import org.cesiumjs.cs.core.Cartesian3; import org.cesiumjs.cs.core.HeadingPitchRoll; /** * Representation of from KML */ @JsType(isNative = true, namespace = "Cesium", name = "KmlCamera") public class KmlCamera implements KmlView { /** * Representation of from KML * @param position camera position * @param headingPitchRoll camera orientation */ @JsConstructor public KmlCamera(Cartesian3 position, HeadingPitchRoll headingPitchRoll) {} } cesiumjs4gwt-main/src/main/java/org/cesiumjs/cs/datasources/KmlDataSource.java +5 −0 Original line number Diff line number Diff line Loading @@ -82,6 +82,11 @@ public class KmlDataSource implements DataSource { */ @JsProperty public boolean isLoading; /** * Gets the KML Tours that are used to guide the camera to specified destinations on given time intervals. */ @JsProperty public KmlTour[] kmlTours; /** * Gets an event that will be raised when the data source either starts or stops * loading. Loading cesiumjs4gwt-main/src/main/java/org/cesiumjs/cs/datasources/KmlLookAt.java 0 → 100644 +33 −0 Original line number Diff line number Diff line /* * Copyright 2022 iSergio, Gis4Fun. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package org.cesiumjs.cs.datasources; import jsinterop.annotations.JsConstructor; import jsinterop.annotations.JsType; import org.cesiumjs.cs.core.Cartesian3; import org.cesiumjs.cs.core.HeadingPitchRange; @JsType(isNative = true, namespace = "Cesium", name = "KmlLookAt") public class KmlLookAt implements KmlView { /** * Representation of from KML * @param position camera position * @param headingPitchRange camera orientation */ @JsConstructor public KmlLookAt(Cartesian3 position, HeadingPitchRange headingPitchRange) {} } Loading
.gitlab-ci.yml +16 −1 Original line number Diff line number Diff line Loading @@ -39,6 +39,21 @@ default: fi echo "Version set to "$VERSION init:sonarqube-check: stage: init variables: SONAR_USER_HOME: "${CI_PROJECT_DIR}/.sonar" # Defines the location of the analysis task cache GIT_DEPTH: "0" # Tells git to fetch all the branches of the project, required by the analysis task cache: key: "${CI_JOB_NAME}" paths: - .sonar/cache script: - mvn verify sonar:sonar -Dsonar.projectKey=iSergio_cesiumjs4gwt_AYNaLd7kHd36IEwDpRz8 allow_failure: true only: - develop # or the name of your main branch compile:cesiumjs4gwt-main: stage: build needs: [] Loading Loading @@ -87,7 +102,7 @@ deploy:cesiumjs4gwt-main: - develop - tags script: - mvn $MAVEN_CLI_OPTS -pl cesiumjs4gwt-main -DskipTests=true deploy - mvn $MAVEN_CLI_OPTS -pl :cesiumjs4gwt,:cesiumjs4gwt-main -DskipTests=true deploy deploy:cesiumjs4gwt-showcase: stage: deploy Loading
cesiumjs4gwt-main/pom.xml +1 −1 Original line number Diff line number Diff line Loading @@ -7,7 +7,7 @@ <parent> <artifactId>cesiumjs4gwt</artifactId> <groupId>org.cesiumjs</groupId> <version>1.95.0</version> <version>1.99.0</version> </parent> <name>CesiumJS GWT Wrapper</name> Loading
cesiumjs4gwt-main/src/main/java/org/cesiumjs/cs/datasources/KmlCamera.java 0 → 100644 +36 −0 Original line number Diff line number Diff line /* * Copyright 2022 iSergio, Gis4Fun. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package org.cesiumjs.cs.datasources; import jsinterop.annotations.JsConstructor; import jsinterop.annotations.JsType; import org.cesiumjs.cs.core.Cartesian3; import org.cesiumjs.cs.core.HeadingPitchRoll; /** * Representation of from KML */ @JsType(isNative = true, namespace = "Cesium", name = "KmlCamera") public class KmlCamera implements KmlView { /** * Representation of from KML * @param position camera position * @param headingPitchRoll camera orientation */ @JsConstructor public KmlCamera(Cartesian3 position, HeadingPitchRoll headingPitchRoll) {} }
cesiumjs4gwt-main/src/main/java/org/cesiumjs/cs/datasources/KmlDataSource.java +5 −0 Original line number Diff line number Diff line Loading @@ -82,6 +82,11 @@ public class KmlDataSource implements DataSource { */ @JsProperty public boolean isLoading; /** * Gets the KML Tours that are used to guide the camera to specified destinations on given time intervals. */ @JsProperty public KmlTour[] kmlTours; /** * Gets an event that will be raised when the data source either starts or stops * loading. Loading
cesiumjs4gwt-main/src/main/java/org/cesiumjs/cs/datasources/KmlLookAt.java 0 → 100644 +33 −0 Original line number Diff line number Diff line /* * Copyright 2022 iSergio, Gis4Fun. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package org.cesiumjs.cs.datasources; import jsinterop.annotations.JsConstructor; import jsinterop.annotations.JsType; import org.cesiumjs.cs.core.Cartesian3; import org.cesiumjs.cs.core.HeadingPitchRange; @JsType(isNative = true, namespace = "Cesium", name = "KmlLookAt") public class KmlLookAt implements KmlView { /** * Representation of from KML * @param position camera position * @param headingPitchRange camera orientation */ @JsConstructor public KmlLookAt(Cartesian3 position, HeadingPitchRange headingPitchRange) {} }