mapbox / mapbox/mapbox-gl-geocoder

Can't we get location text after clicking on map

Open
#437 0 comments 2 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

auto-triaged needs information
Dominant language
JavaScript
Stars
388
Forks
181
PR merge metrics
No merged PRs in 30d

Description

I want to get the location text of when I click on the map.

Ex -> https://docs.mapbox.com/playground/geocoding/?search_text=85.52849849793557,26.838153629235293&limit=1

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reviewing the mapbox-gl-geocoder control's map interaction entry points and the Mapbox Geocoding API example linked in the issue. Determine how a map click could produce location text, then verify that the requested text is returned for the example coordinates and that the existing geocoder behavior remains intact.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
api, frontend
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.