We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Mapbox
11.4.0
0.74.5
iOS
@rnmapbox/maps
10.1.33
import React from 'react'; import { MapView, ShapeSource, LineLayer, Camera, } from '@rnmapbox/maps'; const aLine = { type: 'LineString', coordinates: [ [-74.00597, 40.71427], [-74.00697, 40.71527], ], }; class BugReportExample extends React.Component { render() { return ( <MapView style={{flex: 1}}> <Camera centerCoordinate={[-74.00597, 40.71427]} zoomLevel={14} /> <ShapeSource id="idStreetLayer" shape={aLine}> <LineLayer id="idStreetLayer" /> </ShapeSource> </MapView> ); } }
❌ (ios/Pods/MapboxMaps/Sources/MapboxMaps/Annotations/ViewAnnotationManager.swift:84:19) 82 | @available(*, deprecated, renamed: "allAnnotations", message: "Please use allAnnotations instead, or directly access ViewAnnotation itself") 83 | public var annotations: [UIView: ViewAnnotationOptions] { > 84 | idsByView.compactMapValues { [mapboxMap] id in | ^ cannot convert return expression of type '[UIView : ViewAnnotationOptions]' to return type 'Dictionary<String, Optional<JSONValue>>.RawValue' 85 | try? mapboxMap.options(forViewAnnotationWithId: id) 86 | } 87 | }
Not to throw error due to ViewAnnotationManager.swift:84:19
No response
This issue mentioned in #3640 but tagged as addressed and closed but still continues.
The text was updated successfully, but these errors were encountered:
Facing same issue
Sorry, something went wrong.
same here
This was fixed for me by changing the mapbox maps version to 11.8 from 11.4
Same issue here. React Native 0.73.6, everything else the same as in the issue.
same problem
Successfully merging a pull request may close this issue.
Mapbox Implementation
Mapbox
Mapbox Version
11.4.0
React Native Version
0.74.5
Platform
iOS
@rnmapbox/maps
version10.1.33
Standalone component to reproduce
Observed behavior and steps to reproduce
Expected behavior
Not to throw error due to ViewAnnotationManager.swift:84:19
Notes / preliminary analysis
No response
Additional links and references
This issue mentioned in #3640 but tagged as addressed and closed but still continues.
The text was updated successfully, but these errors were encountered: