Skip to content

Commit

Permalink
update render test (internal-2188)
Browse files Browse the repository at this point in the history
  • Loading branch information
zmiao authored and underoot committed Feb 13, 2025
1 parent 6f8fafc commit 19ceb05
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 13 deletions.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,28 @@
"height": 300,
"width": 200,
"operations": [
[
"addImage",
"marker",
"./image/marker.png",
{
"pixelRatio": 1.0
}
],
[
"addLayer",
{
"id": "symbol",
"type": "symbol",
"source": "geojson",
"layout": {
"icon-image": "marker",
"symbol-placement": "line",
"symbol-spacing": 12.0
}
}
],
["wait"],
["setProjection", "globe"],
["wait"],
["setZoom", 3.2],
Expand Down Expand Up @@ -39,26 +61,13 @@
}
}
},
"sprite": "local://sprites/emerald",
"layers": [
{
"id": "background",
"type": "background",
"paint": {
"background-color": "gray"
}
},
{
"id": "symbol",
"type": "symbol",
"source": "geojson",
"layout": {
"icon-image": "interstate_3",
"icon-allow-overlap": true,
"symbol-placement": "line",
"symbol-spacing": 12.0,
"icon-size": 0.6
}
}
]
}

0 comments on commit 19ceb05

Please sign in to comment.