Commit f2d0a716 authored by iSergio's avatar iSergio
Browse files

Merge remote-tracking branch 'origin/develop' into slider

parents 7cf7b5d8 67ab0e16
Loading
Loading
Loading
Loading
Loading
+16 −1
Original line number Diff line number Diff line
@@ -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: []
@@ -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
+1 −1
Original line number Diff line number Diff line
@@ -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>
+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) {}
}
+5 −0
Original line number Diff line number Diff line
@@ -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.
+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