@here/harp-mapview
Advanced tools
Comparing version 0.23.1 to 0.24.0
@@ -297,3 +297,3 @@ "use strict"; | ||
} | ||
const positions = new THREE.BufferAttribute(new Float32Array(text.positions.buffer), text.positions.itemCount); | ||
const positions = new THREE.BufferAttribute(new Float64Array(text.positions.buffer), text.positions.itemCount); | ||
const numPositions = positions.count; | ||
@@ -300,0 +300,0 @@ if (numPositions < 1) { |
@@ -122,3 +122,3 @@ "use strict"; | ||
} | ||
const positions = new THREE.BufferAttribute(new Float32Array(poiGeometry.positions.buffer), poiGeometry.positions.itemCount); | ||
const positions = new THREE.BufferAttribute(new Float64Array(poiGeometry.positions.buffer), poiGeometry.positions.itemCount); | ||
poiBuilder.withTechnique(technique); | ||
@@ -125,0 +125,0 @@ if (harp_datasource_protocol_1.isLineMarkerTechnique(technique) && positions.count > 0) { |
import { MapEnv } from "@here/harp-datasource-protocol"; | ||
import { Object3D, Vector3 } from "three"; | ||
import { Tile } from "./Tile"; | ||
@@ -10,3 +9,3 @@ export declare class TileObjectRenderer { | ||
constructor(m_env: MapEnv, m_renderer: THREE.WebGLRenderer); | ||
render(tile: Tile, storageLevel: number, zoomLevel: number, cameraPosition: Vector3, rootNode: Object3D): void; | ||
render(tile: Tile, storageLevel: number, zoomLevel: number, cameraPosition: THREE.Vector3, rootNode: THREE.Object3D): void; | ||
prepareRender(): void; | ||
@@ -13,0 +12,0 @@ /** |
@@ -122,2 +122,4 @@ "use strict"; | ||
}; | ||
// Temporary workaround due to incorrect comparator type definition: | ||
// https://github.com/three-types/three-ts-types/issues/41 | ||
this.m_renderer.setOpaqueSort(painterSortStable); | ||
@@ -124,0 +126,0 @@ } |
{ | ||
"name": "@here/harp-mapview", | ||
"version": "0.23.1", | ||
"version": "0.24.0", | ||
"description": "Functionality needed to render a map.", | ||
@@ -35,16 +35,16 @@ "keywords": [ | ||
"dependencies": { | ||
"@here/harp-datasource-protocol": "^0.23.1", | ||
"@here/harp-fetch": "^0.23.0", | ||
"@here/harp-geometry": "^0.23.1", | ||
"@here/harp-geoutils": "^0.23.0", | ||
"@here/harp-lines": "^0.23.1", | ||
"@here/harp-lrucache": "^0.23.0", | ||
"@here/harp-materials": "^0.23.1", | ||
"@here/harp-text-canvas": "^0.23.0", | ||
"@here/harp-transfer-manager": "^0.23.0", | ||
"@here/harp-utils": "^0.23.0", | ||
"@here/harp-datasource-protocol": "^0.24.0", | ||
"@here/harp-fetch": "^0.24.0", | ||
"@here/harp-geometry": "^0.24.0", | ||
"@here/harp-geoutils": "^0.24.0", | ||
"@here/harp-lines": "^0.24.0", | ||
"@here/harp-lrucache": "^0.24.0", | ||
"@here/harp-materials": "^0.24.0", | ||
"@here/harp-text-canvas": "^0.24.0", | ||
"@here/harp-transfer-manager": "^0.24.0", | ||
"@here/harp-utils": "^0.24.0", | ||
"rbush": "^3.0.1" | ||
}, | ||
"devDependencies": { | ||
"@here/harp-test-utils": "^0.23.0", | ||
"@here/harp-test-utils": "^0.24.0", | ||
"@types/chai": "^4.2.14", | ||
@@ -55,2 +55,3 @@ "@types/chai-as-promised": "^7.1.2", | ||
"@types/sinon": "^9.0.10", | ||
"@types/three": "^0.126.0", | ||
"chai": "^4.0.2", | ||
@@ -63,7 +64,7 @@ "chai-as-promised": "^7.1.1", | ||
"source-map-support": "^0.5.19", | ||
"three": "^0.125.0", | ||
"three": "^0.126.0", | ||
"typescript": "^4.1.2" | ||
}, | ||
"peerDependencies": { | ||
"three": "^0.125.0" | ||
"three": "^0.126.0" | ||
}, | ||
@@ -73,3 +74,3 @@ "publishConfig": { | ||
}, | ||
"gitHead": "1c598c9532c2e585a7ed2a7c811f63fce625d5f5" | ||
"gitHead": "74bf1b008abf47d331ed0cdb968911967a1b514d" | ||
} |
1758959
41522
16
+ Added@here/harp-datasource-protocol@0.24.0(transitive)
+ Added@here/harp-fetch@0.24.0(transitive)
+ Added@here/harp-geometry@0.24.0(transitive)
+ Added@here/harp-geoutils@0.24.0(transitive)
+ Added@here/harp-lines@0.24.0(transitive)
+ Added@here/harp-lrucache@0.24.0(transitive)
+ Added@here/harp-materials@0.24.0(transitive)
+ Added@here/harp-text-canvas@0.24.0(transitive)
+ Added@here/harp-transfer-manager@0.24.0(transitive)
+ Added@here/harp-utils@0.24.0(transitive)
+ Addedthree@0.126.1(transitive)
- Removed@here/harp-datasource-protocol@0.23.1(transitive)
- Removed@here/harp-fetch@0.23.0(transitive)
- Removed@here/harp-geometry@0.23.1(transitive)
- Removed@here/harp-geoutils@0.23.0(transitive)
- Removed@here/harp-lines@0.23.1(transitive)
- Removed@here/harp-lrucache@0.23.0(transitive)
- Removed@here/harp-materials@0.23.1(transitive)
- Removed@here/harp-text-canvas@0.23.0(transitive)
- Removed@here/harp-transfer-manager@0.23.0(transitive)
- Removed@here/harp-utils@0.23.0(transitive)
- Removedthree@0.125.2(transitive)
Updated@here/harp-fetch@^0.24.0
Updated@here/harp-geometry@^0.24.0
Updated@here/harp-geoutils@^0.24.0
Updated@here/harp-lines@^0.24.0
Updated@here/harp-lrucache@^0.24.0
Updated@here/harp-materials@^0.24.0
Updated@here/harp-utils@^0.24.0