Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Mapbox doesn't work while editing Default View of geometry field #7596

Closed
3 tasks done
micheleferraro opened this issue Aug 25, 2021 · 0 comments · Fixed by #7602
Closed
3 tasks done

Mapbox doesn't work while editing Default View of geometry field #7596

micheleferraro opened this issue Aug 25, 2021 · 0 comments · Fixed by #7602
Labels

Comments

@micheleferraro
Copy link

Preflight Checklist

Describe the Bug

I added a GeoJSON field, I configured the default view using OpenStreetMap. I then configured MapBox with a valid token and I was able to use MapBox while adding a new item to the collection. When I tried to edit the geometry field the Default View in Interface options was blank and I got this error in the console:
error

To Reproduce

  1. Add a geometry field to a collection
  2. Setup Mapbox access token in project settings
  3. Add an an item to the collection and select Mapbox in the dropdown
  4. Edit the geometry field and go to Interface options

What version of Directus are you using?

9.0.0-rc.91

What version of Node.js are you using?

14.17.2

What database are you using?

MariaDB 10.5.11

What browser are you using?

Chrome

What operating system are you using?

macOS

How are you deploying Directus?

running locally

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants