UDST / vizicities

A framework for 3D geospatial visualization in the browser
http://vizicities.com
BSD 3-Clause "New" or "Revised" License
2.73k stars 334 forks source link

Demo in README not work. Mapzen link broken. #188

Open yqrashawn opened 7 years ago

markoradak commented 7 years ago

Any news on this..?

yqrashawn commented 7 years ago

@markoradak You can create an Api key at mapzen and get your link here using the 'buildings' layer only.

robhawkes commented 7 years ago

Sorry for the delay! The demo links should be working, for example: http://cdn.rawgit.com/UDST/vizicities/master/examples/basic/index.html

Can you point me toward the exact link which isn't working for you?

As for the Mapzen endpoints, these are working from what I can see based on my testing with the demos and on my local machine. Can you re-test and clarify exactly what isn't working and with which branch of the ViziCities repo?

renaissance-design commented 7 years ago

Hi Rob - looked in on the project and I'm having the same issue.

screenshot 2017-02-23 16 59 29

A little digging reveals that line 18 of main.js needs updating with the new Mapzen endpoints as per the migration guide.

Ref pull request #210

SymbolixAU commented 7 years ago

I think the topoJSON resource for buildings now needs to point to

https://tile.mapzen.com/mapzen/vector/v1/buildings/{z}/{x}/{y}.topojson?api_key=vector-tiles-NT5Emiw
am2222 commented 7 years ago

This is because of their imigration into new vector-tile .It seems we must register for a new api_key

SymbolixAU commented 7 years ago

The old key seems to still work, it just needs to point to a different url