openmobilemaps / maps-core

The lightweight and modern Map SDK for Android and iOS
https://openmobilemaps.io
Mozilla Public License 2.0
162 stars 17 forks source link

Issue in lineCap poyline in iOS #620

Closed liodali closed 1 month ago

liodali commented 7 months ago

when I draw polyine in iOS it looks like this how I can make smooth linked join for polyline lineCap.ROUND not work as expected

Screenshot 2024-04-05 at 22 23 29 Screenshot 2024-04-05 at 22 23 29
liodali commented 7 months ago

@stmitt can you take look at this issue

stmitt commented 7 months ago

Hello @liodali,

What coordinate system are you using? Can you provide me with some sample code on how the line is drawn?

liodali commented 7 months ago

I'm using EPSG4326 to draw line , as I remember in the version 1.5.3 was fine Im using this sdk as ios flutter plugin where I created this swift package : https://github.com/liodali/OSMMapCoreIOSFramework to provide top level raster API for plugin where you can see here : https://github.com/liodali/OSMMapCoreIOSFramework/blob/main/OSMFlutterFramework/models/RoadManager.swift but i will prepare sample for you for Routing API im using OSRM API