summaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* [core] Added MetersBoundsBruno de Oliveira Abinader2015-11-111-4/+4
|
* [core] Added more NaN checks in TransformBruno de Oliveira Abinader2015-11-111-2/+15
|
* [core] Use PrecisionPoint in zoom and angle functionsBruno de Oliveira Abinader2015-11-113-47/+42
|
* [core] Use pass-by-ref in CameraOptionsBruno de Oliveira Abinader2015-11-113-31/+32
| | | | | | | | Pass-by-const-ref is not always possible because CameraOptions gets its members modified along the way. Also fixes a case in Map::jumpTo where Update::Zoom should be called if zoom is affected.
* [core] Use PrecisionPoint in coordinate functionsBruno de Oliveira Abinader2015-11-115-38/+41
|
* [core] Added PrecisionPoint to represent pixel pointsBruno de Oliveira Abinader2015-11-116-15/+14
|
* [core] Added isValid to geo helper structsBruno de Oliveira Abinader2015-11-111-2/+6
|
* [core] Eliminate use of ClassProperties for paintJohn Firebaugh2015-11-1041-958/+543
|
* [core] Eliminate use of ClassProperties for layoutJohn Firebaugh2015-11-1031-261/+239
|
* [core] Push layouts and paints to subclassesJohn Firebaugh2015-11-1021-102/+249
|
* [core] Expose default fade duration to Map APIBruno de Oliveira Abinader2015-11-101-0/+9
|
* Revert "[core] only update the render order array when there are changes to ↵Konstantin Käfer2015-11-094-37/+22
| | | | | | tiles" This reverts commit ec1a58d8effb3292ec46cca3fcad17218fa8c016 and 177372b83657cda9696ff68fd5cbb872b87ce324.
* [core] Update::Classes already implies repaintBruno de Oliveira Abinader2015-11-091-3/+1
|
* [core] Update after final frame of transitionMinh Nguyễn2015-11-062-2/+5
| | | | | | | | The final frame is self-destructing – it destroys the frame and finish functions – so technically we’re no longer inTransition(). Yet there still needs to be an update after that final frame. Also, avoid a redundant change notification on the last frame. (It would come too late, after the DidChange notification, anyhow.) Fixes #2946.
* [core] Remove the ability to change cross-fade durations via transitionJohn Firebaugh2015-11-067-40/+13
| | | | | | | | | | We shouldn't overload transition duration to mean the duration of the cross-fade when moving between stops. If we want to allow styles to override the default 300ms fade duration, it should be a dedicated property like raster-fade-duration. I don't think any styles use this functionality -- if they did, they were broken for MapMode::Still rendering.
* [core] Use frame animation time, not Clock::now(), for fadingJohn Firebaugh2015-11-061-1/+1
|
* [core] Merge PiecewiseConstantFunction into FunctionJohn Firebaugh2015-11-0612-180/+135
|
* [core] Simplify FunctionJohn Firebaugh2015-11-068-89/+66
|
* [core] Reset GL values when neededBruno de Oliveira Abinader2015-11-067-2/+29
|
* [core] Use GL_TRUE/GL_FALSE instead of true/falseBruno de Oliveira Abinader2015-11-068-24/+31
|
* [core] clear the render order when we're loading a new styleKonstantin Käfer2015-11-061-0/+6
| | | | regression introduced by #2908
* [core] Use tileSize constantThiago Marcos P. Santos2015-11-061-1/+2
| | | | Instead of hardcoding the tile size again.
* [core] Replace GL config save/restore with setDirty mechanismBruno de Oliveira Abinader2015-11-062-50/+25
|
* [core] fix logging so we don't use strings as a formatterKonstantin Käfer2015-11-061-1/+1
|
* [core] Added missing virtual destructor to HTTPContextBaseThiago Marcos P. Santos2015-11-051-0/+1
|
* [core] only update the render order array when there are changes to tilesKonstantin Käfer2015-11-054-22/+31
|
* [core] Move remaining GL state from Painter into GLConfig objectKonstantin Käfer2015-11-0411-56/+81
|
* [core] mason geojsonvt-2.1.6.3Mike Morris2015-11-023-3/+5
| | | | | | | | | | | | | - [osx] set -fvisibility-inlines-hidden in gyp/common.gypi to silence mismatched visibility linker warnings - [linux] set cxx_host in GYP_FLAGS to set -fabi-version=0 on gcc builds to use clang-built mason binaries - [ios] update symbol visibility for iOS tests - [ios] link libgeojsonvt.a in iOS tests xcodeproj - add libgeojsonvt.a to General -> Linked Frameworks and Libraries - add mason_packages (recursive) to Build Settings -> Library Search Path - [ios] add libuv and geojsonvt first in iOS libtool smush to ensure symbols are found by later compilation units where they are undefined
* [node] patch Painter::renderSDF to ignore animation and fade duration in ↵Mike Morris2015-11-021-5/+12
| | | | MapMode::Still
* [core] Make DefaultFileSource react to all NetworkStatus changesKonstantin Käfer2015-11-022-1/+30
|
* [core] move retry logic to DefaultFileSourceKonstantin Käfer2015-11-0213-230/+299
|
* [core] Don't crash when removing a shape annotation whose layer was never ↵John Firebaugh2015-10-301-1/+3
| | | | created
* [core][iOS] Source iOS styles from default_stylesMinh Nguyễn2015-10-301-0/+16
| | | | | | | | | | Moved mbgl::util::default_styles to a more appropriate location, where iOS platform code can also find it. Moved -[MGLMapView bundledStyleURLs] (which is now deprecated) and the style switcher in iosapp to default_styles. Added a collection of convenience methods for getting style URLs. It makes little sense to layer an enum atop this, as MapKit does, because MGLMapView styles aren’t limited to this set. A good analogy is UIColor. This also makes for a good entry point for future runtime styling APIs. Introduced independent constants for each default style, because it’s more common to need access to a particular style than to iterate over them. This fact is apparent in the MGLStyle class, which now uses macros and assertions to ensure that it’s kept up-to-date with changes in default_styles. /ref #1462
* [core] Polymorphic bucket creationJohn Firebaugh2015-10-3019-162/+247
|
* [core] Eliminate StyleBucketJohn Firebaugh2015-10-3019-235/+174
|
* [core] Use current copy of style layers when reparsing tilesJohn Firebaugh2015-10-306-17/+26
| | | | | | This fixes adding shape annotations after VectorTileData objects have been created for annotations already, and will also be necessary for the dynamic Style API.
* [core] Monitor annotation tiles, rather than completely invalidating themJohn Firebaugh2015-10-307-16/+46
| | | | Fixes #1688
* [core] When reparsing a tile, replace all existing bucketsJohn Firebaugh2015-10-303-5/+4
| | | | | A tile may go from having particular layers, to not having them. (Annotation tiles in particular.)
* [core] Separate type for RasterTileParseResultJohn Firebaugh2015-10-303-18/+14
|
* [core] Polymorphic layout and paint parsingJohn Firebaugh2015-10-2920-812/+801
|
* [core] Merge LiveTileData into VectorTileDataJohn Firebaugh2015-10-2912-343/+224
| | | | | | | | | | To encapsulate the differences, this introduces an abstract GeometryTileMonitor class, with concrete VectorTileMonitor and AnnotationTileMonitor implementations, and makes pbf parsing for VectorTile data happen lazily in getLayer, since we want that to happen on the worker thread, rather than when VectorTile is created. Fixes #2792
* [core] Set names to threads on LinuxThiago Marcos P. Santos2015-10-291-1/+3
| | | | Makes debugging/profiling easier.
* [core] Workaround for #2808John Firebaugh2015-10-281-0/+3
|
* [node] Output debug logs when a render test times outJohn Firebaugh2015-10-2811-0/+55
|
* [core] Ensure URL normalization is safe. Fixes #2695Tom MacWright2015-10-281-0/+19
|
* improve gestures in perspective viewAnsis Brammanis2015-10-263-22/+44
| | | | | | | The location under your finger stays under your finger as you pan. The location you double tap to zoom stays at the same point. The location at the center of a pinch zoom stays at the center. The location at the center of a rotation stays at the center.
* [core] Extract PaintPropertiesMapJohn Firebaugh2015-10-2620-273/+318
|
* [core] Move parseCacheControl() up in the class hierarchyThiago Marcos P. Santos2015-10-262-0/+24
| | | | Avoid duplicating it on all the ports.
* [core] always reparse with the freshest possible placement configKonstantin Käfer2015-10-2614-125/+226
| | | | Fixes an issue where updates to stale tiles would remove labels altogether until the map was rotated.
* [core] reparse tiles when new data arrivesKonstantin Käfer2015-10-2625-286/+458
| | | | We're now reparsing tiles when they expire. We're also swapping out buckets atomically to avoid flickering data; i.e. we're displaying the old data as long as we don't have a new parsed bucket for that layer yet. The parsed buckets now live in the *TileData objects rather than in the TileWorker; only partially parsed == pending buckets will remain in the TileWorker. Once they're parsed, they're moved to the *TileData object.