use remote style URL

This commit is contained in:
Justin R. Miller
2014-11-11 10:48:30 -08:00
parent 6b65aa62a1
commit 53016d65d4

View File

@@ -122,8 +122,8 @@ public class MapView extends SurfaceView {
Assetbridge.unpack(context);
// Load the map style and API key
//mStyleUrl = "https://mapbox.github.io/mapbox-gl-styles/styles/bright-v6.json";
mStyleUrl = "file://" + cachePath + "/styles/styles/bright-v6.json";
mStyleUrl = "https://mapbox.github.io/mapbox-gl-styles/styles/bright-v6.json";
//mStyleUrl = "file://" + cachePath + "/styles/styles/bright-v6.json";
mAccessToken = "pk.eyJ1IjoibGpiYWRlIiwiYSI6IlJSQ0FEZ2MifQ.7mE4aOegldh3595AG9dxpQ";
// Create the NativeMapView