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

Document that mapbox visualization requires MAPBOX_API_KEY #952

Closed
jalonsob opened this issue Aug 16, 2016 · 8 comments
Closed

Document that mapbox visualization requires MAPBOX_API_KEY #952

jalonsob opened this issue Aug 16, 2016 · 8 comments

Comments

@jalonsob
Copy link

jalonsob commented Aug 16, 2016

Hi, I have been playing with new data for Caravel and It representation of data with the widget "Mapbox".

My data consist in a group of entries with an hour and each one has a coordinate LON-LAT (Float), each one with an unique and primary key. I thing that It could be a good example to get something like your example in this page:

https://camo.githubusercontent.com/59348346953e951d5895e12eb743a307402c01bf/687474703a2f2f692e696d6775722e636f6d2f42655574437a462e706e67

But when I want to draw the map in the tables explore section, I get the next errors:

all_columns_y: Not a valid choice
all_columns_x: Not a valid choice
mapbox_style: Not a valid choice

And the map has never been drawn.

On the other hand, when I want to get the visualitations of your example in main.db called MAPBOX LONG/LAT I only can get the bubbles but the map dont draw anything and It continues loading for the eternity. I get the next:

problem

So... what could be the problem? I am using OS X 10.10.5 and Caravel 0.10.0.

In other way I would like to suggest a new widget of mapping that does not depends on time data. It could be more easy than we have now.

@xrmx
Copy link
Contributor

xrmx commented Aug 16, 2016

@jalonsob what does your browser's js console say? Do you have MAPBOX_API_KEY set in your config?

@jalonsob
Copy link
Author

My browser's js console says:

Error: An API access token is required to use Mapbox GL

You are right I need MAPBOX_API_KEY in my configuration. How can I get it?

@xrmx
Copy link
Contributor

xrmx commented Aug 16, 2016

@jalonsob i suppose you just need to create an account on mapbox :)

@xrmx xrmx changed the title Suggestion about Mapbox and problem with it Document that mapbox visualization requires MAPBOX_API_KEY Aug 16, 2016
@jalonsob
Copy link
Author

It works! Thank you very much! I needed an api key.

@xrmx xrmx reopened this Aug 16, 2016
@georgeke georgeke mentioned this issue Aug 16, 2016
xrmx added a commit to xrmx/superset that referenced this issue Aug 17, 2016
Also add it to sample config

Fix apache#952
@yamyamyuo
Copy link
Contributor

create an account in website https://www.mapbox.com/
and find the api token in your account. That's it!

@suyile
Copy link

suyile commented Jul 20, 2018

Could some one tell me how to config the API token, I now have the api token but have no idea about where to paste this token number ?

@yamyamyuo
Copy link
Contributor

@malazbw
Copy link

malazbw commented Aug 30, 2019

Hi, is it possible to make it without api token

zhaoyongjie pushed a commit to zhaoyongjie/incubator-superset that referenced this issue Nov 17, 2021
Including
  - legacy-plugin-chart-pivot-table
  - legacy-plugin-chart-parallel-coordinates
  - legacy-plugin-chart-treemap
zhaoyongjie pushed a commit to zhaoyongjie/incubator-superset that referenced this issue Nov 24, 2021
Including
  - legacy-plugin-chart-pivot-table
  - legacy-plugin-chart-parallel-coordinates
  - legacy-plugin-chart-treemap
zhaoyongjie pushed a commit to zhaoyongjie/incubator-superset that referenced this issue Nov 25, 2021
Including
  - legacy-plugin-chart-pivot-table
  - legacy-plugin-chart-parallel-coordinates
  - legacy-plugin-chart-treemap
zhaoyongjie pushed a commit to zhaoyongjie/incubator-superset that referenced this issue Nov 26, 2021
Including
  - legacy-plugin-chart-pivot-table
  - legacy-plugin-chart-parallel-coordinates
  - legacy-plugin-chart-treemap
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants