@deck.gl/carto
Advanced tools
Comparing version 9.0.20 to 9.0.21
@@ -1011,3 +1011,3 @@ "use strict"; | ||
// src/layers/schema/carto-raster-tile-loader.ts | ||
var VERSION = true ? "9.0.20" : "latest"; | ||
var VERSION = true ? "9.0.21" : "latest"; | ||
var id = "cartoRasterTile"; | ||
@@ -1014,0 +1014,0 @@ var DEFAULT_OPTIONS = { |
@@ -1400,3 +1400,3 @@ "use strict"; | ||
// src/layers/schema/carto-spatial-tile-loader.ts | ||
var VERSION = true ? "9.0.20" : "latest"; | ||
var VERSION = true ? "9.0.21" : "latest"; | ||
var id = "cartoSpatialTile"; | ||
@@ -1403,0 +1403,0 @@ var DEFAULT_OPTIONS = { |
@@ -1445,3 +1445,3 @@ "use strict"; | ||
const { value, size } = pbf.readFields(DoublesReader._readField, { value: [], size: 0 }, end); | ||
return { value: new Float32Array(value), size }; | ||
return { value, size }; | ||
} | ||
@@ -1629,3 +1629,3 @@ static _readField(tag, obj, pbf) { | ||
// src/layers/schema/carto-vector-tile-loader.ts | ||
var VERSION = true ? "9.0.20" : "latest"; | ||
var VERSION = true ? "9.0.21" : "latest"; | ||
var id = "cartoVectorTile"; | ||
@@ -1632,0 +1632,0 @@ var DEFAULT_OPTIONS = { |
import { TileReader } from "./carto-raster-tile.js"; | ||
import { parsePbf } from "./tile-loader-utils.js"; | ||
import { getWorkerUrl } from "../../utils.js"; | ||
const VERSION = typeof "9.0.20" !== 'undefined' ? "9.0.20" : 'latest'; | ||
const VERSION = typeof "9.0.21" !== 'undefined' ? "9.0.21" : 'latest'; | ||
const id = 'cartoRasterTile'; | ||
@@ -6,0 +6,0 @@ const DEFAULT_OPTIONS = { |
@@ -5,3 +5,3 @@ import { TileReader } from "./carto-spatial-tile.js"; | ||
import { binaryToSpatialjson } from "./spatialjson-utils.js"; | ||
const VERSION = typeof "9.0.20" !== 'undefined' ? "9.0.20" : 'latest'; | ||
const VERSION = typeof "9.0.21" !== 'undefined' ? "9.0.21" : 'latest'; | ||
const id = 'cartoSpatialTile'; | ||
@@ -8,0 +8,0 @@ const DEFAULT_OPTIONS = { |
@@ -6,3 +6,3 @@ export declare class PropertiesReader { | ||
interface Doubles { | ||
value: Float32Array; | ||
value: Float64Array; | ||
size: number; | ||
@@ -9,0 +9,0 @@ } |
@@ -28,3 +28,3 @@ import { readPackedTypedArray } from "./fast-pbf.js"; | ||
const { value, size } = pbf.readFields(DoublesReader._readField, { value: [], size: 0 }, end); | ||
return { value: new Float32Array(value), size }; | ||
return { value, size }; | ||
} | ||
@@ -31,0 +31,0 @@ static _readField(tag, obj, pbf) { |
@@ -5,3 +5,3 @@ import earcut from 'earcut'; | ||
import { getWorkerUrl } from "../../utils.js"; | ||
const VERSION = typeof "9.0.20" !== 'undefined' ? "9.0.20" : 'latest'; | ||
const VERSION = typeof "9.0.21" !== 'undefined' ? "9.0.21" : 'latest'; | ||
const id = 'cartoVectorTile'; | ||
@@ -8,0 +8,0 @@ const DEFAULT_OPTIONS = { |
@@ -6,3 +6,2 @@ import { QueryParameters } from "../api/index.js"; | ||
tilesetTableName: string; | ||
matchingColumn?: string; | ||
propertiesSqlQuery: string; | ||
@@ -9,0 +8,0 @@ queryParameters?: QueryParameters; |
import { baseSource } from "./base-source.js"; | ||
export const boundaryQuerySource = async function (options) { | ||
const { columns, filters, tilesetTableName, matchingColumn = 'id', propertiesSqlQuery, queryParameters } = options; | ||
const { columns, filters, tilesetTableName, propertiesSqlQuery, queryParameters } = options; | ||
const urlParameters = { | ||
tilesetTableName, | ||
matchingColumn, | ||
propertiesSqlQuery | ||
@@ -8,0 +7,0 @@ }; |
@@ -5,3 +5,2 @@ import type { FilterOptions, SourceOptions, TilejsonResult } from "./types.js"; | ||
columns?: string[]; | ||
matchingColumn?: string; | ||
propertiesTableName: string; | ||
@@ -8,0 +7,0 @@ }; |
import { baseSource } from "./base-source.js"; | ||
export const boundaryTableSource = async function (options) { | ||
const { filters, tilesetTableName, columns, matchingColumn = 'id', propertiesTableName } = options; | ||
const { filters, tilesetTableName, columns, propertiesTableName } = options; | ||
const urlParameters = { | ||
tilesetTableName, | ||
matchingColumn, | ||
propertiesTableName | ||
@@ -8,0 +7,0 @@ }; |
@@ -6,3 +6,3 @@ { | ||
"type": "module", | ||
"version": "9.0.20", | ||
"version": "9.0.21", | ||
"publishConfig": { | ||
@@ -51,4 +51,4 @@ "access": "public" | ||
"@loaders.gl/tiles": "^4.2.0", | ||
"@luma.gl/core": "^9.0.14", | ||
"@luma.gl/shadertools": "^9.0.14", | ||
"@luma.gl/core": "^9.0.15", | ||
"@luma.gl/shadertools": "^9.0.15", | ||
"@math.gl/web-mercator": "^4.0.0", | ||
@@ -77,3 +77,3 @@ "@types/d3-array": "^3.0.2", | ||
}, | ||
"gitHead": "f3c26e0ba9236ae9a12fc2656ac7c4931d21b138" | ||
"gitHead": "bb9a6c4887b58e210223d4c6f5472811bd096521" | ||
} |
@@ -36,3 +36,3 @@ import {readPackedTypedArray} from './fast-pbf'; | ||
interface Doubles { | ||
value: Float32Array; | ||
value: Float64Array; | ||
size: number; | ||
@@ -44,3 +44,3 @@ } | ||
const {value, size} = pbf.readFields(DoublesReader._readField, {value: [], size: 0}, end); | ||
return {value: new Float32Array(value), size}; | ||
return {value, size}; | ||
} | ||
@@ -47,0 +47,0 @@ static _readField(this: void, tag: number, obj, pbf) { |
@@ -9,3 +9,2 @@ import {QueryParameters} from '../api/index'; | ||
tilesetTableName: string; | ||
matchingColumn?: string; | ||
propertiesSqlQuery: string; | ||
@@ -18,3 +17,2 @@ queryParameters?: QueryParameters; | ||
tilesetTableName: string; | ||
matchingColumn: string; | ||
propertiesSqlQuery: string; | ||
@@ -27,13 +25,5 @@ queryParameters?: Record<string, unknown> | unknown[]; | ||
): Promise<TilejsonResult> { | ||
const { | ||
columns, | ||
filters, | ||
tilesetTableName, | ||
matchingColumn = 'id', | ||
propertiesSqlQuery, | ||
queryParameters | ||
} = options; | ||
const {columns, filters, tilesetTableName, propertiesSqlQuery, queryParameters} = options; | ||
const urlParameters: UrlParameters = { | ||
tilesetTableName, | ||
matchingColumn, | ||
propertiesSqlQuery | ||
@@ -40,0 +30,0 @@ }; |
@@ -8,3 +8,2 @@ import {baseSource} from './base-source'; | ||
columns?: string[]; | ||
matchingColumn?: string; | ||
propertiesTableName: string; | ||
@@ -16,3 +15,2 @@ }; | ||
columns?: string; | ||
matchingColumn: string; | ||
propertiesTableName: string; | ||
@@ -24,6 +22,5 @@ }; | ||
): Promise<TilejsonResult> { | ||
const {filters, tilesetTableName, columns, matchingColumn = 'id', propertiesTableName} = options; | ||
const {filters, tilesetTableName, columns, propertiesTableName} = options; | ||
const urlParameters: UrlParameters = { | ||
tilesetTableName, | ||
matchingColumn, | ||
propertiesTableName | ||
@@ -30,0 +27,0 @@ }; |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
3130082
36905
+ Added@deck.gl/aggregation-layers@9.0.36(transitive)
+ Added@deck.gl/core@9.0.36(transitive)
+ Added@deck.gl/extensions@9.0.36(transitive)
+ Added@deck.gl/geo-layers@9.0.36(transitive)
+ Added@deck.gl/layers@9.0.36(transitive)
+ Added@deck.gl/mesh-layers@9.0.36(transitive)
+ Added@types/node@22.10.0(transitive)
+ Addedundici-types@6.20.0(transitive)
- Removed@deck.gl/aggregation-layers@9.0.35(transitive)
- Removed@deck.gl/core@9.0.35(transitive)
- Removed@deck.gl/extensions@9.0.35(transitive)
- Removed@deck.gl/geo-layers@9.0.35(transitive)
- Removed@deck.gl/layers@9.0.35(transitive)
- Removed@deck.gl/mesh-layers@9.0.35(transitive)
- Removed@types/node@22.9.1(transitive)
- Removedundici-types@6.19.8(transitive)
Updated@luma.gl/core@^9.0.15
Updated@luma.gl/shadertools@^9.0.15