SPB Git

spb/ka-maps

Public
1.6 KB · 80 lines typescript
1/**2 * Author: Simon-Pierre Boucher3 * Contact: contact@spboucher.ai4 * Project: Groupe Ka / Ka Maps5 *6 * Ka Maps — framework by Groupe Ka.7 * Public API surface (framework core; React bindings under ./react).8 */910export * from "./types/index.js";11export { KaMap, type KaMapOptions } from "./core/KaMap.js";12export { KaEventHub, type KaEventMap } from "./core/events.js";13export {14  BoundsQueryScheduler,15  stableStringify,16  type BoundsQueryOptions,17  type BoundsRequest,18} from "./services/boundsQuery.js";19export {20  formatCompactPrice,21  formatFullPrice,22  formatPercent,23  median,24} from "./utils/format.js";25export {26  bboxContains,27  bboxContainsPoint,28  bboxToString,29  expandBBox,30  hashId,31  haversineMeters,32  isValidCoordinate,33  parseBBox,34  propertiesToGeoJSON,35  roundBBox,36} from "./utils/geo.js";37export {38  computeLensStats,39  propertiesInBBox,40  propertiesInPolygon,41} from "./utils/lens.js";42export {43  cameraFromParams,44  cameraToParams,45  type CameraUrlState,46} from "./utils/url.js";47export {48  KA_DARK_PALETTE,49  KA_LIGHT_PALETTE,50  markerTokens,51  resolvePalette,52  type BasemapPalette,53  type KaMapMode,54  type KaMapTheme,55  type MarkerStyleTokens,56} from "./theming/tokens.js";57export {58  applyKaBasemapConfig,59  buildKaStyle,60  KA_ATTRIBUTION,61  KA_STYLE_URL,62  type KaBasemapOptions,63} from "./styles/kaBaseStyle.js";64export {65  buildClusterProperties,66  buildPropertyLayers,67  compactPriceExpression,68  CLUSTER_PROPERTIES,69  LAYER_IDS,70  pillIconExpression,71  pillImageId,72  PROPERTY_SOURCE_ID,73  registerPillImages,74} from "./layers/propertyLayer.js";75export {76  buildLayerRegistry,77  KNOWN_LAYERS,78  LAYER_GROUPS,79} from "./layers/registry.js";80
Files · laptop-20261002
Menu

Theme