| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The isClose threshold is switched from 0.000001 pixels to 1 pixel.
As a backup, it checks whether r0 and r1 are finite. It might be
possible to have just the threshold check or just the finiteness check,
but I don't see the harm in having both.
std::abs(w0 - w1) < 0.000001 is removed because it doesn't look like
it's needed. All calculations should run fine even if w0 === w1.
Finally, the point interpolation is tweaked so that at the end of the
flying (when k === 1) it ends up at the exact end point. I didn't see
any bugs related to this, but it seems like a good thing to have
explicitly.
|
| |
|
|
|
|
|
|
| |
* [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.
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
| |
* [android] - move calculation of LatLngBounds to core
* [core] Ignore shortest path in Map::pixelForLatLng
* [android] - convert camera position values coming from core (#8794)
|
|
|
|
| |
Cherry-picked from 3172a9744f2e296d9e8a68558e11c884c9c30aca.
|
| |
|
| |
|
|
|
|
| |
MGLAnnotationTagNotFound (#8686)
|
| |
|
|
|
|
| |
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.
|
| |
|
|
|
|
|
|
|
|
|
| |
* [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.
|
|
|
|
|
|
| |
* [ios] assertion to check if an annotationTag > 0
* [ios,macos] assertion and guard added to check annotations in visibleAnnotationsInRect
|
| |
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
|
|
|
| |
* [android] - update CHANGELOG.md for v5.0.2 release
* [android] - bump version name to 5.0.2
* [android] - fixup javadoc errors
* bump SNAPSHOT version
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
|
|
|
| |
* [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)
|
|
|
|
|
|
|
|
|
|
| |
* Revert "[android] - only dispatch events if not handled by MarkerView (#8447)"
This reverts commit 09d76854ab15b2a6f473c270da9d46e903e426da.
* 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 1693b389d7d17315b8a2a9bdd862207ace053f77.
|
|
|
|
|
|
|
|
| |
`- (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?`.
|
|
|
|
|
|
| |
* [core] check null data in query source features
* Include what you use
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
| |
Addresses #8385
Updates shaders to reflect https://github.com/mapbox/mapbox-gl-js/pull/4476
|
| |
|
|
|
|
| |
Clarifies linear and exponential interpolation, adds stops to each example for clarity, and other minor tweaks.
|
| |
|
|
|
|
| |
(#8475)
|
|
|
| |
Decouple the version checker updating from the deploy process.
|
|
|
|
| |
Reverts https://github.com/mapbox/mapbox-gl-native/pull/8462
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* [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
|
| |
|
|
|
|
| |
- Added DDS guide
- Updated "For Style Authors" guide
|