| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
mapping from the bitmask to enum
|
| |
|
| |
|
|
|
|
| |
method is implemented.
|
|
|
|
| |
reasons to be specified (e.g. concurrent pan/rotate)
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
| |
- MGLCameraChangeReason constants
- New camera change delegate methods with reason parameters.
- mapView:didSingleTapAtCoordinate: delegate method
|
| |
|
|
|
|
| |
Cherry-picked from c3bf7c55a1f648e57c3853d555ff5f63c989f8c4.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Add Radius Configuration
* Remove default config
- removes default configuration
- moves config setup to events init method
- renames config class
* Delete MGLConfig header file
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* [ios] Fix the layout constraints on iOS 11 for iPhone X for the bottom ornaments.
* WIP adding tests for layout of map view attribution logo and other ornaments
* Rename
* First pass at tests for mapview ornament layout
* Additional code changes from call with Fabian and Jason
* [ios] Fix ornaments insets margin space.
* [ios] Fix map view layout test for pre iOS 11.
* [ios] Refactor MGLMapView ornaments layout constraints for iOS 11.
* [ios] Remove NSLogs from MGLMapViewLayoutTests
|
| |
|
|
|
|
|
|
|
|
|
|
| |
This attempts to work around reports of repeated calls to [CLLocationManager authorizationStatus] blocking the main thread by dispatching it to the background, serial queue that is already available in MGLMapboxEvents.
This also adds a guard to the handler for the user defaults change event so that the call to pause or resume if required is done only if a user defaults value changes that would require an update to the pause / resume state.
The guard works by utilizing two new state variables that keep track of the previous values for account type and metrics enabled configuration variables. The call to pause/resume is only done if the latest relevant values in the user defaults dictionary are actually different than the previous ones.
The default values for the new state variables assume an account value of 0 and metrics enabled == true so there can be a small inefficiency if a user prevously opted out of telemetry, kills the app, and restarts it. In that case, the pause/resume method would get invoked one time when it would not technically need to. This should not be an issue in practice though.
|
|
|
|
|
|
|
|
| |
Also updates the font to use for rendering CJK ideographs in our sample
apps to `PingFang TC`, as simply specifying `PingFang` was always
triggering iOS's font fallback behavior.
[Fixes #10675]
|
|
|
|
| |
Original GL JS name was meant to represent "font family to use for locally generating ideographs", but "ideographic font family" communicates a similar intent more concisely.
|
| |
|
|
|
|
| |
Add local font family to default iosapp configuration.
|
| |
|
|
|
|
|
|
| |
Instructions for enabling client-side rendering of CJK glyphs live in
this header, and this class provides the rest of the values needed for
instantiating the renderer on iOS and macOS.
|
|
|
|
|
| |
Adding a MGLIdeographicFontFamilyName to the containing app's Info.plist
will result in CJK glyphs being rasterized on demand (#10522)
|
|
|
|
|
| |
- Changing font weight does not currently appear to be working.
- Glyph metric extraction code not working; currently unused.
|
|
|
|
| |
macOS map SDK v0.6.0 has yet to be released.
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
Only builds and packages x86_64 architecture in our frameworks and dSYM. Removes support for 32-bit simulators, such as the iPhone 5 and iPad 2. This does not affect device support — 32-bit devices are still supported via the arm7 architecture.
|
|
|
|
|
|
|
|
| |
* [ios, macos] Updated Bulgarian, Spanish, Vietnamese localizations
* [ios, macos] Added Arabic localization
* [ios, macos] Updated localizations
|
|
|
|
|
|
|
| |
- Platform-specific LocalGlyphRasterizer is responsible for deciding which glyphs to rasterize locally and for implementing the rasterization.
- Default platform implementation doesn't locally generate any glyphs -> no behavior change
- Unit test uses StubLocalGlyphRasterizer, which returns a single fixed bitmap for all CJK glyphs
- Rename glyph_loader.test to glyph_manager.test
|
|
|
|
| |
Localizable strings in Darwin classes need to specify “Foundation” as the table so that NSBundle consults the right .strings files. Reran make genstrings to add some missing strings to the base localizations and undo some manual edits to the base localizations that contained errors.
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
MGLAnnotationImage based annotations.
|
| |
|
|
|
|
|
|
| |
This updates the package script to include a pre-built iOS app in the published assets of the dynamic SDK. It symlinks the Mapbox.framework in that dynamic build to the demo app so the only real increase in size is the demo Xcode project itself.
The addtional step in the publish script checks that the Mapbox.framework that is symlinked in for building in the demo project can actually be built. If it cannot, then the step is skipped and the build will continue as it normally would. Since the demo app is currently not required for publishing it should not block publishing a build.
|
| |
|
| |
|
|
|
|
| |
🤤
|
| |
|