Skip to content

Improve Geocode/Reverse geocode demo to show full API response #114

@cmillett

Description

@cmillett

What

Improve the Geocode / Reverse geocode demo (samples/localities-geocode/) to display the full API response in a structured block — address components, viewport, formatted address, etc. — similar to how Google Maps and Mapbox present their geocoding demos.

Reference demos:

Raised by Adrien Landy — a Partoo developer also requested this.

Why

The current demo doesn't surface the full response, making it harder for developers to understand the data available from our Geocoding API. Competitors show the complete response in an interactive interface, setting a higher bar for developer experience. This has been requested multiple times internally and externally.

Boundaries

In scope Out of scope
Geocode demo improvement Other API demos
Reverse geocode demo improvement API changes
Display full response: address components, viewport, geometry, etc. Full playground redesign
Interactive response viewer/block

Approach

Update the Geocode and Reverse geocode demo to render the full JSON response in a structured, readable block (similar to Google/Mapbox playground style). Show address components, viewport, and other response fields clearly.

Risks

  • Need to confirm the exact response fields to highlight.

Bucket

1 week — sample code change to surface response data that's already available.

Metadata

Metadata

Assignees

No one assigned

    Labels

    documentationImprovements or additions to documentation

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions