Skip to content

Instantly share code, notes, and snippets.

@vicapow
Created October 24, 2017 22:37
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save vicapow/ddab6493316253195ce779a153fb1e02 to your computer and use it in GitHub Desktop.
Save vicapow/ddab6493316253195ce779a153fb1e02 to your computer and use it in GitHub Desktop.
Example GeoJSON that demonstrates the flicker/jagged issue in DeckGL
Display the source blob
Display the rendered blob
Raw
{
"type": "FeatureCollection",
"features": [
{
"type": "Feature",
"properties": {},
"geometry": {
"type": "LineString",
"coordinates": [
[
-80.00274181365965,
40.438741015827674
],
[
-80.00286519527435,
40.438794092961196
]
]
}
},
{
"type": "Feature",
"properties": {},
"geometry": {
"type": "LineString",
"coordinates": [
[
-80.00286251306532,
40.438794092961196
],
[
-80.00299394130707,
40.438839004349134
]
]
}
},
{
"type": "Feature",
"properties": {},
"geometry": {
"type": "LineString",
"coordinates": [
[
-80.0029993057251,
40.438839004349134
],
[
-80.00315755605698,
40.43889208140531
],
[
-80.00327557325363,
40.43894107557379
],
[
-80.00344187021255,
40.43899823539187
],
[
-80.00358402729034,
40.43905131232234
],
[
-80.00364840030669,
40.439081933609295
]
]
}
},
{
"type": "Feature",
"properties": {},
"geometry": {
"type": "LineString",
"coordinates": [
[
-80.00364840030669,
40.439083975027934
],
[
-80.00370740890503,
40.43899619397066
],
[
-80.00376105308533,
40.438894122829694
],
[
-80.00379592180252,
40.43882063151226
]
]
}
},
{
"type": "Feature",
"properties": {},
"geometry": {
"type": "LineString",
"coordinates": [
[
-80.00364571809769,
40.439081933609295
],
[
-80.00358402729034,
40.43916359030634
],
[
-80.00353574752808,
40.439251371145055
],
[
-80.00350624322891,
40.439300365051736
]
]
}
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment