cleanup libs
@ -6004,8 +6004,10 @@ Potree.Annotation = function(scene, args = {}){
|
||||
this.title = args.title || "No Title";
|
||||
this.description = args.description || "";
|
||||
this.position = args.position || new THREE.Vector3(0,0,0);
|
||||
this.cameraPosition = args.cameraPosition;
|
||||
this.cameraTarget = args.cameraTarget;
|
||||
this.cameraPosition = (args.cameraPosition instanceof Array) ?
|
||||
new THREE.Vector3().fromArray(args.cameraPosition) : args.cameraPosition;
|
||||
this.cameraTarget = (args.cameraTarget instanceof Array) ?
|
||||
new THREE.Vector3().fromArray(args.cameraTarget) : args.cameraTarget;
|
||||
this.view = args.view || null;
|
||||
this.keepOpen = false;
|
||||
this.descriptionVisible = false;
|
||||
@ -11005,8 +11007,8 @@ Potree.GeoJSONExporter = class GeoJSONExporter{
|
||||
/**
|
||||
*
|
||||
* @author sigeom sa / http://sigeom.ch
|
||||
* @author Ioda-Net Sàrl / https://www.ioda-net.ch/
|
||||
* @author Markus Schütz / http://potree.org
|
||||
* @author Ioda-Net S<EFBFBD>rl / https://www.ioda-net.ch/
|
||||
* @author Markus Sch<EFBFBD>tz / http://potree.org
|
||||
*
|
||||
*/
|
||||
|
||||
@ -12639,7 +12641,12 @@ Potree.Scene = class extends THREE.EventDispatcher{
|
||||
}
|
||||
|
||||
addAnnotation(position, args = {}){
|
||||
args.position = position;
|
||||
if(position instanceof Array){
|
||||
args.position = new THREE.Vector3().fromArray(position);
|
||||
}else if(position instanceof THREE.Vector3){
|
||||
args.position = position;
|
||||
}
|
||||
|
||||
|
||||
if(!args.cameraTarget){
|
||||
args.cameraTarget = position;
|
||||
|
||||
@ -15,7 +15,7 @@
|
||||
|
||||
<script src="https://ajax.googleapis.com/ajax/libs/jquery/2.1.4/jquery.min.js"></script>
|
||||
<script src="https://cdnjs.cloudflare.com/ajax/libs/proj4js/2.3.12/proj4.js"></script>
|
||||
<script src="http://openlayers.org/en/v3.11.2/build/ol-debug.js"></script>
|
||||
<script src="http://openlayers.org/en/v3.11.2/build/ol.js"></script>
|
||||
|
||||
|
||||
<div id="potree_map" style="position: absolute; left: 0px; top: 0px; width: 100%; height: 100%">
|
||||
|
||||
|
Before Width: | Height: | Size: 12 KiB |
|
Before Width: | Height: | Size: 14 KiB |
|
Before Width: | Height: | Size: 7.1 KiB |
|
Before Width: | Height: | Size: 11 KiB |
|
Before Width: | Height: | Size: 10 KiB |
|
Before Width: | Height: | Size: 13 KiB |
|
Before Width: | Height: | Size: 9.4 KiB |
|
Before Width: | Height: | Size: 15 KiB |
|
Before Width: | Height: | Size: 10 KiB |
|
Before Width: | Height: | Size: 13 KiB |
|
Before Width: | Height: | Size: 8.0 KiB |
|
Before Width: | Height: | Size: 9.1 KiB |
|
Before Width: | Height: | Size: 7.7 KiB |
|
Before Width: | Height: | Size: 10 KiB |
|
Before Width: | Height: | Size: 7.7 KiB |
|
Before Width: | Height: | Size: 6.7 KiB |
|
Before Width: | Height: | Size: 11 KiB |
|
Before Width: | Height: | Size: 16 KiB |
|
Before Width: | Height: | Size: 10 KiB |
|
Before Width: | Height: | Size: 12 KiB |
|
Before Width: | Height: | Size: 12 KiB |
|
Before Width: | Height: | Size: 15 KiB |
|
Before Width: | Height: | Size: 9.3 KiB |
|
Before Width: | Height: | Size: 10 KiB |
|
Before Width: | Height: | Size: 11 KiB |
|
Before Width: | Height: | Size: 10 KiB |
|
Before Width: | Height: | Size: 8.3 KiB |
|
Before Width: | Height: | Size: 12 KiB |
|
Before Width: | Height: | Size: 16 KiB |
|
Before Width: | Height: | Size: 12 KiB |
|
Before Width: | Height: | Size: 7.4 KiB |
|
Before Width: | Height: | Size: 10 KiB |
|
Before Width: | Height: | Size: 16 KiB |
|
Before Width: | Height: | Size: 12 KiB |
|
Before Width: | Height: | Size: 6.5 KiB |
|
Before Width: | Height: | Size: 11 KiB |
|
Before Width: | Height: | Size: 16 KiB |
|
Before Width: | Height: | Size: 12 KiB |
|
Before Width: | Height: | Size: 8.8 KiB |
|
Before Width: | Height: | Size: 13 KiB |
|
Before Width: | Height: | Size: 11 KiB |
|
Before Width: | Height: | Size: 12 KiB |
@ -1,15 +0,0 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<TileMap version="1.0.0" tilemapservice="http://tms.osgeo.org/1.0.0">
|
||||
<Title>NE2_HR_LC_SR_W_DR_recolored.tif</Title>
|
||||
<Abstract></Abstract>
|
||||
<SRS>EPSG:4326</SRS>
|
||||
<BoundingBox minx="-90.00000000000000" miny="-180.00000000000000" maxx="90.00000000000000" maxy="180.00000000000000"/>
|
||||
<Origin x="-90.00000000000000" y="-180.00000000000000"/>
|
||||
<TileFormat width="256" height="256" mime-type="image/jpg" extension="jpg"/>
|
||||
<TileSets profile="geodetic">
|
||||
<TileSet href="0" units-per-pixel="0.70312500000000" order="0"/>
|
||||
<TileSet href="1" units-per-pixel="0.35156250000000" order="1"/>
|
||||
<TileSet href="2" units-per-pixel="0.17578125000000" order="2"/>
|
||||
</TileSets>
|
||||
</TileMap>
|
||||
|
||||
|
Before Width: | Height: | Size: 131 KiB |
|
Before Width: | Height: | Size: 164 KiB |
|
Before Width: | Height: | Size: 179 KiB |
|
Before Width: | Height: | Size: 135 KiB |
|
Before Width: | Height: | Size: 165 KiB |
|
Before Width: | Height: | Size: 165 KiB |
|
Before Width: | Height: | Size: 1.2 KiB |
|
Before Width: | Height: | Size: 1.5 KiB |
|
Before Width: | Height: | Size: 1.3 KiB |
|
Before Width: | Height: | Size: 2.5 KiB |
|
Before Width: | Height: | Size: 3.1 KiB |
|
Before Width: | Height: | Size: 2.7 KiB |
|
Before Width: | Height: | Size: 936 B |
|
Before Width: | Height: | Size: 1.4 KiB |
|
Before Width: | Height: | Size: 1.8 KiB |
|
Before Width: | Height: | Size: 1.3 KiB |
|
Before Width: | Height: | Size: 1.4 KiB |
|
Before Width: | Height: | Size: 3.9 KiB |
|
Before Width: | Height: | Size: 1.7 KiB |
|
Before Width: | Height: | Size: 998 B |
|
Before Width: | Height: | Size: 1.5 KiB |
|
Before Width: | Height: | Size: 1.9 KiB |
|
Before Width: | Height: | Size: 2.4 KiB |
|
Before Width: | Height: | Size: 1.5 KiB |
|
Before Width: | Height: | Size: 967 B |
|
Before Width: | Height: | Size: 3.5 KiB |
|
Before Width: | Height: | Size: 1.6 KiB |