Comments (1)
@kaspesi Hi, If I understand your case correcly, you can use the ViewAnnotationAnchorConfig that you pass into https://docs.mapbox.com/ios/maps/api/11.2.0/documentation/mapboxmaps/mapviewannotation/variableanchors(_:). It has the offsetX and offsetY properties.
Also, take a look at this example https://docs.mapbox.com/ios/maps/examples/view-annotation-with-point-annotation/, this is not SwiftUI, but the options are the same.
I'm closing the issue. Please reopen if you think this is a bug. Also, any screenshots would be helpful.
from mapbox-maps-ios.
Related Issues (20)
- Migration guide missing alternative for dragStart() and dragEnd() HOT 2
- invalid archive returned from 'https://api.mapbox.com/downloads/v2/mapbox-common/releases/ios/packages/24.3.0-beta.1/MapboxCommon.zip' which is required by binary target 'MapboxCommon' HOT 5
- Support for transition for data-driven properties HOT 1
- Crash in mapbox::common::platform::taskScope() -> EXC_BAD_ACCESS 0x0000000000000009 #250
- Stop using custom wrappers for existing iOS features. HOT 1
- How to Load Custom Fonts Locally HOT 1
- Local font Chinese does not take effect
- Jerky Movement of ViewAnnotation HOT 4
- Adding system UIImages to map gives `mismatched image size` HOT 1
- MapboxMap and Snapshotter camera(for:padding:bearing:pitch:) methods don't set padding HOT 3
- Pure SwiftUI Map Snapshot Capabilities HOT 3
- Mapbox Maps SDK crashes with Symbol layer! HOT 1
- Crash when loading glb model files via addStyleModel HOT 5
- App freezes when clicking the attributionButton on iOS 17.4.1 HOT 1
- iOS: camera.zoom calculates smaller zoom for camera(for:) initially HOT 4
- FollowPuckViewportState suffers a visual delay when target zoom level is equal to the current zoom level of the map HOT 1
- SDK Crash : DefaultLocationProvider.swift - Attempted to read an unowned reference but object was already deallocated HOT 2
- MTLTextureDescriptorInternal validateWithDevice: crash HOT 1
- Crash in mapbox::common::CleanupManager::cleanup() HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from mapbox-maps-ios.