Hi community,
I am trying to draw very simple lines on Map component and it seems not working for me. I tried with so many options.
This is my config:
GeoJSON:
{
type: 'FeatureCollection',
features: [
{
type: 'Feature',
geometry: {
type: 'LineString',
coordinates: [
[
[-122.4194, 37.7949],
[-122.4794, 37.7749],
[-122.4194, 37.7049]
],
],
},
},
],
}
GeoJSON Layer Style:
{
"type": "line",
"paint": {
"line-width": 2,
"line-color": "green"
}
}
Problem seems to be on layer style configuration. In webapp, map appers with no line. In iOS app i get this:
Am I missing something?
Thanks!