You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After update to newer version of Mapbox, I had few things to refactor. Those were mostly changes in constructors of layers (example FillLayer, I had to add source ID). This is the list before and after:
Now, I have one really weird problem when I want to update MultiPolygon on the map. I'm using the same method as in older version and have two different outcomes (my brother still has the old version so we can test in paralel). I'm trying to make a "hole" in the layer and the logic that was working is this:
With the same code I get the different results. Check the screenshots. The only difference in code is that I removed .style since it is deprecated now and removed do-catch. Ignore coordinates and sourceType parameters of the method for now since I don't use those in this hard-coded example.
Expected behavior
I am expecting to see the "hole" in the pattern like before in older version of Mapbox.
The text was updated successfully, but these errors were encountered:
Hi @almindurmis,
Thanks for the report. Could I ask you to make a sample project to reproduce the issue? That would significantly boost us to get into the issue resolution.
nflahavan
pushed a commit
to RayaTheApp/mapbox-maps-ios
that referenced
this issue
Dec 27, 2024
Environment
Observed behavior and steps to reproduce
After update to newer version of Mapbox, I had few things to refactor. Those were mostly changes in constructors of layers (example FillLayer, I had to add source ID). This is the list before and after:
BEFORE:
MapboxCommon (23.7.0)
MapboxCoreMaps (10.15.0):
MapboxCommon (~> 23.7)
MapboxMaps (10.15.0):
MapboxCommon (= 23.7.0)
MapboxCoreMaps (= 10.15.0)
MapboxMobileEvents (= 1.0.10)
AFTER:
MapboxCommon (24.8.0)
MapboxCoreMaps (11.8.0):
MapboxCommon (~> 24.8)
MapboxMaps (11.8.0):
MapboxCommon (= 24.8.0)
MapboxCoreMaps (= 11.8.0)
MapboxMobileEvents removed
Now, I have one really weird problem when I want to update
MultiPolygon
on the map. I'm using the same method as in older version and have two different outcomes (my brother still has the old version so we can test in paralel). I'm trying to make a "hole" in the layer and the logic that was working is this:With the same code I get the different results. Check the screenshots. The only difference in code is that I removed
.style
since it is deprecated now and removeddo-catch
. Ignorecoordinates
andsourceType
parameters of the method for now since I don't use those in this hard-coded example.Expected behavior
I am expecting to see the "hole" in the pattern like before in older version of Mapbox.
The text was updated successfully, but these errors were encountered: