Commit Graph

53 Commits

Author SHA1 Message Date
Zoran Kokeza
642829c88a
[Cesium] - fix wrong parameters on EllipsoidTangentPlane.fromPoints (#44899)
* Update index.d.ts

* Update index.d.ts
2020-07-06 14:57:58 -07:00
Crocsx
ea2755723c
add missing Transform function (#45338)
* add missiin Transform function

https://cesium.com/docs/cesiumjs-ref-doc/Transforms.html?classFilter=Transform#.eastNorthUpToFixedFrame

* Update index.d.ts
2020-06-24 07:17:04 -04:00
jrafidi
55e6ea8afd
[cesium] Fix LabelGraphics property types (#45086) 2020-05-27 14:28:41 -07:00
Clay
fac3213025
[cesium] Update LabelGraphics constructor/properties (#44981) 2020-05-26 18:42:55 -07:00
h_Davy
1327152311
@types/cesium fix the constructor parameters of ClippingPlane and ClippingPlaneCollection (#44918) 2020-05-20 14:17:45 -07:00
jony89
bd0b699ee1
fix: disableDepthTestDistance for LabelGraphics (#44725)
* fix: disableDepthTestDistance for LabelGraphics

* fix: distanceDisplayCondition
2020-05-19 11:24:30 -07:00
George Melissourgos
4c2a9f67f5
Added new BingMapsStyle (#44662) 2020-05-19 10:50:00 -07:00
Wesley Wigham
6970a8fffa
#no-publishing-comment No more tabs in json documents, trailing newlines for every document 2020-05-15 12:27:10 -07:00
jrafidi
8a25bf56ff
🤖 Merge PR #44648 [cesium] Fix member variables on graphics types by @jrafidi
* [cesium] Fix member variables on graphics types

* Add tests
2020-05-11 12:03:50 -07:00
jony89
d96c168c11
fix: types across cesium (#44143)
* fix: types across cesium 

all types were checked with a live project

* fix: spaces

* fix: somelinting

* fix: somelinting

* fix: tsc

* fix lint

* fix: duplicate name
2020-05-04 16:39:22 -07:00
Joey Rafidi
174534f0fc
[cesium] add scene height sample methods and entity tileset graphics option (#43494)
* [cesium] add scene height sample methods and entity tileset graphics option

* Fix tests
2020-03-30 15:01:16 -07:00
jony89
e46e386ccb
fix: udpate BillboardGraphics (#43340)
fix: udpate BillboardGraphics with pixelOffsetScaleByDistance

see https://cesium.com/docs/cesiumjs-ref-doc/BillboardGraphics.html
2020-03-27 11:54:28 -04:00
morgansierrasnyder
83570fa572
update entity orientation property (#43373)
Co-authored-by: Morgan Snyder <morgans@palantir.com>
2020-03-26 22:21:39 -07:00
Piotr Błażejewicz (Peter Blazejewicz)
65ef3f96f1
feat(cesium): version bump to 1.67 (#42977)
* feat(cesium): version bump to 1.67

- `Cesium3DTilesetGraphics`
- `Color.lerp`
- `skipLevelOfDetail` default value braking change documented
- `isArray` deprecated
- no changes for ParticleSystem as Particle api is not part of type
definitions yet

https://github.com/CesiumGS/cesium/blob/master/CHANGES.md#1670---2020-03-02

/cc @jrafidi

Thanks!

* Fix PR comments:

- missing test added
- `show` property

/cc @jrafidi

Thanks!
2020-03-24 17:34:56 -07:00
h_Davy
4d6ef1c04a
@types/cesium fix missing parameter for ImageryProvider.loadImage, and add missing defaultValue function (#43173)
* Update index.d.ts

fix: ImageryProvider.loadImage, ImageryProvider.requestImage
add: defaultValue

* Update index.d.ts

* Update index.d.ts

* Update index.d.ts
2020-03-23 11:29:03 -04:00
wslaghekke
8dbf6731f0
Add missing showGroundAtmosphere to Globe (#43110) 2020-03-13 18:41:50 -07:00
Piotr Błażejewicz (Peter Blazejewicz)
d49e1a7cb0
fix(cesium): missing objects added (#42960)
* fix(cesium): missing objects added

- `MapboxStyleImageryProvider`
https://cesium.com/docs/cesiumjs-ref-doc/MapboxStyleImageryProvider.html
- `MapboxImageryProvider`
https://cesium.com/docs/cesiumjs-ref-doc/MapboxImageryProvider.html

Fixes: #42880

Thansk!

* Revert version bump as per PR comment

/cc @jrafidi
2020-03-10 12:37:30 -07:00
Andrew Casey
df8a7d9356
[cesium] add constructor and removeProperty to PropertyBag (#42803)
* [cesium] add constructor definition for PropertyBag

* Cesium - add removeProperty to PropertyBag

* Add return type to removeProperty

* Make constructor value optional

* Don't make parameters on callback optional
2020-03-04 15:55:29 -08:00
Crocsx
eef9fcdc42
[@types/cesium] Add PropertyBag (#42782)
* property Bag

* add entity definition
2020-03-03 10:35:16 -08:00
morgansierrasnyder
a0cec0388c
[cesium] CesiumJS Model and ModelGraphics types (#42670)
* Model type updates

* add logarithmicDepthBuffer

* ModelGraphics updates

* reviert Entity orientation change

* fix build errors

* CR comments
2020-02-27 11:21:56 -08:00
jony89
cf1f3f92d4
fix: add postUpdate method (#42608) 2020-02-25 10:40:20 -08:00
Gabriela Araujo Britto
e980ea529f
Update tslint configs (#42555)
* Update tslint configs

* Update npm-naming configs

* Fix some configs

#no-publishing-comment
2020-02-24 16:06:03 -08:00
jony89
09262345ab
fix: correct type for Ray.getPoint (#42449)
* fix: correct type for Ray.getPoint

`Ray.getPoint` expects a `Ray` and not a `number`

* Update index.d.ts
2020-02-18 10:34:33 -08:00
Joey Rafidi
a414afd46c
Fix 1.66 header and Material translucent option type (#42343) 2020-02-13 15:26:15 -08:00
Crocsx
f9910bb95a
[@Cesium] 1.66 (#42113)
* [@Cesium] 1.66

* small fixes

* tabs
2020-02-05 08:51:18 -08:00
Joey Rafidi
87f6fbaaf8
[cesium] Add types for ground polyline primitive/geometry and label/billboard opts (#42091)
* [cesium] Add types for ground polyline primitive/geometry and label/billboard opts

* Fix build

* Fix primitive geometry instance types
2020-02-04 11:24:51 -08:00
Frédéric Junod
209c88d3ab Add missing Cesium.Cartographic.fromCartesian (#41507) 2020-01-10 15:53:49 -08:00
Crocsx
62df45cd09 [@types/cesium] Add some missing class and update to Cesium 1.65 (#41438)
* Cesium type 1.65

* Update index.d.ts

* Update tsconfig.json

* Update index.d.ts

* Update index.d.ts

* version number
2020-01-08 13:10:26 -08:00
Joey Rafidi
a6550cf254 Fix incorrect PolygonGraphics option being required (#41444) 2020-01-07 15:14:06 -08:00
Joey Rafidi
93ec437a0d Add types to Cesium for GroundPrimitive and fix missing properties (#41168) 2019-12-26 11:17:45 -06:00
Joey Rafidi
cc312e7c0a Fix a couple option types on Cesium classes ImageMaterialProperty and LabelGraphics (#40703)
* Fix a couple option types on Cesium classes

* More fixes
2019-12-10 11:03:14 -05:00
Joey Rafidi
60d30134bc Fix minor issues in AnalyticalGraphicsInc/cesium typings (#40425) 2019-11-20 12:00:45 -08:00
Leonidas Arvanitis
c897026a0f fix(cesium): Some CesiumWidget and Viewer options can be false (#39141)
Sources (docs are incomplete, especially for Viewer):
- https://cesiumjs.org/Cesium/Build/Documentation/CesiumWidget.html
- https://cesiumjs.org/Cesium/Build/Documentation/Viewer.html
- https://github.com/AnalyticalGraphicsInc/cesium/blob/1.59/Source/Widgets/CesiumWidget/CesiumWidget.js
- https://github.com/AnalyticalGraphicsInc/cesium/blob/1.59/Source/Widgets/Viewer/Viewer.js
2019-10-22 15:06:45 -07:00
Wing Ho
0881aed62f Add TrustedServer type to cesium (#38354) 2019-09-25 16:15:19 -07:00
Emma Krantz
25cd1536ad Added WebGLConstants type to cesium (#36132)
* Added WebGLConstants type to cesium

* updated cesium tests
2019-06-27 14:27:22 -07:00
Moxi Zhou
683aaa657b Add missing cesium types (#36013) 2019-06-11 20:41:58 -07:00
Jiří Danielka
56dde5eb57 Added types to PolylineGlowMaterialProperty and PolylineDashMaterialP… (#34610)
* Added types to PolylineGlowMaterialProperty and PolylineDashMaterialProperty [Cesium]

* Fix line length and whitespace [Cesium]

* Fix whitespaces

* Fix PR comments
2019-04-29 10:34:02 -07:00
Merijn Wijngaard
157bd950b3 Add some missing Cesium type definitions (#34806)
* Add cartographicLimitRectangle to Globe class

* Add sampleTerrainMostDetailed function

* Add all current overloads of setInputAction and getInputAction

* add toCartesian on Cartographic class

* Fix lint warnings

* Fix lint warnings

* Replace overloads for ScreenSpaceEventHandler setInputAction & getInputAction methods by using a ScreenSpaceEventMap

* define orientation option type for flyTo and setView

* Add convert param to Camera.setView and Camera.flyTo options

* Fix resetting ScreenSpaceEventHandler input action type to number instead of ScreenSpaceEventType

* Add clock, cone, and magnitude properties to Spherical class
2019-04-29 00:20:34 -07:00
claneo
6e0377b4f5 bump up typescript versionto 3.0 to support rest parameter 2019-03-11 16:47:36 +08:00
claneo
dbe82b6ea7 add generic type for Event listener 2019-03-11 16:30:29 +08:00
Nathan Shively-Sanders
613e79b044
Merge pull request #33624 from johallar/cesium-clustering
[Cesium] - Event listener callbacks can have variable parameters
2019-03-08 16:23:20 -08:00
Joe O'Hallaron
16d1c380cb Event listener callbacks can have variable parameters 2019-03-05 09:35:08 -07:00
zy410419243
52748754cf pref: disable tslint rule => no-unnecessary-class 2019-03-01 19:28:11 +08:00
zy410419243
480b1438e0 fix: Cesium3DTilesetItem 2019-03-01 19:04:28 +08:00
Bret Copeland
e37f8ccf0b Add HeadingPitchRoll type to Cesium (#28462) 2018-09-10 15:38:51 -07:00
golyalpha
953faadd23 Fix types in multiple classes [CesiumJS] (#27672)
* Changes to mutiple classes

Fixed types of PolygonGraphics
 - the type of fill property should be boolean
 - the types in constructor's options object should match the types of the class properties
Fixed types of LabelGraphics
 - the font property is a string specifying the CSS font
 - see change notes to PolygonGraphics
Fixed types of EllipseGraphics
 - the outlineColor prop is of type Color, not Property
 - see change notes to PolygonGraphics

* Fixed types of LabelGraphics
 - fillColor type changed to Color
 - outlineColor type changed to Color
 - outlineWidth type changed to number

* Fixed types in EllipseGraphics

* Updated PolygonGraphics

material property accepts both MaterialProperty and Color types

* Updated types in EllipseGraphics
2018-08-06 11:34:49 -07:00
process-execution
1922994873 Fix Primitive constructor (#27668)
Made shadows property optional in Primitive constructor config object.
2018-07-30 11:06:00 -07:00
golyalpha
5b715ad1e9 Fix typing error in PolygonGraphics [Cesium] (#27563)
* Fix typing error in PolygonGraphics

The property outlineColor of PolygonGraphics can accept both Property and Color types.
[Discussion on AnalyticalGraphicsInc/cesium](https://github.com/AnalyticalGraphicsInc/cesium/issues/6831)

* Update version

* Removed the Color type from outlineColor typedef.
2018-07-27 17:14:23 -07:00
Jared Szechy
955b85a785 [cesium] add missing google earth classes 2018-06-28 14:14:00 -04:00
Jared Szechy
2ad5fa0077 [cesium] update linting config 2018-05-23 09:49:17 -04:00