tangrams / tangram-play

Text editor web app for Tangram scenes
https://tangram.city/play/
MIT License
96 stars 27 forks source link

getting Nexzen api key error for tiles while using an api key #760

Open glw opened 6 years ago

glw commented 6 years ago

Hi

Im getting this error even though Im using the Nextzen api key.

untitled

Im using tangram-play locally. This is a newer error since my last git pull.

bcamper commented 6 years ago

Thanks, will check it out. Likely a result of the latest changes from Mapzen -> Nextzen keys.

On Thu, Mar 8, 2018 at 4:26 PM, Garret notifications@github.com wrote:

Hi

Im getting this error even though Im using the Nextzen api key.

[image: untitled] https://user-images.githubusercontent.com/556205/37177023-c37f9c94-22e3-11e8-849f-0e0a590a113c.jpg

Im using tangram-play locally. This is a newer error since my last git pull.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/tangrams/tangram-play/issues/760, or mute the thread https://github.com/notifications/unsubscribe-auth/AABBXY9LH2nPoi3GmIunqZpQVWmfqaG3ks5tcaHrgaJpZM4SjXxJ .

bcamper commented 6 years ago

Could you show what your sources block looks like (you can XXX out any keys)? I haven't been able to reproduce this.

glw commented 6 years ago

Sure! Here you go:

untitled

bcamper commented 6 years ago

Try removing the ?api_key=XXXXXXX from your tile url, and providing your API key as:

mapzen:
  type: MVT
  url: ...
  url_params:
    api_key: <your Nextzen api key here>

Does that work?

On Mon, Mar 12, 2018 at 12:53 PM, Garret notifications@github.com wrote:

Sure! Here you go:

[image: untitled] https://user-images.githubusercontent.com/556205/37297545-f4dbbff6-25eb-11e8-994f-075c9bf139d0.png

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/tangrams/tangram-play/issues/760#issuecomment-372381963, or mute the thread https://github.com/notifications/unsubscribe-auth/AABBXYA8IWh5GRDkaP2neBNFIerlbeAIks5tdqgbgaJpZM4SjXxJ .

glw commented 6 years ago

Doesn't seem to have an affect.