| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Use queryPointAnnotations to drive annotation view updates
- Get sets of visible and offscreen annotations using the mbgl query
mechanism and updates and enqueues as required
- Query viewport adjusted if tilted (avoid apparent issue with
queryPointAnnotations when the query box is larger than the actual
viewport)
- Add a small debugging display in iOS app to see annotations going in
and out of the reuse queue
This also works around a performance issue that made getting an annotation
context expensive by implementing a map of annotations to tags. It works
around another issue with the underlying mbgl query so that even if it (rarely)
returns an incorrect result, the correct visual effect still occurs and the reuse
queue is added to and drained as expected.
Finally, this refactors MGLMapView viewForAnnotation: to use the maps to
access the requested annotation context and view. This avoids a more
expensive lookup done previously.
Along for the ride: sync up the ios and macos names (and types) for
MGLAnnotationTagContextMap
|
|
|
| |
Also support base URL nullability in order to use default value.
|
|
|
|
|
| |
Doing this work in viewDidAppear meant that it happened every time the
modal debug settings view disappeared (and the map view reappeared).
|
|
|
|
| |
- Select best language based on locale setting and our support.
|
|
|
|
|
|
| |
Add visibleAnnotations API to make it easier for clients of MGLMapView
to query for all visible annotations in the map or all visible annotations
in a subsection of the map.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
writable
Use common initialization logic to create an unique pointer to an mbgl
source object, up front, when a MGL source is created. Keep a raw
pointer to the unique pointer that is pointed at the mbgl source
instance when a MGL source is created or when a MGL source is
obtained by identifier from MGLStyle. Once the transfer of ownership of the
mbgl source takes place, the unique ptr is null. The raw pointer can be used
internally for future work that involves mutating the source.
This also changes the URL, features, and geoJSONData content
properties for MGLGeoJSON source to be writable. If they are set with
valid data after a source has been added to the map then the map will
update to reflect the new data.
|
|
|
|
| |
Added tests of MGLStyleValue written in Swift, along with bridging headers just in case they become needed in the future.
|
|
|
|
|
|
| |
MGLStyleConstantValue and MGLStyleFunction now inherit from MGLStyleValue with a generic argument matching the child class’s own generic argument.
Fixes #6823.
|
|
|
| |
Fixes #6821.
|
|\ |
|
| | |
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| | |
* removed brew cask install android studio instruction
* link to download JDK
* made fixes to instruction
|
| |
| |
| |
| | |
Marker (opposed to the recycled view). (#6809)
|
| |
| |
| |
| | |
explicitly
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
optional. (#6786)
save state for recreating map view
fix review comments
unit test covering default value for fading and setting a new value
fixup setter, fix default value
|
| | |
|
| | |
|
| | |
|
| |
| |
| |
| | |
Now testing 'query-tests/symbol-features-in/pitched-screen'.
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
To obtain precise results, we:
1. Round scale value to obtain same results from symbol shader.
2. Generate a boost geometry polygon to check if it intersects()
against all feature boxes.
3. Check if current scale is within each feature's minimum and maximum
placement scales.
4. De-scale feature boxes when intersecting to account for the
fractional zoom scaling.
|
| | |
|
| |
| |
| |
| |
| |
| | |
Improve findPlacementScale semantics by moving the check if the
placement scale result is bigger than minimum scale out of the function
scope.
|
| |
| |
| |
| |
| | |
Make 'edges' static to avoid every instance of CollisionTile having its
own copy of it.
|
| |
| |
| |
| |
| | |
- Prefer pass-by-value for primitive types.
- Use floating point precision for yStretch to match receiving type.
|
| |
| |
| | |
update certificates sha256 for certificate pinning.
|
| | |
|
| | |
|
| | |
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
* [android] - update bitrise.yml, always use latest deploy step
cleanup bitrise.yml
formatting, separate download step -> if tests fail, build fails
improve shown console messages, correct package for firebase filter
update steps
add slack integration for all workflows
* fixup SKIPCI check
|
| | |
|
| | |
|
| |
| |
| |
| |
| |
| | |
* Made telemetry dialog material
* cleaned up attribution_main_menu
|
| | |
|
| | |
|
| |
| |
| |
| |
| |
| |
| | |
Updates mbgl::Map constructor usage everywhere
Adds NodeThreadPool implementation using AsyncQueue to call
Nan::AsyncQueueWorker from main thread
|
| | |
|
| | |
|
| | |
|
| | |
|
| |
| |
| |
| | |
(#6729)
|
| |
| |
| |
| | |
Studio run configurations integration. (#6748)
|
| | |
|
| |
| |
| |
| |
| |
| | |
* adds map dialog activity to testapp
* added to genertate-test-code script
|
| | |
|