SPB Git forge

spb/ka-maps

Public
6commits 1branches 0releases
448.0 KBsize
maindefault branch
29 days agolast push
TypeScript 87.7% CSS 12.3%
1.7 KB · 82 lines typescript
Raw Blame History
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  bboxOfProperties,29  bboxToString,30  expandBBox,31  hashId,32  haversineMeters,33  isValidCoordinate,34  parseBBox,35  pointInPolygon,36  propertiesToGeoJSON,37  roundBBox,38} from "./utils/geo.js";39export {40  computeLensStats,41  propertiesInBBox,42  propertiesInPolygon,43} from "./utils/lens.js";44export {45  cameraFromParams,46  cameraToParams,47  type CameraUrlState,48} from "./utils/url.js";49export {50  KA_DARK_PALETTE,51  KA_LIGHT_PALETTE,52  markerTokens,53  resolvePalette,54  type BasemapPalette,55  type KaMapMode,56  type KaMapTheme,57  type MarkerStyleTokens,58} from "./theming/tokens.js";59export {60  applyKaBasemapConfig,61  buildKaStyle,62  KA_ATTRIBUTION,63  KA_STYLE_URL,64  type KaBasemapOptions,65} from "./styles/kaBaseStyle.js";66export {67  buildClusterProperties,68  buildPropertyLayers,69  compactPriceExpression,70  CLUSTER_PROPERTIES,71  LAYER_IDS,72  pillIconExpression,73  pillImageId,74  PROPERTY_SOURCE_ID,75  registerPillImages,76} from "./layers/propertyLayer.js";77export {78  buildLayerRegistry,79  KNOWN_LAYERS,80  LAYER_GROUPS,81} from "./layers/registry.js";82