core, android: add support for camera roll (#3011)
|
After Width: | Height: | Size: 368 B |
@@ -0,0 +1,37 @@
|
||||
{
|
||||
"version": 8,
|
||||
"metadata": {
|
||||
"test": {
|
||||
"width": 64,
|
||||
"height": 64
|
||||
}
|
||||
},
|
||||
"bearing": 45,
|
||||
"pitch": 45,
|
||||
"roll": 45,
|
||||
"sources": {
|
||||
"geojson": {
|
||||
"type": "geojson",
|
||||
"data": {
|
||||
"type": "Point",
|
||||
"coordinates": [
|
||||
0,
|
||||
0
|
||||
]
|
||||
}
|
||||
}
|
||||
},
|
||||
"sprite": "local://sprites/sprite",
|
||||
"layers": [
|
||||
{
|
||||
"id": "symbol",
|
||||
"type": "symbol",
|
||||
"source": "geojson",
|
||||
"layout": {
|
||||
"symbol-placement": "point",
|
||||
"icon-rotation-alignment": "map",
|
||||
"icon-image": "oneway"
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
|
After Width: | Height: | Size: 223 B |
@@ -0,0 +1,36 @@
|
||||
{
|
||||
"version": 8,
|
||||
"metadata": {
|
||||
"test": {
|
||||
"width": 64,
|
||||
"height": 64
|
||||
}
|
||||
},
|
||||
"bearing": 45,
|
||||
"roll": 45,
|
||||
"sources": {
|
||||
"geojson": {
|
||||
"type": "geojson",
|
||||
"data": {
|
||||
"type": "Point",
|
||||
"coordinates": [
|
||||
0,
|
||||
0
|
||||
]
|
||||
}
|
||||
}
|
||||
},
|
||||
"sprite": "local://sprites/sprite",
|
||||
"layers": [
|
||||
{
|
||||
"id": "symbol",
|
||||
"type": "symbol",
|
||||
"source": "geojson",
|
||||
"layout": {
|
||||
"symbol-placement": "point",
|
||||
"icon-rotation-alignment": "auto",
|
||||
"icon-image": "oneway"
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
|
After Width: | Height: | Size: 353 B |
@@ -0,0 +1,38 @@
|
||||
{
|
||||
"version": 8,
|
||||
"metadata": {
|
||||
"test": {
|
||||
"width": 64,
|
||||
"height": 64
|
||||
}
|
||||
},
|
||||
"bearing": 45,
|
||||
"pitch": 45,
|
||||
"roll": 45,
|
||||
"sources": {
|
||||
"geojson": {
|
||||
"type": "geojson",
|
||||
"data": {
|
||||
"type": "Point",
|
||||
"coordinates": [
|
||||
0,
|
||||
0
|
||||
]
|
||||
}
|
||||
}
|
||||
},
|
||||
"sprite": "local://sprites/sprite",
|
||||
"layers": [
|
||||
{
|
||||
"id": "symbol",
|
||||
"type": "symbol",
|
||||
"source": "geojson",
|
||||
"layout": {
|
||||
"symbol-placement": "point",
|
||||
"icon-rotation-alignment": "viewport",
|
||||
"icon-pitch-alignment": "map",
|
||||
"icon-image": "oneway"
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
|
After Width: | Height: | Size: 406 B |
@@ -0,0 +1,38 @@
|
||||
{
|
||||
"version": 8,
|
||||
"metadata": {
|
||||
"test": {
|
||||
"width": 64,
|
||||
"height": 64
|
||||
}
|
||||
},
|
||||
"bearing": 45,
|
||||
"pitch": 45,
|
||||
"roll": 45,
|
||||
"sources": {
|
||||
"geojson": {
|
||||
"type": "geojson",
|
||||
"data": {
|
||||
"type": "Point",
|
||||
"coordinates": [
|
||||
0,
|
||||
0
|
||||
]
|
||||
}
|
||||
}
|
||||
},
|
||||
"sprite": "local://sprites/sprite",
|
||||
"layers": [
|
||||
{
|
||||
"id": "symbol",
|
||||
"type": "symbol",
|
||||
"source": "geojson",
|
||||
"layout": {
|
||||
"symbol-placement": "point",
|
||||
"icon-rotation-alignment": "map",
|
||||
"icon-pitch-alignment": "viewport",
|
||||
"icon-image": "oneway"
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
|
After Width: | Height: | Size: 19 KiB |
@@ -0,0 +1,58 @@
|
||||
{
|
||||
"version": 8,
|
||||
"metadata": {
|
||||
"test": {
|
||||
"height": 256,
|
||||
"operations": [
|
||||
[ "setBearing", 90 ],
|
||||
[ "setPitch", 40 ],
|
||||
[ "setRoll", 90 ],
|
||||
[ "wait" ]
|
||||
]
|
||||
}
|
||||
},
|
||||
"center": [
|
||||
13.418056,
|
||||
52.499167
|
||||
],
|
||||
"zoom": 14,
|
||||
"sources": {
|
||||
"maplibre": {
|
||||
"type": "vector",
|
||||
"maxzoom": 14,
|
||||
"tiles": [
|
||||
"local://tiles/{z}-{x}-{y}.mvt"
|
||||
]
|
||||
}
|
||||
},
|
||||
"glyphs": "local://glyphs/{fontstack}/{range}.pbf",
|
||||
"layers": [
|
||||
{
|
||||
"id": "background",
|
||||
"type": "background",
|
||||
"paint": {
|
||||
"background-color": "white"
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": "line-placement-true",
|
||||
"type": "symbol",
|
||||
"source": "maplibre",
|
||||
"source-layer": "road",
|
||||
"layout": {
|
||||
"symbol-placement": "line",
|
||||
"text-allow-overlap": true,
|
||||
"text-ignore-placement": true,
|
||||
"text-field": "{class} {class}",
|
||||
"text-font": [
|
||||
"Open Sans Semibold",
|
||||
"Arial Unicode MS Bold"
|
||||
],
|
||||
"text-keep-upright": true
|
||||
},
|
||||
"paint": {
|
||||
"text-opacity": 1
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
|
After Width: | Height: | Size: 24 KiB |
@@ -0,0 +1,56 @@
|
||||
{
|
||||
"version": 8,
|
||||
"metadata": {
|
||||
"test": {
|
||||
"height": 256,
|
||||
"operations": [
|
||||
[ "setRoll", 180 ],
|
||||
[ "wait" ]
|
||||
]
|
||||
}
|
||||
},
|
||||
"center": [
|
||||
13.418056,
|
||||
52.499167
|
||||
],
|
||||
"zoom": 14,
|
||||
"sources": {
|
||||
"maplibre": {
|
||||
"type": "vector",
|
||||
"maxzoom": 14,
|
||||
"tiles": [
|
||||
"local://tiles/{z}-{x}-{y}.mvt"
|
||||
]
|
||||
}
|
||||
},
|
||||
"glyphs": "local://glyphs/{fontstack}/{range}.pbf",
|
||||
"layers": [
|
||||
{
|
||||
"id": "background",
|
||||
"type": "background",
|
||||
"paint": {
|
||||
"background-color": "white"
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": "line-placement-true",
|
||||
"type": "symbol",
|
||||
"source": "maplibre",
|
||||
"source-layer": "road",
|
||||
"layout": {
|
||||
"symbol-placement": "line",
|
||||
"text-allow-overlap": true,
|
||||
"text-ignore-placement": true,
|
||||
"text-field": "{class} {class}",
|
||||
"text-font": [
|
||||
"Open Sans Semibold",
|
||||
"Arial Unicode MS Bold"
|
||||
],
|
||||
"text-keep-upright": true
|
||||
},
|
||||
"paint": {
|
||||
"text-opacity": 1
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
|
After Width: | Height: | Size: 94 KiB |
@@ -0,0 +1,65 @@
|
||||
{
|
||||
"version": 8,
|
||||
"metadata": {
|
||||
"test": {
|
||||
"collisionDebug": true,
|
||||
"height": 512
|
||||
}
|
||||
},
|
||||
"center": [
|
||||
13.418056,
|
||||
52.499167
|
||||
],
|
||||
"zoom": 16,
|
||||
"pitch": 30,
|
||||
"roll": 180,
|
||||
"sources": {
|
||||
"maplibre": {
|
||||
"type": "vector",
|
||||
"maxzoom": 14,
|
||||
"tiles": [
|
||||
"local://tiles/{z}-{x}-{y}.mvt"
|
||||
]
|
||||
}
|
||||
},
|
||||
"glyphs": "local://glyphs/{fontstack}/{range}.pbf",
|
||||
"layers": [
|
||||
{
|
||||
"id": "background",
|
||||
"type": "background",
|
||||
"paint": {
|
||||
"background-color": "white"
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": "road",
|
||||
"type": "line",
|
||||
"source": "maplibre",
|
||||
"source-layer": "road",
|
||||
"paint": {
|
||||
"line-color": "#888",
|
||||
"line-width": 1
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": "text",
|
||||
"type": "symbol",
|
||||
"source": "maplibre",
|
||||
"source-layer": "road_label",
|
||||
"layout": {
|
||||
"symbol-placement": "line",
|
||||
"symbol-spacing": 60,
|
||||
"text-rotation-alignment": "map",
|
||||
"text-pitch-alignment": "auto",
|
||||
"text-field": "{class}",
|
||||
"text-font": [
|
||||
"Open Sans Semibold",
|
||||
"Arial Unicode MS Bold"
|
||||
]
|
||||
},
|
||||
"paint": {
|
||||
"text-opacity": 1
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
|
After Width: | Height: | Size: 973 B |
@@ -0,0 +1,47 @@
|
||||
{
|
||||
"version": 8,
|
||||
"metadata": {
|
||||
"test": {
|
||||
"width": 128,
|
||||
"height": 128
|
||||
}
|
||||
},
|
||||
"roll": 45,
|
||||
"sources": {
|
||||
"geojson": {
|
||||
"type": "geojson",
|
||||
"data": {
|
||||
"type": "LineString",
|
||||
"coordinates": [
|
||||
[
|
||||
-40,
|
||||
0
|
||||
],
|
||||
[
|
||||
40,
|
||||
0
|
||||
]
|
||||
]
|
||||
}
|
||||
}
|
||||
},
|
||||
"glyphs": "local://glyphs/{fontstack}/{range}.pbf",
|
||||
"layers": [
|
||||
{
|
||||
"id": "symbol",
|
||||
"type": "symbol",
|
||||
"source": "geojson",
|
||||
"layout": {
|
||||
"symbol-placement": "line",
|
||||
"symbol-spacing": 20,
|
||||
"text-allow-overlap": true,
|
||||
"text-rotation-alignment": "auto",
|
||||
"text-field": "-->",
|
||||
"text-font": [
|
||||
"Open Sans Semibold",
|
||||
"Arial Unicode MS Bold"
|
||||
]
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
|
After Width: | Height: | Size: 377 B |
@@ -0,0 +1,39 @@
|
||||
{
|
||||
"version": 8,
|
||||
"metadata": {
|
||||
"test": {
|
||||
"width": 128,
|
||||
"height": 128
|
||||
}
|
||||
},
|
||||
"roll": 45,
|
||||
"sources": {
|
||||
"geojson": {
|
||||
"type": "geojson",
|
||||
"data": {
|
||||
"type": "Point",
|
||||
"coordinates": [
|
||||
0,
|
||||
0
|
||||
]
|
||||
}
|
||||
}
|
||||
},
|
||||
"glyphs": "local://glyphs/{fontstack}/{range}.pbf",
|
||||
"layers": [
|
||||
{
|
||||
"id": "symbol",
|
||||
"type": "symbol",
|
||||
"source": "geojson",
|
||||
"layout": {
|
||||
"symbol-placement": "point",
|
||||
"text-rotation-alignment": "auto",
|
||||
"text-field": "-->",
|
||||
"text-font": [
|
||||
"Open Sans Semibold",
|
||||
"Arial Unicode MS Bold"
|
||||
]
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
|
After Width: | Height: | Size: 973 B |
@@ -0,0 +1,47 @@
|
||||
{
|
||||
"version": 8,
|
||||
"metadata": {
|
||||
"test": {
|
||||
"width": 128,
|
||||
"height": 128
|
||||
}
|
||||
},
|
||||
"roll": 45,
|
||||
"sources": {
|
||||
"geojson": {
|
||||
"type": "geojson",
|
||||
"data": {
|
||||
"type": "LineString",
|
||||
"coordinates": [
|
||||
[
|
||||
-40,
|
||||
0
|
||||
],
|
||||
[
|
||||
40,
|
||||
0
|
||||
]
|
||||
]
|
||||
}
|
||||
}
|
||||
},
|
||||
"glyphs": "local://glyphs/{fontstack}/{range}.pbf",
|
||||
"layers": [
|
||||
{
|
||||
"id": "symbol",
|
||||
"type": "symbol",
|
||||
"source": "geojson",
|
||||
"layout": {
|
||||
"symbol-placement": "line",
|
||||
"symbol-spacing": 20,
|
||||
"text-allow-overlap": true,
|
||||
"text-rotation-alignment": "map",
|
||||
"text-field": "-->",
|
||||
"text-font": [
|
||||
"Open Sans Semibold",
|
||||
"Arial Unicode MS Bold"
|
||||
]
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
|
After Width: | Height: | Size: 401 B |
@@ -0,0 +1,39 @@
|
||||
{
|
||||
"version": 8,
|
||||
"metadata": {
|
||||
"test": {
|
||||
"width": 128,
|
||||
"height": 128
|
||||
}
|
||||
},
|
||||
"roll": 45,
|
||||
"sources": {
|
||||
"geojson": {
|
||||
"type": "geojson",
|
||||
"data": {
|
||||
"type": "Point",
|
||||
"coordinates": [
|
||||
0,
|
||||
0
|
||||
]
|
||||
}
|
||||
}
|
||||
},
|
||||
"glyphs": "local://glyphs/{fontstack}/{range}.pbf",
|
||||
"layers": [
|
||||
{
|
||||
"id": "symbol",
|
||||
"type": "symbol",
|
||||
"source": "geojson",
|
||||
"layout": {
|
||||
"symbol-placement": "point",
|
||||
"text-rotation-alignment": "map",
|
||||
"text-field": "-->",
|
||||
"text-font": [
|
||||
"Open Sans Semibold",
|
||||
"Arial Unicode MS Bold"
|
||||
]
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
|
After Width: | Height: | Size: 874 B |
@@ -0,0 +1,47 @@
|
||||
{
|
||||
"version": 8,
|
||||
"metadata": {
|
||||
"test": {
|
||||
"width": 128,
|
||||
"height": 128
|
||||
}
|
||||
},
|
||||
"roll": 45,
|
||||
"sources": {
|
||||
"geojson": {
|
||||
"type": "geojson",
|
||||
"data": {
|
||||
"type": "LineString",
|
||||
"coordinates": [
|
||||
[
|
||||
-40,
|
||||
0
|
||||
],
|
||||
[
|
||||
40,
|
||||
0
|
||||
]
|
||||
]
|
||||
}
|
||||
}
|
||||
},
|
||||
"glyphs": "local://glyphs/{fontstack}/{range}.pbf",
|
||||
"layers": [
|
||||
{
|
||||
"id": "symbol",
|
||||
"type": "symbol",
|
||||
"source": "geojson",
|
||||
"layout": {
|
||||
"symbol-placement": "line",
|
||||
"symbol-spacing": 20,
|
||||
"text-allow-overlap": true,
|
||||
"text-rotation-alignment": "viewport",
|
||||
"text-field": "-->",
|
||||
"text-font": [
|
||||
"Open Sans Semibold",
|
||||
"Arial Unicode MS Bold"
|
||||
]
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
|
After Width: | Height: | Size: 377 B |
@@ -0,0 +1,39 @@
|
||||
{
|
||||
"version": 8,
|
||||
"metadata": {
|
||||
"test": {
|
||||
"width": 128,
|
||||
"height": 128
|
||||
}
|
||||
},
|
||||
"roll": 45,
|
||||
"sources": {
|
||||
"geojson": {
|
||||
"type": "geojson",
|
||||
"data": {
|
||||
"type": "Point",
|
||||
"coordinates": [
|
||||
0,
|
||||
0
|
||||
]
|
||||
}
|
||||
}
|
||||
},
|
||||
"glyphs": "local://glyphs/{fontstack}/{range}.pbf",
|
||||
"layers": [
|
||||
{
|
||||
"id": "symbol",
|
||||
"type": "symbol",
|
||||
"source": "geojson",
|
||||
"layout": {
|
||||
"symbol-placement": "point",
|
||||
"text-rotation-alignment": "viewport",
|
||||
"text-field": "-->",
|
||||
"text-font": [
|
||||
"Open Sans Semibold",
|
||||
"Arial Unicode MS Bold"
|
||||
]
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||