Skip to content

Commit 7709982

Browse files
committed
Load the source from MapBox hosting by default. Can be changed to local by people.
1 parent 0971a27 commit 7709982

File tree

3 files changed

+7
-7
lines changed

3 files changed

+7
-7
lines changed

countries.tm2/.thumb.png

82.2 KB
Loading

countries.tm2/project.xml

+3-3
Original file line numberDiff line numberDiff line change
@@ -5,13 +5,13 @@
55
<Parameters>
66
<Parameter name="attribution"><![CDATA[KlokanTech, MapBox, Natural Earth Data]]></Parameter>
77
<Parameter name="bounds">-180,-85.0511,180,85.0511</Parameter>
8-
<Parameter name="center">0.5713,45.6908,5</Parameter>
8+
<Parameter name="center">0,0,2</Parameter>
99
<Parameter name="description"><![CDATA[Style converted from TileMill's Geographical Class made from Natural Earth data processed by MapBox.]]></Parameter>
1010
<Parameter name="format">png8:m=h</Parameter>
1111
<Parameter name="maxzoom">10</Parameter>
1212
<Parameter name="minzoom">0</Parameter>
1313
<Parameter name="name"><![CDATA[Countries]]></Parameter>
14-
<Parameter name="source"><![CDATA[tmsource:///Users/klokan/Projects/vector-tiles-sample/countries.tm2source]]></Parameter>
14+
<Parameter name="source"><![CDATA[mapbox:///klokantech.97cbd1e1]]></Parameter>
1515
</Parameters>
1616

1717

@@ -1218,4 +1218,4 @@
12181218
srs="+proj=merc +a=6378137 +b=6378137 +lat_ts=0.0 +lon_0=0.0 +x_0=0.0 +y_0=0.0 +k=1.0 +units=m +nadgrids=@null +wktext +no_defs +over">
12191219
<StyleName>country-name</StyleName> </Layer>
12201220

1221-
</Map>
1221+
</Map>

countries.tm2/project.yml

+4-4
Original file line numberDiff line numberDiff line change
@@ -9,17 +9,17 @@ bounds:
99
- 180
1010
- 85.0511
1111
center:
12-
- 0.5713
13-
- 45.6908
14-
- 5
12+
- 0
13+
- 0
14+
- 2
1515
description: Style converted from TileMill's Geographical Class made from Natural Earth data processed by MapBox.
1616
format: "png8:m=h"
1717
interactivity_layer: ''
1818
layers: null
1919
maxzoom: 10
2020
minzoom: 0
2121
name: Countries
22-
source: "tmsource:///Users/klokan/Projects/vector-tiles-sample/countries.tm2source"
22+
source: "mapbox:///klokantech.97cbd1e1"
2323
styles:
2424
- style.mss
2525
- labels.mss

0 commit comments

Comments
 (0)