@xyo-network/react-map 2.70.7 → 2.71.1
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/dist/browser/index.cjs +3 -3
- package/dist/browser/index.cjs.map +1 -1
- package/dist/browser/index.js +3 -3
- package/dist/browser/index.js.map +1 -1
- package/dist/browser/types/NetworkLocationAnswerBase.d.cts +3 -3
- package/dist/browser/types/NetworkLocationAnswerBase.d.mts +3 -3
- package/dist/browser/types/NetworkLocationAnswerBase.d.ts +3 -3
- package/dist/node/index.cjs +3 -3
- package/dist/node/index.cjs.map +1 -1
- package/dist/node/index.js +3 -3
- package/dist/node/index.js.map +1 -1
- package/dist/node/types/NetworkLocationAnswerBase.d.cts +3 -3
- package/dist/node/types/NetworkLocationAnswerBase.d.mts +3 -3
- package/dist/node/types/NetworkLocationAnswerBase.d.ts +3 -3
- package/package.json +14 -14
- package/src/Contexts/HeatMapInitializer/useHeatMapInitializer.tsx +1 -1
- package/src/Contexts/MapBoxInstance/useMapBoxInstance.tsx +1 -1
- package/src/MapBoxClasses/MapHeat.ts +1 -1
|
@@ -5,7 +5,7 @@ import { MapBoxInstanceContext } from './Context'
|
|
|
5
5
|
|
|
6
6
|
const useMapBoxInstance = () => {
|
|
7
7
|
const context = useContext(MapBoxInstanceContext)
|
|
8
|
-
assertEx('map' in context, 'useMapBoxInstance must be used within a MapBoxInstanceContext')
|
|
8
|
+
assertEx('map' in context, () => 'useMapBoxInstance must be used within a MapBoxInstanceContext')
|
|
9
9
|
|
|
10
10
|
return context
|
|
11
11
|
}
|
|
@@ -110,7 +110,7 @@ export class MapHeat extends MapBase<Polygon> {
|
|
|
110
110
|
|
|
111
111
|
let started = false
|
|
112
112
|
const startAnimation = async () => {
|
|
113
|
-
assertEx(!started, 'Animation Already Started')
|
|
113
|
+
assertEx(!started, () => 'Animation Already Started')
|
|
114
114
|
started = true
|
|
115
115
|
while (this.animationStarted) {
|
|
116
116
|
const upLayer = layerTick % layers.length
|