| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
| |
Speculatively fixes #511, where apps mistakenly backup the offline/ambient cache.
|
| |
|
| |
|
|
|
|
| |
Added an option to MGLMapDebugMaskOptions for the new wireframe debugging mode and UI in the demo applications for toggling it.
|
|
|
|
| |
Fixes #5096.
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
| |
* [ios] wip flatten annotation view
* [ios] wip flatten annotation view
* [ios] naming conventions
* [ios] removed unused property
|
|
|
|
|
|
|
| |
* [ios] Added centerOffset to MGLAnnotationView
* [ios] Reposition immediately after changing the centerOffset
closes #5059
|
|
|
| |
Bounds should always be in NE, SW order — any other coordinate order (e.g., NW, SE) will give false results.
|
| |
|
|
|
|
|
| |
- Validate that test server URL actually has a reasonable value.
- Refactor `baseURL` and `testServerURL` to use NSURL.
|
| |
|
|
|
|
|
|
| |
This change eliminates the call to the problematic
`annotationTagsInRect:` by using the annotation views themselves
and the map view to check if a view is visible or not.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Add an UIView subclass that can be used as the base class for all
client provided UIViews for annotations.
Teach MGLMapView to be able to display annotation views over the map if provided by the client delegate. For now, if the delegate provides a UIView then it will be used. If not, the map view will fall back to the old strategy of using GL annotations with an image provided by the delegate or a default image if not.
The map keeps a reuse queue and will store annotation views that are panned
offscreen in the queue if the application developer supplied a reuse queue identifer. The views in the queue are reused when more annotation
views are required. This view reuse provides a performance gain when many
annotations are shown and most of them are offscreen.
iosapp now implements the new delegate method to supply
a native view.
Add a playground to the workspace to facilitate experimentation
with new features. A playground is capable of importing frameworks if it
exists in the same workspace that builds the imported framework. The
initial playground demonstrates annotation views.
This also fixes a crash due to nullptr in annotations array If the `annotations` method is called while the user dot's callout view was showing, the userdot annotation is represented as null in the annotation context map. This
caused a crash when the null pointer was attempted to be converted
into an NSArray via C array. This protects against this bug by filtering out such a null annotation.
|
| |
|
|
|
|
|
|
| |
Satisfies embedding platforms that requires the viewport coordinate
systems to be set according to its standards e.g. viewport mirrored
vertically.
|
|
|
| |
fix logic error that could cause user location to animate extremely slowly if there is a significant time passing between location updates
|
|\ |
|
| | |
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| | |
Renamed MGLStyleCurrentVersion to MGLStyleDefaultVersion to emphasize the constant’s role as an indicator of the default version used by SDK classes, which may be behind depending on release schedules. In the documentation for each style URL method, include the actual version number instead of the constant. In unit tests, verify that this documentation is in sync with the constant.
Link each style URL method’s documentation to a forthcoming webpage on mapbox.com that describes the style in rich detail.
Cherry-picked from 2ec95bc490c5793b7b8a3aa9999f48d196ca8085.
|
| |
| |
| |
| |
| |
| | |
The style ID has also changed, but the unversioned method will continue to point to the old v8 style ID.
Cherry-picked from 5ccb43477fc1d2028aef283d0db64848ebc9a347.
|
| |
| |
| |
| | |
Cherry-picked from 4a112c00f1634be40d10aa4797ac8e9262b8711a.
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Updated default styles from v8 to v9. Deprecated the MGLMapView class methods in favor of new methods that take a version parameter. Deprecated Emerald outright in favor of Outdoors. Replaced usage of the unversioned MGLStyle methods with the corresponding versioned methods and MGLStyleCurrentVersion to ensure consistency.
Expanded MGLStyle unit tests to also assert that MGLStyle has the right number of style URL methods and that they’re all public. Linked the OS X SDK unit test bundle to libmbgl-core.a. Removed an unnecessary dependency on osxapp.
Replaced Emerald with Outdoors in iosapp and osxapp.
Fixes the iOS and OS X side of #4577 and #4702.
Cherry-picked from 2a4eeadb295775236fe1a89b50f9179b790b127a.
|
| |
| |
| |
| | |
Update podspec files for version 3.2.1
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
A large part of the iOS SDK deploy process is creating the various
binary flavors, uploading them to s3, and then testing that those
uploads worked by downloading them from s3 before uploading and
attaching them to the github release.
This script automates that build, upload, download, upload and
attach process and can be run after `mbx auth`.
Cherry-picked from 89db01fef0abe258e152eeb2013358c74f8bfeec.
|
| |
| |
| |
| |
| |
| |
| |
| | |
Replaced Markdown syntax with HTML syntax for hyperlinks in documentation comments. HTML links work both inside Xcode (whether Objective-C or Swift) and on the Web (via jazzy).
Fixes #3961.
Cherry-picked from de0705c7ede7fea5980ed220a1160085630bd89e.
|
| |
| |
| |
| |
| |
| | |
Fixes #4668. Thanks to @JThramer for reporting.
Cherry-picked from eda132d922df160a413bac9238e98d96c8748667.
|
| |
| |
| |
| | |
Fixed an issue that made the osxapp context menu only apply to the right-clicked pin after first selecting the pin. This also happened to be a latent bug in the iOS implementation.
|
| | |
|
| | |
|
| |
| |
| |
| |
| |
| | |
Renamed MGLStyleCurrentVersion to MGLStyleDefaultVersion to emphasize the constant’s role as an indicator of the default version used by SDK classes, which may be behind depending on release schedules. In the documentation for each style URL method, include the actual version number instead of the constant. In unit tests, verify that this documentation is in sync with the constant.
Link each style URL method’s documentation to a forthcoming webpage on mapbox.com that describes the style in rich detail.
|
| |
| |
| |
| | |
The style ID has also changed, but the unversioned method will continue to point to the old v8 style ID.
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Updated default styles from v8 to v9. Deprecated the MGLMapView class methods in favor of new methods that take a version parameter. Deprecated Emerald outright in favor of Outdoors. Replaced usage of the unversioned MGLStyle methods with the corresponding versioned methods and MGLStyleCurrentVersion to ensure consistency.
Expanded MGLStyle unit tests to also assert that MGLStyle has the right number of style URL methods and that they’re all public. Linked the OS X SDK unit test bundle to libmbgl-core.a. Removed an unnecessary dependency on osxapp.
Replaced Emerald with Outdoors in iosapp and osxapp.
Fixes the iOS and OS X side of #4577 and #4702.
|
| |
| |
| |
| |
| |
| | |
The tile cache size is only recomputed when an input changes.
Fixes #4026.
|
| | |
|
| | |
|
| | |
|
| | |
|
| |
| |
| |
| |
| |
| | |
Corrected the English override strings for the map view’s accessibility value. Prior to this change, the accessibility value would say “0 annotation” instead of “0 annotations” for some reason.
The zoom level in the map view’s accessibility value is off by two.
|
| |
| |
| |
| | |
Link to the libKIF.a in the shared build products directory instead of at a nonexistent, hard-coded path. Fixed a compilation error in the KIF tests caused by importing a project-internal header even after the KIF project was moved out of the test project. Updated accessibility labels.
|
| | |
|
| | |
|
| |
| |
| | |
Boost headers are no longer needed in project files after #4916
|
| | |
|
| |
| |
| |
| | |
This removes the only boost dependency from public headers.
|
| |
| |
| |
| | |
- Redefine as local variables
- Check/assert that these local variables are not nil
|