Fixed layering issue with PointLayer

master
Robin Hawkes 2016-03-10 15:58:29 +00:00
rodzic 0b911a09e1
commit a7f6338c19
4 zmienionych plików z 30 dodań i 13 usunięć

32
dist/vizicities.js vendored
Wyświetl plik

@ -14986,6 +14986,9 @@ return /******/ (function(modules) { // webpackBootstrap
function _inherits(subClass, superClass) { if (typeof superClass !== 'function' && superClass !== null) { throw new TypeError('Super expression must either be null or a function, not ' + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }
// TODO: Consider adopting GeoJSON CSS
// http://wiki.openstreetmap.org/wiki/Geojson_CSS
var _LayerGroup2 = __webpack_require__(74);
var _LayerGroup3 = _interopRequireDefault(_LayerGroup2);
@ -15541,6 +15544,14 @@ return /******/ (function(modules) { // webpackBootstrap
// TODO: Look at ways to drop unneeded references to array buffers, etc to
// reduce memory footprint
// TODO: Support dynamic updating / hiding / animation of geometry
//
// This could be pretty hard as it's all packed away within BufferGeometry and
// may even be merged by another layer (eg. GeoJSONLayer)
//
// How much control should this layer support? Perhaps a different or custom
// layer would be better suited for animation, for example.
var _Layer2 = __webpack_require__(37);
var _Layer3 = _interopRequireDefault(_Layer2);
@ -16831,6 +16842,14 @@ return /******/ (function(modules) { // webpackBootstrap
// TODO: Provide alternative output using tubes and splines / curves
// TODO: Support dynamic updating / hiding / animation of geometry
//
// This could be pretty hard as it's all packed away within BufferGeometry and
// may even be merged by another layer (eg. GeoJSONLayer)
//
// How much control should this layer support? Perhaps a different or custom
// layer would be better suited for animation, for example.
var _Layer2 = __webpack_require__(37);
var _Layer3 = _interopRequireDefault(_Layer2);
@ -17258,6 +17277,14 @@ return /******/ (function(modules) { // webpackBootstrap
// TODO: Provide option to billboard geometry so it always faces the camera
// TODO: Support dynamic updating / hiding / animation of geometry
//
// This could be pretty hard as it's all packed away within BufferGeometry and
// may even be merged by another layer (eg. GeoJSONLayer)
//
// How much control should this layer support? Perhaps a different or custom
// layer would be better suited for animation, for example.
var _Layer2 = __webpack_require__(37);
var _Layer3 = _interopRequireDefault(_Layer2);
@ -17516,11 +17543,6 @@ return /******/ (function(modules) { // webpackBootstrap
mesh.castShadow = true;
// mesh.receiveShadow = true;
if (this.isFlat()) {
material.depthWrite = false;
mesh.renderOrder = 1;
}
if (this._options.interactive && this._pickingMesh) {
material = new _enginePickingMaterial2['default']();
// material.side = THREE.BackSide;

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

Wyświetl plik

@ -241,11 +241,6 @@ class PointLayer extends Layer {
mesh.castShadow = true;
// mesh.receiveShadow = true;
if (this.isFlat()) {
material.depthWrite = false;
mesh.renderOrder = 1;
}
if (this._options.interactive && this._pickingMesh) {
material = new PickingMaterial();
// material.side = THREE.BackSide;