summaryrefslogtreecommitdiff
path: root/src/mbgl/annotation
Commit message (Collapse)AuthorAgeFilesLines
* [build] Update to geometry v1.0.0Bruno de Oliveira Abinader2018-11-133-4/+4
|
* [build] Remove #pragma diagnostic for boostThiago Marcos P. Santos2018-11-011-17/+0
| | | | | Boost is now included as a system header and the compiler should ignore it when issuing warnings.
* Remove style::Layer::is()/as()Mikhail Pozdnyakov2018-10-312-2/+4
|
* [core] Fix querying for annotations near tile boundaries at high zoom.Chris Loer2018-08-141-1/+7
| | | | | | | | Fixes issue #12472. This commit doesn't address the underlying issues that come from symbolAnnotationTree using a slightly lower precision coordinate system than the annotations themselves. Instead, it just puts a small padding around each tile when it queries for tile data, so that symbols right at the tile boundary will be included in both tiles. The rendering/querying code will take care of only displaying one instance. The padding is in global coordinates, so at higher zoom the padding will be larger in tile units -- this is consistent with precision loss also being greater at higher zoom.
* [core] Convert token strings to expressionsJohn Firebaugh2018-07-201-1/+3
|
* [core] fix circle querying for scale and alignmentChris Loer2018-04-262-3/+5
| | | | | | | This fixes circle querying for cases where either circle-pitch-alignment=map or circle-pitch-scaling=viewport
* Port global symbol query from GL JS:Chris Loer2018-04-252-5/+3
| | | | | | | - Symbol querying is now global instead of per-tile - Symbols that bleed over tile boundaries no longer missed in queries - Symbol results now sorted based on rendering order (ie overlapping symbols change their sort order when a bearing change causes their render order to change) - Placement::retainedQueryData now responsible for maintaining symbol querying data for buckets that may no longer be in the TilePyramid.
* [core] Rename "onLowMemory" to "reduceMemoryUse".Chris Loer2018-02-142-3/+3
| | | | | Android still calls "reduceMemoryUse" only while handling a low memory event. iOS, on the other hand, calls "reduceMemoryUse" every time it enters the background.
* Support TileJSON bounds property (#10701)Asheem Mamoowala2018-01-051-0/+1
| | | | | | | | * [core] Parse TileJSON bounds property * [core] Add TileRange and LatLngBounds::contains(CanonicalTileID) Move LatLngBounds::contains impl to cpp file * [core] Skip tile creation outside of tileset bounds * [core] Fix TileRange for wrapped bounds and use for CustomTileLoader instead of LatLngBounds comparisons for tiles.
* [core] don't tie Annotation geometries to Map maxzoomKonstantin Käfer2018-01-028-34/+34
| | | | Instead, geometry generation via GeoJSONVT is now bound to the hardcoded limit of the annotation tile source.
* [core] Update queryRenderedFeatures to use global CollisionIndex.Chris Loer2017-11-172-3/+5
|
* Merge branch 'release-agua' into tvn-merge-releaseTobrun2017-11-103-1/+4
|\
| * [core] limit annotation tile source to z16Konstantin Käfer2017-10-191-1/+3
| |
| * [ios, macos] Add selection support to MGLMultiPoint annotations. (#9984)Fabian Guerra Soto2017-10-183-1/+4
| | | | | | | | | | | | * [ios, macos] Add selection support to MGLMultiPoint annotations. * [ios, macos] Update changelogs.
| * [core] make forcing cache/network only more explicitKonstantin Käfer2017-10-122-5/+0
| | | | | | | | | | | | Previously, we used the existence of a `prior*` field in the Resource object as an indication for whether we should consult the cache or not. However, this is prone to error, since a failed cache lookup won't set any prior fields. Therefore, we manually set `priorExpires` to 0. This in turn triggered another bug where generated wrong expiration timestamps when the server response we got was expired (or expired between sending and receiving). This commit changes the flags so that we can now explicitly request CacheOnly/NetworkOnly (or All) loading methods, rather than the implicit Optional/Required naming scheme.
* | [core] limit annotation tile source to z16upstream/android-v5.1.4Konstantin Käfer2017-10-191-1/+3
| |
* | [core] Move SourceType to the 'style' namespaceAnand Thakker2017-10-161-1/+1
| |
* | [core] make forcing cache/network only more explicitKonstantin Käfer2017-10-122-5/+0
|/ | | | | | Previously, we used the existence of a `prior*` field in the Resource object as an indication for whether we should consult the cache or not. However, this is prone to error, since a failed cache lookup won't set any prior fields. Therefore, we manually set `priorExpires` to 0. This in turn triggered another bug where generated wrong expiration timestamps when the server response we got was expired (or expired between sending and receiving). This commit changes the flags so that we can now explicitly request CacheOnly/NetworkOnly (or All) loading methods, rather than the implicit Optional/Required naming scheme.
* [core] annotation manager - manage dirty state internallyIvo van Dongen2017-08-312-23/+26
|
* [core] Avoid RenderStyle dependency in query codeJohn Firebaugh2017-08-242-3/+3
|
* Set Default MaxZoom to 22Asheem Mamoowala2017-08-211-1/+1
|
* [core] Fix issues with the std:: namespace and old compilersThiago Marcos P. Santos2017-07-261-0/+1
| | | | Specifically when building Android with GCC 4.9 (which Qt still does :-/)
* [core] Fix build; struct ⇢ classJohn Firebaugh2017-07-191-1/+1
|
* [core] Refactor Painter awayJohn Firebaugh2017-07-192-8/+8
|
* [core] No need for default ctor in {Update,Tile}ParametersBruno de Oliveira Abinader2017-07-191-1/+1
|
* [core] renderer interfaceIvo van Dongen2017-07-181-1/+0
|
* [core] mutate style on annotation mutations immediatelyIvo van Dongen2017-07-182-56/+51
|
* [core] GCC 4.9 bracket initialization issuesBruno de Oliveira Abinader2017-07-122-2/+2
|
* [build] Don't use maybe-uninitialized and misleading-indentation in Clang, ↵Konstantin Käfer2017-07-111-0/+2
| | | | since they're not implemented there
* [core] refactor ClipID generationKonstantin Käfer2017-07-062-2/+2
|
* [core] remove tile cache size setterIvo van Dongen2017-06-272-5/+0
|
* [all] Promote Style to public APIJohn Firebaugh2017-06-227-19/+14
|
* [core] always return owning pointers for GeometryTileData::getLayer()Konstantin Käfer2017-06-214-27/+46
|
* [core] shared data among AnnotationTileFeature objectsKonstantin Käfer2017-06-215-30/+82
|
* Disable misleading indentation warnings where boost is included.Aaron Muir Hamilton2017-06-161-0/+1
|
* [core] Parallelism in {start,finish}Render parametersJohn Firebaugh2017-06-132-7/+5
|
* [core] mutex guard annotation manager for cross thread usageIvo van Dongen2017-06-132-10/+32
|
* [core] Fix several bugs in AnnotationManagerJohn Firebaugh2017-06-051-6/+12
|
* [core] Split RenderStyle from StyleJohn Firebaugh2017-06-052-2/+2
|
* [core] Refactor RenderSource updatesJohn Firebaugh2017-06-053-37/+25
| | | | | | | * Eliminate updateBatch in favor of diffing layers and detecting changes to properties upon which layout depends. * Replace RenderSource::{update,remove,invalidate,reload}Tiles with a single update method * Replace TilePyramid::{update,remove,invalidate,reload}Tiles with a single update method * Remove Style& dependency TODO from GeometryTile and TileParameters
* [core] Thread Style parameter through queryRenderedFeaturesJohn Firebaugh2017-06-052-3/+5
|
* [core] Add templated RTTI for RenderSource classesAsheem Mamoowala2017-06-011-0/+5
|
* [core] Don't use a separate SpriteAtlas for annotation imagesJohn Firebaugh2017-05-263-24/+35
| | | | Instead, just add them to the Style as needed. Includes changes from #8905 and takes care to avoid regressing #3817.
* [core] Auto-growable SpriteAtlas using shelf-packJohn Firebaugh2017-05-262-3/+2
|
* [core, node, darwin, android, qt] Make image ID part of ImageJohn Firebaugh2017-05-162-4/+4
| | | | More like Source and Layer.
* [core] Immutable<Impl> for ImageJohn Firebaugh2017-05-151-3/+4
|
* [core] Split style image collection from SpriteAtlasIvo van Dongen2017-05-122-4/+12
|
* [core] Replace createRender{Source,Layer} with Render{Source,Layer}::createJohn Firebaugh2017-05-122-6/+0
| | | | | * Eliminates the need for EnableImmutableFromThis * Eliminates the dependency of {Source,Layer}::Impl on corresponding Render class (circular dependency)
* [core] Immutable ImplsJohn Firebaugh2017-05-124-9/+25
|
* [tidy] modernize-use-usingBruno de Oliveira Abinader2017-05-121-8/+38
|