Browse Source

Create repository

master
Skylar Ittner 3 years ago
commit
403f87ba6d
  1. 50
      README.md
  2. BIN
      krita-files/dirt-texture.kra
  3. BIN
      krita-files/grass-texture.kra
  4. BIN
      krita-files/ground-texture.kra
  5. BIN
      krita-files/water-texture.kra
  6. BIN
      png/dirt.png
  7. BIN
      png/dirt@2x.png
  8. BIN
      png/grass.png
  9. BIN
      png/grass@2x.png
  10. BIN
      png/ground.png
  11. BIN
      png/ground@2x.png
  12. BIN
      png/water.png
  13. BIN
      png/water@2x.png
  14. BIN
      preview/2d-city.png
  15. BIN
      preview/3d-city.png
  16. BIN
      preview/planet.png
  17. BIN
      preview/rural.png
  18. BIN
      preview/simple.png
  19. 30
      terranquest-3d/sprite.json
  20. BIN
      terranquest-3d/sprite.png
  21. 30
      terranquest-3d/sprite@2x.json
  22. BIN
      terranquest-3d/sprite@2x.png
  23. 305
      terranquest-3d/style.json
  24. 30
      terranquest-flat/sprite.json
  25. BIN
      terranquest-flat/sprite.png
  26. 30
      terranquest-flat/sprite@2x.json
  27. BIN
      terranquest-flat/sprite@2x.png
  28. 297
      terranquest-flat/style.json
  29. 289
      terranquest-simple/style.json

50
README.md

@ -0,0 +1,50 @@
TerranQuest Mapbox GL Styles
============================
This is a set of three Mapbox GL map styles. The styles are very simplified, showing roads, water, buildings, and parks/grass/woods.
These styles are best viewed at very high (>16) zoom level. They were designed for TerranQuest, a mobile location-based video game.
Folders
-------
**terranquest-3d:**
Style and sprites for a textured map with 3D buildings.
**terranquest-flat:**
Style and sprites for a textured map with flat/2D buildings.
**terranquest-simple:**
Style for a 2D plain-color map with no textures.
**krita-files:**
Krita project files for the textures.
**png:**
Individual PNG textures, at 256x256 and 512x512 sizes.
Preview
-------
Live maps: [3D](https://maps.netsyms.net/styles/terranquest-3d/), [Flat](https://maps.netsyms.net/styles/terranquest-flat/), [Simple](https://maps.netsyms.net/styles/terranquest-simple/)
#### 3D style: ![3D City](preview/3d-city.png)
#### Flat style: ![Flat City](preview/2d-city.png)
#### Simple style: ![Simple](preview/simple.png)
#### Planet (3D/Flat): ![Planet](preview/planet.png)
#### Rural (3D/Flat): ![Planet](preview/rural.png)
License
-------
Creative Commons Zero, CC0
http://creativecommons.org/publicdomain/zero/1.0/
Please note that the license only applies to the texture/sprite files and the `style.json` files. Whatever map you use has its own license terms. For example, the CC0 license does not apply to the preview images, as they contain ODbL-licenses code from OpenStreetMap.

BIN
krita-files/dirt-texture.kra

BIN
krita-files/grass-texture.kra

BIN
krita-files/ground-texture.kra

BIN
krita-files/water-texture.kra

BIN
png/dirt.png

After

Width: 256  |  Height: 256  |  Size: 54 KiB

BIN
png/dirt@2x.png

After

Width: 512  |  Height: 512  |  Size: 183 KiB

BIN
png/grass.png

After

Width: 256  |  Height: 256  |  Size: 66 KiB

BIN
png/grass@2x.png

After

Width: 512  |  Height: 512  |  Size: 209 KiB

BIN
png/ground.png

After

Width: 256  |  Height: 256  |  Size: 53 KiB

BIN
png/ground@2x.png

After

Width: 512  |  Height: 512  |  Size: 170 KiB

BIN
png/water.png

After

Width: 256  |  Height: 256  |  Size: 28 KiB

BIN
png/water@2x.png

After

Width: 512  |  Height: 512  |  Size: 44 KiB

BIN
preview/2d-city.png

After

Width: 1920  |  Height: 937  |  Size: 1.3 MiB

BIN
preview/3d-city.png

After

Width: 1920  |  Height: 937  |  Size: 1.0 MiB

BIN
preview/planet.png

After

Width: 1920  |  Height: 937  |  Size: 366 KiB

BIN
preview/rural.png

After

Width: 1920  |  Height: 937  |  Size: 1.1 MiB

BIN
preview/simple.png

After

Width: 1920  |  Height: 937  |  Size: 169 KiB

30
terranquest-3d/sprite.json

@ -0,0 +1,30 @@
{
"ground": {
"height": 256,
"width": 256,
"x": 0,
"y": 0,
"pixelRatio": 1
},
"grass": {
"height": 256,
"width": 256,
"x": 256,
"y": 0,
"pixelRatio": 1
},
"water": {
"height": 256,
"width": 256,
"x":512,
"y": 0,
"pixelRatio": 1
},
"dirt": {
"height": 256,
"width": 256,
"x": 768,
"y": 0,
"pixelRatio": 1
}
}

BIN
terranquest-3d/sprite.png

After

Width: 1024  |  Height: 256  |  Size: 218 KiB

30
terranquest-3d/sprite@2x.json

@ -0,0 +1,30 @@
{
"ground": {
"height": 512,
"width": 512,
"x": 0,
"y": 0,
"pixelRatio": 2
},
"grass": {
"height": 512,
"width": 512,
"x": 512,
"y": 0,
"pixelRatio": 2
},
"water": {
"height": 512,
"width": 512,
"x":1024,
"y": 0,
"pixelRatio": 2
},
"dirt": {
"height": 512,
"width": 512,
"x": 1536,
"y": 0,
"pixelRatio": 2
}
}

BIN
terranquest-3d/sprite@2x.png

After

Width: 2048  |  Height: 512  |  Size: 649 KiB

305
terranquest-3d/style.json

@ -0,0 +1,305 @@
{
"version": 8,
"name": "TerranQuest 3D",
"metadata": {
"mapbox:autocomposite": false,
"maputnik:renderer": "mbgljs",
"openmaptiles:version": "3.x"
},
"sources": {
"openmaptiles": {
"url": "mbtiles://{v3}",
"type": "vector"
}
},
"sprite": "{styleJsonFolder}/sprite",
"glyphs": "{fontstack}/{range}.pbf",
"layers": [
{
"id": "background",
"type": "background",
"paint": {
"background-color": "rgba(108, 220, 155, 1)",
"background-pattern": "ground"
}
},
{
"id": "landuse-residential",
"type": "fill",
"source": "openmaptiles",
"source-layer": "landuse",
"filter": [
"all",
[
"==",
"$type",
"Polygon"
],
[
"==",
"class",
"residential"
]
],
"layout": {
"visibility": "none"
},
"paint": {
"fill-color": "rgba(255, 255, 255, 0.2)",
"fill-opacity": 0.7
}
},
{
"id": "park",
"type": "fill",
"source": "openmaptiles",
"source-layer": "park",
"layout": {
"visibility": "visible"
},
"paint": {
"fill-color": "#62CF80",
"fill-opacity": 1,
"fill-outline-color": "#62CF80",
"fill-pattern": "grass"
}
},
{
"id": "landcover_plants",
"type": "fill",
"source": "openmaptiles",
"source-layer": "landcover",
"filter": [
"all",
[
"in",
"class",
"wood",
"grass"
]
],
"paint": {
"fill-color": "#62CF80",
"fill-opacity": 1,
"fill-pattern": "grass"
}
},
{
"id": "water",
"type": "fill",
"source": "openmaptiles",
"source-layer": "water",
"filter": [
"==",
"$type",
"Polygon"
],
"paint": {
"fill-color": "#76FFFF",
"fill-pattern": "water"
}
},
{
"id": "ice",
"type": "fill",
"source": "openmaptiles",
"source-layer": "landcover",
"filter": [
"all",
[
"in",
"subclass",
"glacier",
"ice_shelf"
]
],
"layout": {
"visibility": "visible"
},
"paint": {
"fill-color": "#a7ffc9",
"fill-opacity": 1
}
},
{
"id": "landuse",
"type": "fill",
"source": "openmaptiles",
"source-layer": "landuse",
"filter": [
"==",
"class",
"agriculture"
],
"layout": {
"visibility": "none"
},
"paint": {
"fill-color": "#eae0d0"
}
},
{
"id": "landuse_overlay_national_park",
"type": "fill",
"source": "openmaptiles",
"source-layer": "landcover",
"filter": [
"==",
"class",
"national_park"
],
"paint": {
"fill-color": "#62CF80",
"fill-opacity": 1,
"fill-pattern": "grass"
}
},
{
"id": "waterway",
"type": "line",
"source": "openmaptiles",
"source-layer": "waterway",
"filter": [
"==",
"$type",
"LineString"
],
"layout": {
"visibility": "visible"
},
"paint": {
"line-color": "#76FFFF",
"line-width": {
"base": 1.4,
"stops": [
[
8,
1
],
[
10,
2
],
[
13,
4
],
[
16,
12
],
[
19,
40
]
]
},
"line-opacity": 1,
"line-pattern": "water"
}
},
{
"id": "road_area",
"type": "fill",
"metadata": {},
"source": "openmaptiles",
"source-layer": "transportation",
"filter": [
"all",
[
"==",
"$type",
"Polygon"
]
],
"layout": {
"visibility": "none"
},
"paint": {
"fill-color": "#FEC481",
"fill-antialias": true,
"fill-pattern": "dirt"
}
},
{
"id": "road",
"type": "line",
"source": "openmaptiles",
"source-layer": "transportation",
"layout": {
"line-cap": "round",
"line-join": "miter"
},
"paint": {
"line-color": "#FEC481",
"line-width": {
"stops": [
[
4,
0.25
],
[
10,
1
],
[
13,
2
],
[
16,
10
],
[
19,
30
]
]
},
"line-gap-width": 0,
"line-pattern": "dirt"
}
},
{
"id": "building-3d",
"type": "fill-extrusion",
"source": "openmaptiles",
"source-layer": "building",
"filter": [
"all",
[
"!has",
"hide_3d"
]
],
"layout": {
"visibility": "visible"
},
"paint": {
"fill-extrusion-color": "#c0e3e9",
"fill-extrusion-height": {
"property": "render_height",
"type": "identity"
},
"fill-extrusion-base": {
"property": "render_min_height",
"type": "identity"
},
"fill-extrusion-opacity": {
"stops": [
[
16,
0.8
],
[
21,
0
]
]
}
}
}
],
"id": "terranquest-3d",
"owner": "Netsyms Technologies"
}

30
terranquest-flat/sprite.json

@ -0,0 +1,30 @@
{
"ground": {
"height": 256,
"width": 256,
"x": 0,
"y": 0,
"pixelRatio": 1
},
"grass": {
"height": 256,
"width": 256,
"x": 256,
"y": 0,
"pixelRatio": 1
},
"water": {
"height": 256,
"width": 256,
"x":512,
"y": 0,
"pixelRatio": 1
},
"dirt": {
"height": 256,
"width": 256,
"x": 768,
"y": 0,
"pixelRatio": 1
}
}

BIN
terranquest-flat/sprite.png

After

Width: 1024  |  Height: 256  |  Size: 218 KiB

30
terranquest-flat/sprite@2x.json

@ -0,0 +1,30 @@
{
"ground": {
"height": 512,
"width": 512,
"x": 0,
"y": 0,
"pixelRatio": 2
},
"grass": {
"height": 512,
"width": 512,
"x": 512,
"y": 0,
"pixelRatio": 2
},
"water": {
"height": 512,
"width": 512,
"x":1024,
"y": 0,
"pixelRatio": 2
},
"dirt": {
"height": 512,
"width": 512,
"x": 1536,
"y": 0,
"pixelRatio": 2
}
}

BIN
terranquest-flat/sprite@2x.png

After

Width: 2048  |  Height: 512  |  Size: 649 KiB

297
terranquest-flat/style.json

@ -0,0 +1,297 @@
{
"version": 8,
"name": "TerranQuest Flat",
"metadata": {
"mapbox:autocomposite": false,
"maputnik:renderer": "mbgljs",
"openmaptiles:version": "3.x"
},
"sources": {
"openmaptiles": {
"url": "mbtiles://{v3}",
"type": "vector"
}
},
"sprite": "{styleJsonFolder}/sprite",
"glyphs": "{fontstack}/{range}.pbf",
"layers": [
{
"id": "background",
"type": "background",
"paint": {
"background-color": "rgba(108, 220, 155, 1)",
"background-pattern": "ground"
}
},
{
"id": "landuse-residential",
"type": "fill",
"source": "openmaptiles",
"source-layer": "landuse",
"filter": [
"all",
[
"==",
"$type",
"Polygon"
],
[
"==",
"class",
"residential"
]
],
"layout": {
"visibility": "none"
},
"paint": {
"fill-color": "rgba(255, 255, 255, 0.2)",
"fill-opacity": 0.7
}
},
{
"id": "park",
"type": "fill",
"source": "openmaptiles",
"source-layer": "park",
"layout": {
"visibility": "visible"
},
"paint": {
"fill-color": "#62CF80",
"fill-opacity": 1,
"fill-outline-color": "#62CF80",
"fill-pattern": "grass"
}
},
{
"id": "landcover_plants",
"type": "fill",
"source": "openmaptiles",
"source-layer": "landcover",
"filter": [
"all",
[
"in",
"class",
"wood",
"grass"
]
],
"paint": {
"fill-color": "#62CF80",
"fill-opacity": 1,
"fill-pattern": "grass"
}
},
{
"id": "water",
"type": "fill",
"source": "openmaptiles",
"source-layer": "water",
"filter": [
"==",
"$type",
"Polygon"
],
"paint": {
"fill-color": "#76FFFF",
"fill-pattern": "water"
}
},
{
"id": "ice",
"type": "fill",
"source": "openmaptiles",
"source-layer": "landcover",
"filter": [
"all",
[
"in",
"subclass",
"glacier",
"ice_shelf"
]
],
"layout": {
"visibility": "visible"
},
"paint": {
"fill-color": "#a7ffc9",
"fill-opacity": 1
}
},
{
"id": "landuse",
"type": "fill",
"source": "openmaptiles",
"source-layer": "landuse",
"filter": [
"==",
"class",
"agriculture"
],
"layout": {
"visibility": "none"
},
"paint": {
"fill-color": "#eae0d0"
}
},
{
"id": "landuse_overlay_national_park",
"type": "fill",
"source": "openmaptiles",
"source-layer": "landcover",
"filter": [
"==",
"class",
"national_park"
],
"paint": {
"fill-color": "#62CF80",
"fill-opacity": 1,
"fill-pattern": "grass"
}
},
{
"id": "waterway",
"type": "line",
"source": "openmaptiles",
"source-layer": "waterway",
"filter": [
"==",
"$type",
"LineString"
],
"layout": {
"visibility": "visible"
},
"paint": {
"line-color": "#76FFFF",
"line-pattern": "water",
"line-width": {
"base": 1.4,
"stops": [
[
8,
1
],
[
10,
2
],
[
13,
4
],
[
16,
12
],
[
19,
40
]
]
},
"line-opacity": 1
}
},
{
"id": "road_area",
"type": "fill",
"metadata": {},
"source": "openmaptiles",
"source-layer": "transportation",
"filter": [
"all",
[
"==",
"$type",
"Polygon"
]
],
"layout": {
"visibility": "none"
},
"paint": {
"fill-color": "#FEC481",
"fill-antialias": true,
"fill-pattern": "dirt"
}
},
{
"id": "road",
"type": "line",
"source": "openmaptiles",
"source-layer": "transportation",
"layout": {
"line-cap": "round",
"line-join": "miter"
},
"paint": {
"line-color": "#FEC481",
"line-pattern": "dirt",
"line-width": {
"stops": [
[
4,
0.25
],
[
10,
1
],
[
13,
2
],
[
16,
10
],
[
19,
30
]
]
},
"line-gap-width": 0
}
},
{
"id": "building-2d",
"type": "fill",
"source": "openmaptiles",
"source-layer": "building",
"filter": [
"all",
[
"!has",
"hide_3d"
]
],
"layout": {
"visibility": "visible"
},
"paint": {
"fill-opacity": {
"stops": [
[
16,
0.6
],
[
21,
0
]
]
},
"fill-color": "#c0e3e9"
}
}
],
"id": "terranquest-flat",
"owner": "Netsyms Technologies"
}

289
terranquest-simple/style.json

@ -0,0 +1,289 @@
{
"version": 8,
"name": "TerranQuest Simple",
"metadata": {
"mapbox:autocomposite": false,
"maputnik:renderer": "mbgljs",
"openmaptiles:version": "3.x"
},
"sources": {
"openmaptiles": {
"url": "mbtiles://{v3}",
"type": "vector"
}
},
"sprite": "",
"glyphs": "{fontstack}/{range}.pbf",
"layers": [
{
"id": "background",
"type": "background",
"paint": {
"background-color": "rgba(108, 220, 155, 1)"
}
},
{
"id": "landuse-residential",
"type": "fill",
"source": "openmaptiles",
"source-layer": "landuse",
"filter": [
"all",
[
"==",
"$type",
"Polygon"
],
[
"==",
"class",
"residential"
]
],
"layout": {
"visibility": "none"
},
"paint": {
"fill-color": "rgba(255, 255, 255, 0.2)",
"fill-opacity": 0.7
}
},
{
"id": "park",
"type": "fill",
"source": "openmaptiles",
"source-layer": "park",
"layout": {
"visibility": "visible"
},
"paint": {
"fill-color": "#62CF80",
"fill-opacity": 1,
"fill-outline-color": "#62CF80"
}
},
{
"id": "landcover_plants",
"type": "fill",
"source": "openmaptiles",
"source-layer": "landcover",
"filter": [
"all",
[
"in",
"class",
"wood",
"grass"
]
],
"paint": {
"fill-color": "#62CF80",
"fill-opacity": 1
}
},
{
"id": "water",
"type": "fill",
"source": "openmaptiles",
"source-layer": "water",
"filter": [
"==",
"$type",
"Polygon"
],
"paint": {
"fill-color": "#76FFFF"
}
},
{
"id": "ice",
"type": "fill",
"source": "openmaptiles",
"source-layer": "landcover",
"filter": [
"all",
[
"in",
"subclass",
"glacier",
"ice_shelf"
]
],
"layout": {
"visibility": "visible"
},
"paint": {
"fill-color": "#a7ffc9",
"fill-opacity": 1
}
},
{
"id": "landuse",
"type": "fill",
"source": "openmaptiles",
"source-layer": "landuse",
"filter": [
"==",
"class",
"agriculture"
],
"layout": {
"visibility": "none"
},
"paint": {
"fill-color": "#eae0d0"
}
},
{
"id": "landuse_overlay_national_park",
"type": "fill",
"source": "openmaptiles",
"source-layer": "landcover",
"filter": [
"==",
"class",
"national_park"
],
"paint": {
"fill-color": "#62CF80",
"fill-opacity": 1
}
},
{
"id": "waterway",
"type": "line",
"source": "openmaptiles",
"source-layer": "waterway",
"filter": [
"==",
"$type",
"LineString"
],
"layout": {
"visibility": "visible"
},
"paint": {
"line-color": "#76FFFF",
"line-width": {
"base": 1.4,
"stops": [
[
8,
1
],
[
10,
2
],
[
13,
4
],
[
16,
12
],
[
19,
40
]
]
},
"line-opacity": 1
}
},
{
"id": "road_area",
"type": "fill",
"metadata": {},
"source": "openmaptiles",
"source-layer": "transportation",
"filter": [
"all",
[
"==",
"$type",
"Polygon"
]
],
"layout": {
"visibility": "none"
},
"paint": {
"fill-color": "#FEC481",
"fill-antialias": true
}
},
{
"id": "road",
"type": "line",
"source": "openmaptiles",
"source-layer": "transportation",
"layout": {
"line-cap": "round",
"line-join": "miter"
},
"paint": {
"line-color": "#FEC481",
"line-width": {
"stops": [
[
4,
0.25
],
[
10,
1
],
[
13,
2
],
[
16,
10
],
[
19,
30
]
]
},
"line-gap-width": 0
}
},
{
"id": "building-2d",
"type": "fill",
"source": "openmaptiles",
"source-layer": "building",
"filter": [
"all",
[
"!has",
"hide_3d"
]
],
"layout": {
"visibility": "visible"
},
"paint": {
"fill-opacity": {
"stops": [
[
16,
0.6
],
[
21,
0
]
]
},
"fill-color": "#c0e3e9"
}
}
],
"id": "terranquest-flat",
"owner": "Netsyms Technologies"
}
Loading…
Cancel
Save