mobility-toolbox-js 2.0.0-beta.30 → 2.0.0-beta.32
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/mapbox/layers/RealtimeLayer.js +1 -1
- package/mbt.js +1 -1
- package/mbt.js.map +2 -2
- package/mbt.min.js +1 -1
- package/mbt.min.js.map +2 -2
- package/package.json +1 -1
|
@@ -162,7 +162,7 @@ class RealtimeLayer extends mixin(Layer) {
|
|
|
162
162
|
}
|
|
163
163
|
renderTrajectoriesInternal(viewState, noInterpolate) {
|
|
164
164
|
const render = super.renderTrajectoriesInternal(viewState, noInterpolate);
|
|
165
|
-
if (render) {
|
|
165
|
+
if (render && this.map.style) {
|
|
166
166
|
const extent = getSourceCoordinates(this.map, this.pixelRatio);
|
|
167
167
|
const source = this.map.getSource(this.key);
|
|
168
168
|
if (source) {
|
package/mbt.js
CHANGED
|
@@ -50062,7 +50062,7 @@ uniform ${i3} ${o3} u_${a3};
|
|
|
50062
50062
|
}
|
|
50063
50063
|
renderTrajectoriesInternal(viewState, noInterpolate) {
|
|
50064
50064
|
const render = super.renderTrajectoriesInternal(viewState, noInterpolate);
|
|
50065
|
-
if (render) {
|
|
50065
|
+
if (render && this.map.style) {
|
|
50066
50066
|
const extent = getSourceCoordinates(this.map, this.pixelRatio);
|
|
50067
50067
|
const source = this.map.getSource(this.key);
|
|
50068
50068
|
if (source) {
|