API by capability
Every capability the four SDKs share, by the name the TypeScript SDK publishes it under.
The client: credentials, responses, errors, retries, pagination, streams and webhooks.
| Capability | TypeScript |
|---|---|
transport.base-urls | BaseUrlOverrides, defaultBaseUrls |
| Capability | TypeScript |
|---|---|
transport.credentials | Credential, MountayaTransport.applyAuth, RequestArgs |
| Capability | TypeScript |
|---|---|
transport.session.observable | SessionTokenEngine, SessionTokenEngine.getSnapshot |
transport.session.first-token | PublishableCredential.sessionToken, SessionTokenSource |
| Capability | TypeScript |
|---|---|
transport.response.envelope | MountayaResponse, MountayaResponse.data |
| Capability | TypeScript |
|---|---|
transport.errors.ladder | MountayaError, MountayaApiError, MountayaConnectionError |
transport.errors.envelope | MountayaApiError.status, MountayaApiError.code, MountayaApiError.errors, MountayaApiError.metadata, MountayaApiError.retryAfter, MountayaApiError.hasCode, ErrorEntry, ErrorCode |
transport.errors.request-id | MountayaApiError.requestId, ResponseReport |
transport.errors.idempotency-key | MountayaError.idempotencyKey |
transport.errors.structural | isMountayaError, isMountayaApiError |
| Capability | TypeScript |
|---|---|
transport.pagination.walk | paginate |
| Capability | TypeScript |
|---|---|
transport.idempotency.key | RequestArgs.takesIdempotencyKey |
transport.idempotency.answer-unavailable | MountayaIdempotentAnswerUnavailableError, IdempotentAnswer |
transport.idempotency.key-in-use | MountayaIdempotencyKeyInUseError, RetryOptions.maxWaitMs |
| Capability | TypeScript |
|---|---|
transport.conditional.if-match | RequestArgs.ifMatch, MountayaPreconditionFailedError |
| Capability | TypeScript |
|---|---|
transport.ratelimit.parse | RateLimitInfo, MountayaApiError.rateLimit, ResponseReport.rateLimit |
| Capability | TypeScript |
|---|---|
transport.timeout.budget | RequestOptions.timeoutMs, RequestArgs.serverBudgetMs |
| Capability | TypeScript |
|---|---|
transport.data.selection | Selection, MountayaSelectionError |
| Capability | TypeScript |
|---|---|
transport.events.framing | readEventStream, SseFrame |
transport.events.terminal | createAgentTransport, createCollabTransport |
transport.events.open-errors | createAgentTransport, createCollabTransport |
transport.events.method-refusal | MountayaTransport.requestRaw, MountayaConfigurationError |
| Capability | TypeScript |
|---|---|
transport.webhooks.verify-signature | constructWebhookEvent, MountayaWebhookSignatureError, MountayaWebhookSignatureError.reason |
Everything computed without a map: units, distances, terrain, the camera's maths, profiles, tables, search and navigation.
| Capability | TypeScript |
|---|---|
geo.units.convert | convertLength, convertSpeed, convertDuration, convertTemperature, DEGREES_TO_RADIANS, RADIANS_TO_DEGREES, convertDataSize, convertProportion |
geo.units.slope | convertSlope, SlopeUnit |
| Capability | TypeScript |
|---|---|
geo.format.lnglat | formatLngLat |
geo.format.locale-services | formatNumber, dateTimeFormat |
geo.format.altitude-range | formatAltitudeRange |
| Capability | TypeScript |
|---|---|
geo.i18n.bundle-resolution | resolveBundle, Bundle |
geo.i18n.localized-name | localizedName |
geo.i18n.nested-scope | scopeOf, ElementsScope |
geo.i18n.counted-words | resolveElementsStrings |
| Capability | TypeScript |
|---|---|
geo.geodesy.haversine | haversineMeters |
| Capability | TypeScript |
|---|---|
geo.longitude.wrap | wrapLongitude, wrapLongitudePastRange, longitudeDelta |
| Capability | TypeScript |
|---|---|
geo.corridor.distance-to-segment | distanceToSegmentMeters |
geo.corridor.meters-to-route | metersToRoute |
| Capability | TypeScript |
|---|---|
geo.camera.zoom-bounds | effectiveZoomBounds |
geo.camera.max-bounds-longitudes | maxBoundsLongitudes |
geo.camera.zoom-altitude | altitudeToZoom, zoomToAltitude, groundMetersPerPixel |
geo.camera.pixel-padding | boundsWithPixelPadding, FitBoundsPadding |
geo.camera.bounds-of | boundsOf |
geo.camera.normalize-bounding-box | normalizeBoundingBox |
geo.camera.route-geometry | routeLengthMeters, cumulativeMeters, bearingDegBetween, pointAtMeters |
geo.camera.itinerary-route | itineraryToRouteGeometry |
geo.camera.route-content | RouteGeometry |
geo.camera.swept-viewports | capturesSweptViewports, ShotCamera |
geo.camera.fit | cameraForBounds |
geo.camera.content-bounds | itineraryGeometry, boundsOf, specificationBounds |
geo.camera.zoom-into-range | zoomIntoRange |
| Capability | TypeScript |
|---|---|
geo.boundaries.select | selectBoundary |
| Capability | TypeScript |
|---|---|
geo.terrain.slope-aspect | slopeAspectFromNeighbours, TerrainNeighbours |
geo.terrain.aspect-cardinal | aspectCardinal, AspectCardinal |
geo.terrain.elevation-decode | decodeElevation, ElevationEncoding |
geo.terrain.elevation-sample | elevationTilesAt, terrainFromElevationTiles, ElevationSource, ElevationTile, TerrainReading |
| Capability | TypeScript |
|---|---|
geo.timezone.viewport | timezoneViewport |
| Capability | TypeScript |
|---|---|
geo.data.segment-groups | applySegmentGroups |
geo.data.road-access-kinds | roadAccessKindOf, RoadAccessKind |
geo.data.itinerary-resource | ItineraryResourceEngine, ItineraryResourceEngine.configure, ItineraryResourceEngine.getSnapshot |
geo.data.itinerary-cache | invalidateItineraryResource |
geo.data.itinerary-segments | itinerarySegments |
geo.data.itinerary-waypoints | itineraryWaypoints |
geo.data.road-access-stretches | roadAccessFeatures |
| Capability | TypeScript |
|---|---|
geo.profile.elevation-series | buildElevationSeries, ElevationSeries |
geo.profile.totals | profileTotals |
geo.profile.slope-ramp | slopeRampColor, ASCENT_RAMP_STOPS, DESCENT_RAMP_STOPS, classifySteepness, SteepnessClass |
geo.profile.unit-formatting | formatDistance, formatElevation, formatSpeed, formatSlope, formatTemperature, formatDuration, formatHumidity, formatSnowfall, UnitFormatOptions |
geo.profile.split-duration | splitDuration |
geo.profile.waypoint-summary | waypointSummary, waypointHeadline, waypointDeclaresNothing |
geo.profile.web-address | isWebAddress |
geo.profile.climbs | detectClimbs, climbCategoryFor, ClimbCategory |
geo.profile.range-totals | rangeTotals |
geo.profile.resolve-waypoints | resolveWaypoints, Waypoint |
geo.profile.info-bands | buildInfoBands, IndexedInfo |
geo.profile.characteristics | profileCharacteristics, trailDifficultyRank |
geo.profile.committed-pace | committedPaceOf |
geo.profile.pace-clock | formatPaceClock, parsePaceClock, paceMinutesToClockNumber, paceClockNumberToMinutes |
geo.profile.distance-ticks | distanceTicks |
geo.profile.plot-scale | profileX, profileY |
geo.profile.domain | anchoredDomain, domainTicks, ProfileAnchor |
geo.profile.chart-path | profilePolyline, profileAreaPath |
geo.profile.curve-stops | curveStops, CurveColor |
geo.profile.stretch-at | classAt |
geo.profile.slope-stretches | slopeColors, SLOPE_COLOR_STOPS |
geo.profile.grade-at | gradeAt |
geo.profile.scrub-grid | buildSlices, distanceForSlice |
geo.profile.window-clamp | clampRange |
geo.profile.curve-placement | placeOnCurve, Waypoint |
geo.profile.axis-label-culling | cullCrowdedLabels, AxisLabelBox |
geo.profile.segment-rows | itinerarySegmentRows, ItinerarySegmentRowMetrics |
geo.profile.waypoint-rows | itineraryWaypointRows |
geo.profile.waypoint-card | waypointCard, WaypointCardFacts |
geo.profile.waypoint-property-value | waypointPropertyValue, waypointPropertyIsLink |
geo.profile.line-between | lineBetween |
geo.profile.classification-colors | surfaceColors, wayTypeColors, surfaceColors.unknown |
| Capability | TypeScript |
|---|---|
geo.style.segment-colors | segmentColorAt, assignDistinctColors, LIVELY_PALETTE |
geo.style.label-language | clampMapLanguage, MAP_LANGUAGES |
geo.style.label-relabel | applyLanguageToStyle |
geo.style.map-paint | MapPaint, defaultMapPaint |
geo.style.itinerary-stroke | itineraryLineSpec, itineraryDashedLineSpec, itineraryCasingSpec |
geo.style.theme-tokens | elementsTokens, elementTokenStyle, ElementTokens |
| Capability | TypeScript |
|---|---|
geo.layers.order | rankForTileLayer, tileSourceLayerRanks |
geo.layers.paint-zoom-range | paintZoomRange |
geo.layers.data-geojson | directionsToGeoJson, isochronesToGeoJson, matrixToGeoJson, placesToGeoJson, poisToGeoJson, suggestionsToGeoJson |
geo.layers.overlay-lookup | findOverlay, OverlayKind |
geo.layers.isochrone-color | isochroneColor, ISOCHRONE_RAMP |
geo.layers.matrix-width | matrixLineWidth |
geo.layers.poi-style | poiCategoryStyles, PoiCategoryStyle |
geo.layers.poi-category | omtCategoryToPoiEnum |
geo.layers.selection | LayersSelectionEngine, LayersSelectionEngine.setOverlay, LayersSelectionEngine.toggleEnrichment, LayersSelectionEngine.setTerrain |
geo.layers.selection-outcome | LayersSelectionEngine, LayersSelectionEngine.configure, LayersSelectionEngine.getSnapshot |
geo.layers.selection-instant | LayersSelectionEngine.setInstant, LayersSelectionSnapshot.instant, LayersSelectionTarget.setInstant |
geo.layers.overlay-instant | overlayInstant |
geo.layers.tile-timestamp | timestampedSources, TimestampedSource |
geo.layers.time-window | timeSliderWindow, TimeSliderWindow |
geo.layers.time-slider | timeSliderTicks, timeSliderRelease, TimeSliderTick |
geo.layers.time-readout | timeSliderReadout, TimeSliderReadout |
| Capability | TypeScript |
|---|---|
geo.icons.resolution | waypointIconImageId, amenityGlyph, activityMarkerIcon, roadAccessGlyph |
geo.icons.glyph-parse | parseGlyph, GlyphElement |
geo.icons.glyph-paint | glyphPaint |
geo.icons.bundled-sets | lucideIconProvider, lucideUiIconProvider |
geo.icons.glyph-set | IconProvider, createIconProvider |
geo.icons.glyph-set-chain | fallbackProvider |
| Capability | TypeScript |
|---|---|
geo.search.highlight | highlightRanges, splitByRanges |
geo.search.query | SearchEngine.setQuery, SEARCH_LIMIT_MAX |
geo.search.viewport-bounds | viewportBoundsFrom |
geo.search.rows | placeRow, poiRow, wayRow, itineraryRow, zoneRow, collectionRow, SearchRow |
geo.search.filters | sectionsForFilter, SearchFilter |
geo.search.section-order | SECTION_ORDER |
geo.search.typing-pause | SEARCH_DEBOUNCE_MS, SearchEngine.setQuery |
geo.search.live-round | SearchEngine, SearchEngine.setQuery, SearchEngine.configure, SearchEngine.retry |
geo.search.broaden | SearchEngine, SearchEngine.setViewportScope |
geo.search.viewport-refresh | SEARCH_VIEWPORT_REFRESH_MS, SearchViewport |
geo.search.describe | describePlace, describePoi, describeWay |
| Capability | TypeScript |
|---|---|
geo.navigation.steps | readDirectionsSteps, readItineraryDirectionsSteps |
geo.navigation.stepless-route | followedRouteOf, NavigationRoute |
geo.navigation.instruction-keys | stepInstruction, NavigationInstructionKey |
geo.navigation.progress | navigationProgressAt, NavigationRemainder |
geo.navigation.itinerary-route | readItineraryRoute |
The map engine: its camera, what it answers about a point, its events and what it draws.
| Capability | TypeScript |
|---|---|
map.engine.patch | MountayaMap.editLayer |
map.engine.closed | MountayaMap.destroy |
| Capability | TypeScript |
|---|---|
map.camera.pose | MountayaMap.jumpTo, MountayaMap.easeTo, MountayaMap.flyTo, CameraPose |
map.camera.fit-options | FitBoundsOptions, MountayaMap.fitBounds |
map.camera.zoom-window | MountayaMap.setConstraints, CameraConstraints.zoom |
map.camera.control-moves | MountayaMap.zoomIn, MountayaMap.zoomOut, MountayaMap.resetNorth |
map.camera.locate | MountayaMap.locate, GeolocationFix |
| Capability | TypeScript |
|---|---|
map.query.layers | MountayaMap.featuresAt, MountayaMap.poisAt, MountayaMap.zonesAt, MountayaMap.itinerariesAt |
map.query.feature-shape | QueriedFeature, MountayaMap.featuresAt |
map.query.elevation-at | MountayaMap.elevationAt |
| Capability | TypeScript |
|---|---|
map.events.pointer | MountayaMap.on, MountayaMapEvent, MountayaMapEvents.click |
map.events.feature-hover | MountayaMap.on, MountayaMapEvent |
map.events.access-refused | MountayaMap.on, MountayaMapEvent |
map.events.access-standing | MountayaMap.on, MountayaMapEvent |
| Capability | TypeScript |
|---|---|
map.specification.style | MountayaMap.setSpecification |
| Capability | TypeScript |
|---|---|
map.style.attribution | MountayaMap.getCredits, TileSource.attribution |
map.style.label-scope | MountayaMap.setLanguage |
| Capability | TypeScript |
|---|---|
map.basemap.terrain | MountayaMap.setTerrain, MountayaMap.setTerrainVariant, MountayaMap.getTerrain |
| Capability | TypeScript |
|---|---|
map.layers.rank-insertion | MountayaMap.addLayer, MountayaMap.removeLayer, LayerRank |
map.layers.keys | MountayaMap.drawnLayerKeys, MountayaMap.layerIdsForKey, MountayaMap.isKeyVisible |
map.layers.visibility | MountayaMap.setLayerVisibility, MountayaMap.isLayerVisible |
map.layers.manifest | MountayaMap.loadLayers, MountayaMap.getLayers, MountayaMap.setLayersOrganization |
| Capability | TypeScript |
|---|---|
map.overlays.composition | MountayaMap.setOverlay, MountayaMap.clearOverlay, MountayaMap.addEnrichment, MountayaMap.removeEnrichment, MountayaMap.getEnrichments |
map.overlays.instant | MountayaMap.setInstant, MountayaMap.getInstant |
| Capability | TypeScript |
|---|---|
map.slots.latest-request | MountayaMap.setItinerary, MountayaMap.setItineraries, MountayaMap.setCollection, MountayaMap.setZones, MountayaMap.clearItinerary, MountayaMap.clearCollection |
| Capability | TypeScript |
|---|---|
map.analysis.slots | MountayaMap.addDirections, MountayaMap.addIsochrones, MountayaMap.addMatrix, MountayaMap.addPlaces, MountayaMap.addSuggestions, MountayaMap.setPointsOfInterest, MountayaMap.removeDirections, MountayaMap.removeIsochrones, MountayaMap.removeMatrix, MountayaMap.removePlaces, MountayaMap.removeSuggestions |
map.analysis.edit | MountayaMap.editDirections, MountayaMap.editIsochrones, MountayaMap.editMatrix, MountayaMap.editPlaces, MountayaMap.editSuggestions, MountayaMap.editPointsOfInterest |
| Capability | TypeScript |
|---|---|
map.geometry.slots | MountayaMap.setPreview, MountayaMap.setHighlight, MountayaMap.setEmphasis, MountayaMap.editPreview, MountayaMap.editHighlight, MountayaMap.clearPreview, MountayaMap.clearHighlight, MountayaMap.clearEmphasis, MountayaMap.getGeometry, GeometrySlot |
| Capability | TypeScript |
|---|---|
map.marker.lifecycle | MountayaMap.addMarker, MountayaMap.editMarker, MountayaMap.removeMarker, MarkerOptions |
| Capability | TypeScript |
|---|---|
map.search.result-highlight | MountayaMap.setSearchHighlight, SearchHighlight |
| Capability | TypeScript |
|---|---|
map.profile.cursor-marker | showCursorMarker, hideCursorMarker |
map.profile.emphasis | writeLegEmphasis |
| Capability | TypeScript |
|---|---|
map.organization.read | MountayaMap.loadOrganization, MountayaMap.getOrganization |