We have a GeoJSON that has lines, all lines are drawn OK, except very long ones from Europe to Peru. Please check the video how it is being drawn.
MaplyVectorStyleSimpleLinear subclass is used.
Style is simple:
kMaplySelectable: true,
kMaplyEnable: true
kMaplyDrawPriority: 100001022
kMaplyColor: some color
kMaplyVecWidth: 2
Here is how these lines are added inside the Vector Style class.
if let compObj = super.viewC.addWideVectors([vecObj], desc: styleDesc, mode: .current) {
tileData.addComponentObject(compObj)
newCompObjs.append(compObj)
}
GeoJSON geometry is like this
"geometry": {
"coordinates": [
[
-77.0482,
-12.0386
],
[
18.8348,
45.808
]
],
"type": "LineString"
},
How can it be fixed? Thanks

We have a GeoJSON that has lines, all lines are drawn OK, except very long ones from Europe to Peru. Please check the video how it is being drawn.
MaplyVectorStyleSimpleLinear subclass is used.
Style is simple:
kMaplySelectable: true,
kMaplyEnable: true
kMaplyDrawPriority: 100001022
kMaplyColor: some color
kMaplyVecWidth: 2
Here is how these lines are added inside the Vector Style class.
GeoJSON geometry is like this
How can it be fixed? Thanks