Skip to content
Permalink
Browse files

an attempt to sectorize the OSMBuildingLayer, if the data source is OSM

  • Loading branch information...
kilsedar
kilsedar committed Jul 22, 2017
1 parent 4ba5954 commit 1d8cce7cad3f72df477a8e6a44718a5f491064ab
Showing with 1,380 additions and 922 deletions.
  1. +5 −3 example/index.js
  2. +13 −626 out/OSMBuildingLayer.html
  3. +4 −146 out/OSMBuildingLayer.js.html
  4. +906 −0 out/OSMTBuildingLayer.html
  5. +249 −0 out/OSMTBuildingLayer.js.html
  6. +2 −2 out/index.html
  7. +3 −145 src/OSMBuildingLayer.js
  8. +198 −0 src/OSMTBuildingLayer.js
@@ -1,5 +1,7 @@
define(['libraries/WebWorldWind/src/WorldWind', 'src/OSMBuildingLayer'],
function (WorldWind, OSMBuildingLayer) {
define(['libraries/WebWorldWind/src/WorldWind',
'src/OSMBuildingLayer',
'src/OSMTBuildingLayer'],
function (WorldWind, OSMBuildingLayer, OSMTBuildingLayer) {
"use strict";

WorldWind.Logger.setLoggingLevel(WorldWind.Logger.LEVEL_ERROR);
@@ -47,7 +49,7 @@ define(['libraries/WebWorldWind/src/WorldWind', 'src/OSMBuildingLayer'],
altitudeMode: WorldWind.RELATIVE_TO_GROUND
};

var test = new OSMBuildingLayer(worldWindow, configuration, source);
var test = new OSMTBuildingLayer(worldWindow, configuration, source);
test.add();
// test.boundingBox = [9.15651, 45.44919, 9.20246, 45.48449]; // prin_small_med.geojson
// test.boundingBox = [9.18307, 45.46073, 9.20421, 45.46957]; // prin_smaller_med.geojson
Oops, something went wrong.

0 comments on commit 1d8cce7

Please sign in to comment.
You can’t perform that action at this time.