Repository navigation
Approximate Location "Puck" logic updates - #427
Conversation
fabian-guerra
left a comment
There was a problem hiding this comment.
Is it possible to rollback files to Objc? I don't think we need Objc++ files (.mm)
I worked with @julianrex on this. I believe there is a compiler error if we leave it as objc. |
fabian-guerra
left a comment
There was a problem hiding this comment.
There's one minor comment. Otherwise LGTM
| @@ -1,6 +1,7 @@ | |||
| #import "MGLFaux3DUserLocationAnnotationView.h" | |||
|
|
|||
| #import "MGLMapView.h" | |||
There was a problem hiding this comment.
Please remove this import.
There was a problem hiding this comment.
we moved one function to map view private which is why we included it.
There was a problem hiding this comment.
Right. That's why you don't have to import MGLMapView.h when you have MGLMapView_Private.h
There was a problem hiding this comment.
gotcha, I can remove it
As I made the update, I processed what you meant. Good catch
|
I've realized that the issue is due to the fact that in the map's private header we import a c++ header, this requires importing classes to switch to Objc++ even tho no C++ is used. |
|
@neelmistry94 can you please add an entry to the changelog as a follow-up PR? |
|
@captainbarbosa this doesn't require a changelog entry because its fixing an issue in an unreleased feature. |
* updates to approximate puck drawing logic * removing unused header
* changing the default size for approx ring border when zoomed out (#429) * Approximate Location "Puck" logic updates (#427) * updates to approximate puck drawing logic * removing unused header * Allow for transitive dependencies (#431) * Fix content insets when automaticallyAdjustsScrollViewInsets is set to NO (#420) * Fix an issue when automaticallyAdjustContentInset is set to NO * Update tests to account for safe areas on iOS 11 * Update changelog * Update method documentation * Update to gl-native 5.0.0 (#438) * Update to application state management and associated view setup and rendering (#432) Co-authored-by: Neel Mistry <[email protected]> Co-authored-by: Fredrik Karlsson <[email protected]> Co-authored-by: Julian Rex <[email protected]>
Turf update v0.5.0
This alters the logic for how the approximate location puck is draw.
These changes allow the puck to be seen at an appropriate size at all zoom levels by doing the following: