summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* ios-v3.3.1ios-v3.3.1Minh Nguyễn2016-07-192-2/+2
|
* [ios, macos] Updated changelogsMinh Nguyễn2016-07-192-0/+4
| | | | | | Updated changelogs for #5723, #5554. Cherry-picked from a53dfcd675049943443def6b65cc8b654faa7a90.
* [core] use more const, auto and refsKonstantin Käfer2016-07-191-37/+32
| | | | Cherry-picked from 40ea4247d81eccc1d48af56fe1da95438bbdefcc.
* [core] add check for missing sprite URL file extensionKonstantin Käfer2016-07-192-0/+14
| | | | Cherry-picked from 559f3a654b976d41d0f3db3fa958ebcda3e97b1c.
* mapbox: URL containing query string causes infinite loop (#5554)jingsam2016-07-192-22/+54
| | | | | | | | | | | | * correct all EXPECT_EQ(actual, expected) to EXPECT_EQ(expected, actual) * fix getMapboxURLPathname() of URL with querystring * add test for normalizeSourceURL of non-mapbox protocal * Update mapbox.cpp Cherry-picked from e82ecc60acfeb95ec4804ecb0964a2d695416ea1.
* [ios, macos] Updated changelogMinh Nguyễn2016-07-192-0/+2
|
* [core] Set annotation tileset max zoom to 18Bruno de Oliveira Abinader2016-07-191-1/+3
|
* [ios, macos] Offline storage size APIMinh Nguyễn2016-07-185-0/+28
| | | | | | | | Added a property to MGLOfflineStorage that indicates the disk space occupied by all cached and offline resources. Fixes #5580. Cherry-picked from 1bc4f0e0273d6be24de56512fd52a147ea74f9e1.
* [ios] Updated changelog for v3.3.1Minh Nguyễn2016-07-181-1/+4
| | | | Added entries for #5693, #5677, and #5671.
* [core] Restored shape annotation z-orderMinh Nguyễn2016-07-185-2/+24
| | | | | | | | Shapes are once again always added to the top z-index. Fixes #5691. Cherry-picked from 74fe96d2617f870206ff358d7dfcafccf4e109bc.
* [ios] fixes #3697 compass, logo and attribution now respects insets (#5671)Fredrik Karlsson2016-07-181-49/+22
| | | | | | | | * [ios] fixes #3697 compass, logo and attribution now respects mapview's content inset * [ios] fixed a bug which added duplicated constraints instead of updating * [ios] layout guides are already taken into account in contentInset
* [ios] Reenabled long tap to drop pinsMinh Nguyễn2016-07-152-3/+1
| | | | Long pressing drops pins again. The minimum press duration has been extended to a second to avoid preempting the built-in gesture for draggable annotations.
* [core] Guard against camera's `minScale` being NaNJason Wray2016-07-151-6/+9
| | | | Fixes a bug where calculating the padded bounds for a single point would cause division by zero, resulting in NaN for `minScale`. This invalid `minScale` would then be used to create an invalid padded `centerPixel`.
* [ios] Pass `animated` property when deselecting annotation views (#5677)Jason Wray2016-07-141-1/+1
|
* Merge branch 'release-ios-v3.3.0-final' into release-ios-v3.3.0Minh Nguyễn2016-07-142-2/+2
|\
| * ios-v3.3.0ios-v3.3.0Minh Nguyễn2016-07-142-2/+2
| |
* | [ios] fixes #4536 include podspec for static framework (#5653)Fredrik Karlsson2016-07-142-9/+28
|/ | | | | | | | * [ios] fixes #4536 include podspec for static framework * [ios] removed excessive frameworks, libraries and flags from the static podspec * [ios] cleaned up the podspec
* ios-v3.3.0-rc.2ios-v3.3.0-rc.2Minh Nguyễn2016-07-122-2/+2
|
* [ios, macos] Reorganize jazzy’s navigation categories; cleanup docs (#5660)Jason Wray2016-07-126-32/+12
| | | | | | | | | | | | An attempt to better surface relevant information. Includes slight cleanups of inline documentation. - Demotes MGLMapDebugMaskOptions to "Other Enums”. - Demotes MGLMapViewDecelerationRate* and MGLStyleDefaultVersion to "Other Constants”. - Demotes MGLOfflinePack's less significant global types. - Demotes MGLAnnotationVerticalAlignment and documents its usage caveat. - Demotes MGLAnnotationViewDragState and removes extra asterisk. - Adds note to `MGLUserTrackingMode` about usage with `MGLMapView.userTrackingMode`. - MGLAccountManager is currently only used for access tokens. - Adds missing closing bracket.
* [ios] Ensure mapView is set when positioning (#5647)Minh Nguyễn2016-07-121-1/+1
| | | Ensure the mapView property is set when positioning the annotation view, in case the map view needs to be consulted about its rotation or pitch.
* [ios] Pass along `animated` property when selecting annotation views (#5646)Jason Wray2016-07-111-2/+2
|
* [ios] Corrected changelog linkMinh Nguyễn2016-07-071-1/+1
| | | | Link to the PR for consistency.
* Update podspecs for 3.3.0-rc.1ios-v3.3.0-rc.1Jesse Bounds2016-07-072-2/+2
|
* [ios] Move cache.db to a subdirectory (#5601)Jason Wray2016-07-073-50/+85
| | | | | | | | | | | We cannot guarantee that the offline/ambient tile cache (cache.db) will be created in a timely manner, so it's safer to set the backup exclusion key on its containing directory. But, because we placed cache.db in the base of the app's Application Support directory (where backups are expected to be allowed), we need to move cache.db into a directory that we control and can exclude from backups with impunity. This is an amalgam of https://github.com/mapbox/mapbox-gl-native/pull/5578 (directory exclusion) and https://github.com/mapbox/mapbox-gl-native/pull/5585 (refactored URL methods, but without the new database size method). Also: * Prefix mapbox subdirectory with dot, for extra safety * Update changelog entry with new ticket, less speculation
* [core] Re-close polygons after clipping with clipper (#5596)Jesse Bounds2016-07-061-0/+8
| | | | | This pulls in the implementation change in https://github.com/mapbox/ mapbox-gl-native/commit/903d609b40b6d0f4873f7bb46d96f4a06d7b17d6 from the master branch for the iOS 3.3.0 release.
* [ios] omit podspec for static lib (#5595)Fredrik Karlsson2016-07-061-1/+0
|
* [ios] Add support for full Bitcode builds (#5586)Jesse Bounds2016-07-064-5/+18
| | | | | | | | | | | | | | | | | | | In https://github.com/mapbox/mapbox-gl-native/commit/ f791eb32b9ebe96845e87e5a6acd3ee46182c1d5 we simplified the package script and intended to remove support for building the SDK without Bitcode support. The intention was to use the ENABLE_BITCODE project setting to do this and remove the control of that variable in the script. However, since we use `xcodebuild build` this only uses bitcode `marker` by default and causes a failure when an app that uses the Mapbox SDK is archived. This adds the `BITCODE_GENERATION_MODE` and `bitcode` value to the necessary iOS SDK and mbgl and platform targets. If the SDK is compiled with these flags set, it will be successfully processed in the bitcode phase in an app archive operation. This also removes the `BITCODE` flag from the Makefile since the intention is to not support building the SDK without bitcode support and the presence of that option might be confusing.
* [ios] fixes #4536 include podspec in iOS releases (#5569)Fredrik Karlsson2016-07-061-0/+14
|
* [ios] fixes #5544 support canceling a drag operation and not by default (#5561)Fredrik Karlsson2016-07-054-34/+12
|
* [ios] #3979 compress telemetry events (#5490)Fredrik Karlsson2016-07-058-16/+138
| | | | | | | | | | | | | | | | * [ios] #3979 wip gzip telemetry events * [ios] expose compression from core instead of adding a new dependency * [ios] #3979 Exposed decompress from mbgl and added a test case * [ios] #3979 cleanup * [ios] #3979 cleaned up test case * [ios] #3979 cleanup * [ios] #3979 gzip -> deflate
* ios-v3.3.0-beta.3ios-v3.3.0-beta.3Minh Nguyễn2016-07-032-2/+2
|
* [ios] Split release notes into sections by topicMinh Nguyễn2016-07-032-23/+43
|
* [ios] Simplified MBXAnnotationViewMinh Nguyễn2016-07-023-25/+8
| | | | Eliminated the center view in favor of applying a background color and border to the annotation view’s layer.
* [ios] Made annotation view position animatableMinh Nguyễn2016-07-023-4/+29
| | | | | | | | | | We don’t normally want an annotation view to animate its position, because that makes the view appear to lag behind the map. But when the annotation view moves due to the underlying annotation model object moving, the developer may want exactly that effect. This change continues to disable the default implicit bounds (and now position) animation. It also groups the view updates in -updateAnnotationViews in a transaction that disables animation actions, to improve perceived performance with a large number of annotations. However, when the annotation model object changes, we move the annotation view outside of that transaction to allow the developer to opt into animation. If the developer moreover wants the annotation view to animate even due to the viewport changing, they can override -setCenter: to use a UIView animation block. Fixes #5230.
* [ios] Fixed KVO for annotation view centerMinh Nguyễn2016-07-023-26/+32
| | | | Always reposition the annotation view using the standard -setCenter: setter, fixing KVO compliance for the center key path and making the view behave more like a normal view. -setCenter: updates the transform by side effect, and it always starts from the identity transform to avoid surprises. To apply a custom transform on an annotation view, make sure to apply it in -mapView:didFinishLoadingFrame:fullyRendered: based on the existing transform.
* [ios] Avoid resetting pitch along with center offsetMinh Nguyễn2016-07-022-2/+2
| | | | Fixed a bug causing an annotation view to be scaled based on a pitch of 0° when setting the view’s center offset.
* [ios] Fixed auto-shrinking annotation viewsMinh Nguyễn2016-07-021-1/+1
| | | | Fixes #5547.
* [ios] Removed MGLAnnotationView.flatMinh Nguyễn2016-07-024-32/+1
| | | | Removed MGLAnnotationView’s option to lie flat against a tilted map to work around #5090.
* [ios] Removed custom getterMinh Nguyễn2016-07-021-1/+1
| | | | isScaledWithViewingDistance is unnecessary.
* [ios, macos] Rewrote MGLMapViewDelegate, MGLAnnotationView docsMinh Nguyễn2016-07-024-175/+515
| | | | | | | | Reorganized MGLMapViewDelegate and MGLAnnotationView symbols into sections by task. Wrapped documentation comments at column 80 for readability. Added documentation for -mapViewWillStartRenderingFrame: and -mapViewDidFinishRenderingFrame:fullyRendered:, which are supported and behave as expected (except for the part that has been left undocumented). Synchronized iOS and macOS documentation for MGLMapViewDelegate. Added cross-references between annotation image and annotation view delegate methods and among the various callout delegate methods. Added missing MGLAnnotationViewDragState documentation and also added the symbol to jazzy’s table of contents. Rewrote MGLAnnotationView documentation.
* [ios, macos] Update changelogs for new Jazzy themeJason Wray2016-07-012-0/+2
|
* [ios] Update and bundle docs screenshotJason Wray2016-07-014-1/+3
| | | | | - Don't use an absolute URL for the screenshot image, include the file instead. - Add Sketch document for screenshot.
* [ios] Place MGLCoordinateInCoordinateBounds in jazzy's Geometry sectionJason Wray2016-07-011-0/+1
| | | | Added in https://github.com/mapbox/mapbox-gl-native/pull/5053 but wasn't categorized for jazzy.
* [ios, macos] Add Mapbox Jazzy themeJason Wray2016-07-0122-1/+978
| | | | | | | | | | | - Based on Jazzy's "full width" theme. - Add ellipsis to overlong items in navigation menu. - Set minimum width for navigation menu. - Use Open Sans font face. - Inline GitHub header icon as SVG. - Center images by default. - Add GitHub SVG icon to 'show on github' link. - Wrap overlong method names on class pages.
* Adjustable map deceleration rate (#5504)Minh Nguyễn2016-06-294-13/+41
| | | | | | | | | | | | * [ios] Adds the ability to customize map deceleration speed * [ios] Made pinch, rotation deceleration adjustable too Drift zooming and drift rotation also respect the deceleration rate. A side effect of this change is that drift zooming will come to a stop ever-so-slightly sooner now. * [ios] Documented deceleration rates Added documentation for deceleration rate constants. Also updated the changelog.
* [ios, macos] Use common instead of default mode for run loop source (#5503)Jesse Bounds2016-06-291-1/+1
| | | | | | The map events instigated by certain actions (i.e. updates from a UIScrollView) are not processed by the run loop with `kCFRunLoopDefaultMode`until the thread is idle. This changes the mode to `kCFRunLoopCommonModes` to avoid this issue.
* [ios] Always use symbol name for annotation update (#5509)Jesse Bounds2016-06-291-9/+5
| | | | | | | | | This removes the guard that used to be in place from the time when UIView backed annotations did not have invisible image placeholders. Since images are now present for both sprite and UIView backed annotations, the guard is no longer necessary and removing it allows for the correct symbol name to be passed to the map object and this gets rid of `[INFO] {Worker}[Sprite]: Can't find sprite named 'default_marker'` log message.
* [ios] Fix conflict between view dragging gesture and quick zoom (#5506)Jason Wray2016-06-291-1/+1
| | | This stops the quick zoom gesture (double-tap and hold) from also triggering a drag, when performed on a draggable annotation view.
* [ios] prevent a race condition by not fulfilling the expectation until the ↵Fredrik Karlsson2016-06-291-2/+5
| | | | view has been added (#5507)
* [ios] Always set map view reference when annotation view is created. (#5496)Jesse Bounds2016-06-284-7/+42
| | | | | | | | | | | | | | | | | | | | This fixes two issues with annotation views that were exposed when dragging them: 1) The annotation view's mapView property was not set until it was moved (in `updateAnnotations:`) so it did not always call its delegate back about the map view delegate dragging methods. This adds a call to set the property when an annotation view is created so the delegate methods are always called. 2) Since the mapView is now always set, a call to the map view's callout view for selected annotation was added to the annotation view drag handler. This forces the callout to close and eliminates an issue where the callout would remain visible as an annotation was dragged away which had the visual effect of a detached callout. To make 2 possible, the map views selected callout view was exposed in the private header.