Commit Graph

10238 Commits

Author SHA1 Message Date
Jesse Bounds
db7bb509e9 [ios] Update podspecs and changelog for iOS v3.5.4 2017-05-09 15:37:10 -07:00
Jesse Bounds
c6c7c2cd74 [ios] Use map view frame to calculate annotation view reuse adjustments (#8926)
* [ios] Use map view frame to calculate annotation view reuse adjustments

The value for determining the visible viewport buffer and also the distance to move offscreen an annotation view outside of that buffer was based on the annotation view width and height. This changes that to use the map viewport width and height as constants and avoids a class of bugs where the annotation view would become detached from the tracking system when it did not have a size or was animating from a small to large size.
2017-05-09 13:09:19 -07:00
Jordan Kiley
25c19902a2 [ios] Updated podspecs and changelog for v3.5.3 (#8870) 2017-05-02 16:28:00 -07:00
Jordan Kiley
a70f8911c6 [ios] cherry-picked 8837 (#8869) 2017-05-02 16:20:34 -07:00
Jordan Kiley
a3e4e67ea6 [ios, macos] Updated maximumZoomLevel description, cherry-picked #8818 (#8842) 2017-05-01 15:42:54 -07:00
Konstantin Käfer
ed2ccda0e9 [core] Move Sprite parsing to thread pool 2017-04-26 11:46:40 +02:00
Tobrun
03f26cb508 Cherry pick latlngbounds to release branch (#8788)
* [android] - move calculation of LatLngBounds to core

* [core] Ignore shortest path in Map::pixelForLatLng

* [android] - convert camera position values coming from core (#8794)
2017-04-21 23:07:08 +02:00
Minh Nguyễn
4d0605a004 [qt] Renamed qt5 formula to qt
Cherry-picked from 3172a9744f.
2017-04-08 19:58:01 -07:00
Minh Nguyễn
b16d6bfcf6 macos-v0.4.1 2017-04-08 11:46:58 -07:00
Jason Wray
acfa49dd9f [ios] Update podspecs and changelog for v3.5.2 2017-04-07 19:23:04 -04:00
Jesse Bounds
03d10bb67a [ios, macos] Guard against looking up annotation contexts MGLAnnotationTagNotFound (#8686) 2017-04-07 15:23:39 -07:00
Jason Wray
371919555f [ios] Update podspecs and changelog for v3.5.1 2017-04-05 20:37:06 -04:00
Minh Nguyễn
d39ea23b09 [ios, macos] Hardened std::map usage in MGLMapVIew
Replaced std::map::operator[] usage with std::map::at(). Backed up an assertion on iOS with a guard when -annotationTagsInRect: returns the tag of a nonexistent annotation, for consistency with macOS. Removed an unnecessary and risky subscript into _annotationContextsByAnnotationTag in -positioningRectForCalloutForAnnotationWithTag: on iOS.
2017-04-05 14:56:06 -07:00
Jordan Kiley
5bfbe9603b [ios] replaced link to select a feature example (#8651) 2017-04-05 13:09:07 -07:00
Jesse Bounds
5d4d5dcf1b [ios, macos] Rename Data-driven styling guide (#8627)
* [ios, macos] Rename Data-driven styling guide

This turns the Data-driven styling guide into a guide for working with
style functions. This helps clarify that not all style functions are
DDS specific but keeps the discussion of this related functionality in
the same guide.
2017-04-05 12:05:29 -07:00
Fabian Guerra Soto
ec34813c90 [ios] assertion to check if an annotationTag > 0 (#8588)
* [ios] assertion to check if an annotationTag > 0

* [ios,macos] assertion and guard added to check annotations in  visibleAnnotationsInRect
2017-04-05 14:16:58 -04:00
Minh Nguyễn
8539d7092e [ios, macos] Preserve symlinks when zipping framework 2017-04-05 01:25:37 -07:00
Jesse Bounds
ff73371216 [ios] Silence incompatible type warning for callout view (#8608)
This silences a compatibility warning that was introduced in a previous
refactor that changed the return type of the callout view for
annotation delegate method. This also adds checks to ensure that the
callout view provided by the delegate to the map view is of the correct
type and conforms to the correct protocol.
2017-04-04 15:25:59 -07:00
Tobrun
e34b471842 Release android v5.0.2 (#8629)
* [android] - update CHANGELOG.md for v5.0.2 release

* [android] - bump version name to 5.0.2

* [android] - fixup javadoc errors

* bump SNAPSHOT version
2017-04-04 21:14:32 +02:00
Minh Nguyễn
6718d2cc51 [macos] Removed MGLUserTrackingMode from jazzy ToC 2017-04-03 15:36:07 -07:00
Minh Nguyễn
fc382f7108 [macos] Fixed broken images in DDS guide 2017-04-03 15:36:07 -07:00
Konstantin Käfer
f86333961e [core] cache binary shaders on Android 2017-04-03 11:01:43 -07:00
John Firebaugh
c1cd6759b4 [core] Extract and de-templatize several Program static methods 2017-04-03 11:01:43 -07:00
Minh Nguyễn
8af81ec88c macos-v0.4.0 2017-04-02 00:40:35 -07:00
Minh Nguyễn
b10bbecf34 [ios, macos] Updated changelogs 2017-04-02 00:40:07 -07:00
Jason Wray
228bff7602 [ios] Replaced UIActionSheet, UIAlertView with UIAlertController 2017-04-01 19:58:09 -07:00
Minh Nguyễn
aa3db60300 [ios, macos] Copyedited data-driven styling guides
Cursorily copy-edited the data-driven styling guide, removing a stray class reference, replacing a redundant h1, and making stops examples platform-agnostic and less redundant.

Fixed an issue in the style authors guide where style function tables appeared under each style layer type table.
2017-04-01 19:28:41 -07:00
Tobrun
8e538b4d06 Cherry pick v5.0.2 changes (#8586)
* [android] execute resource transform callback on the right thread

* [android] allow resetting of resource transform callback

* update CHANGELOG for v5.0.2

* [android] - correct anchoring when Icon is updated (#8519)
2017-03-31 13:48:47 +02:00
Tobrun
a46d91f7c5 Revert 5.x touch changes (#8585)
* Revert "[android] - only dispatch events if not handled by MarkerView (#8447)"

This reverts commit 09d76854ab.

* Revert "[android] - move touch handling of MarkerViews back to View#setOnClickListener. Workaround panning issue by dispatching touch events to the parent ViewGroup. (#8272)"

This reverts commit 1693b389d7.
2017-03-30 17:30:47 +02:00
Jesse Bounds
dcb14f98ee [ios] Modify return type so callout bridges with protocol in Swift
`- (nullable UIView <MGLCalloutView> *)mapView:(MGLMapView *)mapView
calloutViewForAnnotation:(id <MGLAnnotation>)annotation;` bridges
with a `UIView?` return type in Swift. This changes replaces the
`UIView` type in the method signature so that, when bridged to Swift,
the returned object is defined as `MGLCalloutView?`.
2017-03-29 16:58:07 -07:00
John Firebaugh
1edbb0f24b [core] check null data in query source features (#8553)
* [core] check null data in query source features

* Include what you use
2017-03-28 16:02:48 -07:00
Fabian Guerra Soto
c5c69102c5 [ios] nil check in visibleAnnotationsInRect to avoid crash (#8513) 2017-03-28 16:06:16 -04:00
John Firebaugh
8c34a5081c [linux, node] Build with clang 3.9 2017-03-28 10:13:35 -07:00
Dane Springmeyer
cfb26c0a79 [test] Fix polygon construction to compile with clang 3.9.x 2017-03-28 10:13:35 -07:00
John Firebaugh
348cffa119 [core] Avoid -Wundefined-var-template warnings with clang 3.9+ 2017-03-28 10:13:35 -07:00
Antonio Zugaldia
f169577aab [android] revert version name to snapshot 2017-03-24 09:49:00 -04:00
Antonio Zugaldia
81650240c4 [android] update CHANGELOG.md with 5.0.1 information 2017-03-24 09:49:00 -04:00
Antonio Zugaldia
3a6d748bc4 [android] [auto] Update properties to version 5.0.1 in preparation for build. 2017-03-24 09:49:00 -04:00
Anand Thakker
60717822e6 Use highp for color attributes (#8496)
Addresses #8385

Updates shaders to reflect https://github.com/mapbox/mapbox-gl-js/pull/4476
2017-03-22 14:32:22 -04:00
Fabian Guerra Soto
1ccaa1dc71 [ios] podspec update to 3.5.0 (#8487) 2017-03-21 12:54:29 -04:00
Eric Wolfe
e0fe42d832 [ios][macos] Update DDS guide
Clarifies linear and exponential interpolation, adds stops to each example for clarity, and other minor tweaks.
2017-03-20 22:34:15 -07:00
Eric Wolfe
af475f0175 [ios] Add next steps to Runtime Styling guide (#7855) 2017-03-20 22:34:15 -07:00
Eric Wolfe
f91072a6b0 [ios][macos] Document that transitions using setStyleURL are not supported (#8475) 2017-03-20 17:00:53 -07:00
Jason Wray
751fa3b8a2 [ios, build] Change version checker URL to ios-sdk site (#8468)
Decouple the version checker updating from the deploy process.
2017-03-19 01:29:25 -04:00
Jesse Bounds
7a5d313188 [ios] Bump podspec version for v3.5.0-rc.2
Reverts https://github.com/mapbox/mapbox-gl-native/pull/8462
2017-03-18 21:29:05 -07:00
Jesse Bounds
73ed8aa7be [ios] Guard against over calling pause or resume 2017-03-18 19:09:45 -07:00
Tobrun
e4981d5bd0 Bump Android SNAPSHOT version (#8453)
* [android] [auto] Update properties to version 5.0.0 in preparation for build.

* [android] - bump snapshot version

* [android] remove typo in gradle-javadoc.gradle

* [android] revert to 5.0.0-SNAPSHOT

* [android] revert to 5.0.0

* [android] [auto] Update properties to version 5.0.0 in preparation for build.

* next release is now 5.1.0-SNAPSHOT
2017-03-18 11:52:18 +01:00
Fabian Guerra Soto
7c0822887b [ios] updated pod spec to release version (#8462) 2017-03-17 20:33:54 -04:00
Jordan Kiley
789a49d46d [ios, macos] update iOS SDK guides (#8354)
- Added DDS guide
- Updated "For Style Authors" guide
2017-03-17 19:13:24 -04:00
Tobrun
41dec13573 [android] - update CHANGELOG.md for 5.0.0 release (#8449) 2017-03-17 17:55:48 +01:00