mapzen

How to edit a gradle dependency

落花浮王杯 提交于 2019-12-23 19:21:47
问题 I'm working on an android project that uses the following dependency in my gradle file; compile 'com.mapzen:on-the-road:1.1.1' I would like to edit one of the files in order to add some missing features and contribute to the project. How can I download this project and test edits in my android studio project? 回答1: I just found out that the project is open-source and is available in Github. Please follow these simple steps - 1) Go to this page and click on "Clone or Download" and then click on

Using Mapzen tiles with Leaflet

牧云@^-^@ 提交于 2019-12-10 15:50:38
问题 My reading of the Leaflet and Mapzen documentations suggest that in order to use a custom tile provider with Leaflet, one needs to do just two things: Specify the tile provider in L.tilelayer(urlTemplateToTileProvider) Set this provider to MapZen var urlTemplateToTileProvider = 'http://tile.mapzen.com/mapzen/vector/v1/all/{z}/{x}/{y}.mvt?api_key=apiKey' However, when I try this I end up with an empty map which then proceeds to display markers etc correctly. And yet a manual test for a