Skip to content

Commit

Permalink
Correct query test
Browse files Browse the repository at this point in the history
  • Loading branch information
ryanhamley committed Aug 3, 2018
1 parent 5beedad commit 1f19d34
Show file tree
Hide file tree
Showing 2 changed files with 76 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
[
{
"geometry": {
"type": "LineString",
"coordinates": [
[
0,
0
],
[
50.009765625,
0
]
]
},
"type": "Feature",
"properties": {},
"id": 1,
"source": "mapbox",
"state": {}
}
]
Original file line number Diff line number Diff line change
@@ -0,0 +1,54 @@
{
"version": 8,
"metadata": {
"test": {
"width": 64,
"height": 64,
"queryGeometry": [
45,
16
]
}
},
"sources": {
"mapbox": {
"type": "geojson",
"data": {
"type": "FeatureCollection",
"features": [
{
"id": 1,
"type": "Feature",
"geometry": {
"type": "LineString",
"coordinates": [
[ 0, 0],
[ 50, 0]
]
}
}
]
}
}
},
"layers": [
{
"id": "line",
"type": "line",
"source": "mapbox",
"paint": {
"line-width": 5
}
},
{
"id": "line2",
"type": "line",
"source": "mapbox",
"paint": {
"line-color": "white",
"line-width": 50,
"line-opacity": 0.3
}
}
]
}

0 comments on commit 1f19d34

Please sign in to comment.