@@ -384,7 +384,7 @@ class UnitsUtils {
384384 return new Vector3 ( - Math . cos ( rotX + Math . PI ) * cos , Math . sin ( rotY ) , Math . sin ( rotX + Math . PI ) * cos ) ;
385385 }
386386 static mapboxAltitude ( color ) {
387- return ( ( color . r * 255.0 * 65536.0 + color . g * 255.0 * 256.0 + color . b * 255.0 ) * 0.1 ) - 10000.0 ;
387+ return ( color . r * 255.0 * 65536.0 + color . g * 255.0 * 256.0 + color . b * 255.0 ) * 0.1 - 10000.0 ;
388388 }
389389}
390390UnitsUtils . EARTH_RADIUS = 6371008 ;
@@ -1612,14 +1612,14 @@ class GoogleMapsProvider extends MapProvider {
16121612}
16131613
16141614class HereMapsProvider extends MapProvider {
1615- constructor ( appId , appCode , style , scheme , format , size ) {
1615+ constructor ( appId = '' , appCode = '' , style = 'base' , scheme = 'normal.day' , format = 'png' , size = 512 ) {
16161616 super ( ) ;
1617- this . appId = appId !== undefined ? appId : '' ;
1618- this . appCode = appCode !== undefined ? appCode : '' ;
1619- this . style = style !== undefined ? style : 'base' ;
1620- this . scheme = scheme !== undefined ? scheme : 'normal.day' ;
1621- this . format = format !== undefined ? format : 'png' ;
1622- this . size = size !== undefined ? size : 512 ;
1617+ this . appId = appId ;
1618+ this . appCode = appCode ;
1619+ this . style = style ;
1620+ this . scheme = scheme ;
1621+ this . format = format ;
1622+ this . size = size ;
16231623 this . version = 'newest' ;
16241624 this . server = 1 ;
16251625 }
@@ -1899,4 +1899,4 @@ class CancelablePromise {
18991899 }
19001900}
19011901
1902- export { BingMapsProvider , CancelablePromise , DebugProvider , Geolocation , GeolocationUtils , GoogleMapsProvider , HeightDebugProvider , HereMapsProvider , LODFrustum , LODRadial , LODRaycast , MapBoxProvider , MapHeightNode , MapHeightNodeShader , MapNode , MapNodeGeometry , MapNodeHeightGeometry , MapPlaneNode , MapProvider , MapSphereNode , MapSphereNodeGeometry , MapTilerProvider , MapView , OpenMapTilesProvider , OpenStreetMapsProvider , UnitsUtils , XHRUtils } ;
1902+ export { BingMapsProvider , CancelablePromise , CanvasUtils , DebugProvider , Geolocation , GeolocationUtils , GoogleMapsProvider , HeightDebugProvider , HereMapsProvider , LODFrustum , LODRadial , LODRaycast , MapBoxProvider , MapHeightNode , MapHeightNodeShader , MapNode , MapNodeGeometry , MapNodeHeightGeometry , MapPlaneNode , MapProvider , MapSphereNode , MapSphereNodeGeometry , MapTilerProvider , MapView , OpenMapTilesProvider , OpenStreetMapsProvider , TextureUtils , UnitsUtils , XHRUtils } ;
0 commit comments