Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | | [core] use raii to guard backend deactivation | Ivo van Dongen | 2016-12-12 | 1 | -6/+25 | |
| | | ||||||
* | | Merge branch 'release-ios-v3.4.0' into 1ec5-release-ios-v3.4.0-beta.4-master | Minh Nguyễn | 2016-12-03 | 1 | -0/+2 | |
|\ \ | |/ | ||||||
| * | [core, ios, macos] Added layers and sources properties to MGLStyle | Minh Nguyễn | 2016-11-28 | 1 | -0/+2 | |
| | | | | | | | | | | | | | | | | Added new layers and sources properties to MGLStyle that contain all the style’s layers and sources, respectively. These properties are KVC-compliant with all the mutable to-many methods. Layers are ordered from topmost to bottommost, for consistency with Cocoa APIs where front/first means top and back/last means bottom. Also added storage for mbgl::style::Source in MGLSource proper for wrapping AnnotationSource. Until the style finishes loading, its name property is set to nil. Fixes #6003. | |||||
| * | [core] Return source and layer ownership (#7014) | Jesse Bounds | 2016-11-13 | 1 | -2/+2 | |
| | | | | | | | | | | | | | | | | When a source or layer is removed transfer ownership back to the caller so it can (optionally) take it. Preserve the behavior that removing a CustomLayer triggers deinitialization. Deinitialize all custom layers when a style is destroyed in case those layers are not explicitly removed. | |||||
* | | [core] Return source and layer ownership (#7014) | Jesse Bounds | 2016-11-11 | 1 | -2/+2 | |
| | | | | | | | | | | | | | | | | When a source or layer is removed transfer ownership back to the caller so it can (optionally) take it. Preserve the behavior that removing a CustomLayer triggers deinitialization. Deinitialize all custom layers when a style is destroyed in case those layers are not explicitly removed. | |||||
* | | [core] change std::array<uint16_t, 2> to mbgl::Size | Konstantin Käfer | 2016-10-27 | 1 | -4/+4 | |
|/ | ||||||
* | [core] move gl::Context to Backend and refactor View | Konstantin Käfer | 2016-10-25 | 4 | -66/+25 | |
| | ||||||
* | [core] separate Backend from View for headless rendering | Konstantin Käfer | 2016-10-25 | 3 | -32/+48 | |
| | ||||||
* | [core] [node] pass thread pool impl to Map constructor | Mike Morris | 2016-10-20 | 1 | -2/+3 | |
| | | | | | | | Updates mbgl::Map constructor usage everywhere Adds NodeThreadPool implementation using AsyncQueue to call Nan::AsyncQueueWorker from main thread | |||||
* | [core] remove dependence on gl.h types | Konstantin Käfer | 2016-09-29 | 1 | -2/+2 | |
| | ||||||
* | [core] standardize on uint16_t for texture sizes | Konstantin Käfer | 2016-09-27 | 1 | -1/+1 | |
| | ||||||
* | [core] Removed map attribution API | Minh Nguyễn | 2016-09-26 | 1 | -1/+0 | |
| | | | | Since client code can readily access the individual sources, Map doesn’t need to expose a dedicated API for iterating over them. | |||||
* | [core] Source-driven attribution | Minh Nguyễn | 2016-09-26 | 1 | -0/+1 | |
| | | | | | | Implemented observer callbacks so the style knows when the source’s attribution changes and the map knows when the style’s attribution changes. Also implemented a getter for a tile source’s attribution. Fixes #2723. | |||||
* | [core] Add interface to add sprites to the style | Thiago Marcos P. Santos | 2016-09-22 | 1 | -0/+4 | |
| | | | | Unlike annotations, they will go away when we change the style. | |||||
* | [core] Separate transition options accessors from class API | Bruno de Oliveira Abinader | 2016-09-13 | 1 | -3/+6 | |
| | | | | | Now the style class transition options have its own getter/setter, which persists for each style until a new style is set. | |||||
* | [core] Batch source updates | John Firebaugh | 2016-09-06 | 1 | -3/+2 | |
| | ||||||
* | [core] add ability show visualize the depth buffer to the GLFW and macOS app | Konstantin Käfer | 2016-08-19 | 1 | -1/+10 | |
| | ||||||
* | [core] parse more Style JSON properties | Konstantin Käfer | 2016-08-19 | 1 | -0/+7 | |
| | | | | We're now parsing "name", "center", "zoom", "bearing", and "pitch" from the stylesheet. | |||||
* | [core, android, ios, macos] Replaced getPointAnnotationsInBounds() w/ ↵ | Minh Nguyễn | 2016-08-12 | 1 | -2/+1 | |
| | | | | | | | queryPointAnnotations() (#5165) queryPointAnnotations() accepts a screen rectangle instead of a geographic bounding box, so marker hit testing works at the edges of a rotated, tilted map view. Fixes #5151. | |||||
* | [core] code style cleanups | Konstantin Käfer | 2016-07-01 | 1 | -13/+13 | |
| | | | | | | | - puts function definitions in a namespace ... {} rather than using namespace ...; - remove trailing whitespace - add trailing newline - protect SQL statements from being formatted by clang-format | |||||
* | [core] s/Wireframe/Overdraw/g | Bruno de Oliveira Abinader | 2016-06-20 | 1 | -1/+1 | |
| | ||||||
* | [core] Avoid redundant 'inline' usage | Bruno de Oliveira Abinader | 2016-06-18 | 1 | -2/+2 | |
| | ||||||
* | [core] Cleaned up enum classes | Bruno de Oliveira Abinader | 2016-06-18 | 2 | -12/+12 | |
| | | | | | - Replaced static_cast with C++ casts. - Replaced inline with constexpr. | |||||
* | [core] Avoid unnecessary work when a symbol annotation is updated | John Firebaugh | 2016-06-17 | 1 | -1/+2 | |
| | | | | In particular, if only the geometry changes, don't cascade and recalculate the style. | |||||
* | [core] Runtime source API: Map methods | John Firebaugh | 2016-06-16 | 1 | -0/+7 | |
| | ||||||
* | [core, node] Implement setPaintProperty for color properties (#5380) | John Firebaugh | 2016-06-16 | 1 | -0/+1 | |
| | ||||||
* | [core] Introduce Map::getLayer | John Firebaugh | 2016-06-13 | 1 | -0/+1 | |
| | ||||||
* | [tidy] Check llvm-namespace-comment | Bruno de Oliveira Abinader | 2016-06-13 | 1 | -1/+1 | |
| | | | | Ref: http://clang.llvm.org/extra/clang-tidy/checks/llvm-namespace-comment.html | |||||
* | [core, node, android] Remove used "base" parameter from setStyleJSON | John Firebaugh | 2016-06-02 | 1 | -2/+2 | |
| | ||||||
* | [core] Rationalize naming for style-related code | John Firebaugh | 2016-06-02 | 1 | -6/+9 | |
| | ||||||
* | [core] Generalize Map::{add,remove}CustomLayer | John Firebaugh | 2016-06-02 | 2 | -10/+5 | |
| | ||||||
* | [all] Rationalize annotation API | John Firebaugh | 2016-06-01 | 1 | -11/+2 | |
| | ||||||
* | [core] use #pragma once instead of ifdef include guards | Konstantin Käfer | 2016-05-25 | 5 | -20/+5 | |
| | ||||||
* | [core] Move GLFW stencil clip debug to core | Bruno de Oliveira Abinader | 2016-05-24 | 1 | -0/+4 | |
| | | | | | | This makes the stencil clip debug available to all platforms. Fixes #4669. | |||||
* | [core] Implement MapDebugOptions::Wireframe | Bruno de Oliveira Abinader | 2016-05-23 | 1 | -0/+1 | |
| | | | | | | | | Together with MapDebugOptions::Collision, provides "wireframe" rendering output so all drawn objects are visible. This mode ignores the line width, background and fill colors for better visualization. Fixes #4359. | |||||
* | [core] remove MockView and View dependency in Transform | Konstantin Käfer | 2016-05-18 | 1 | -17/+1 | |
| | ||||||
* | [core] Use mapbox::geometry::box in queryRenderedFeatures | John Firebaugh | 2016-05-13 | 1 | -2/+2 | |
| | ||||||
* | [core] Fix code style issues | John Firebaugh | 2016-05-12 | 1 | -1/+1 | |
| | ||||||
* | [core] Added Viewport mode | Bruno de Oliveira Abinader | 2016-05-11 | 2 | -2/+14 | |
| | | | | | | Satisfies embedding platforms that requires the viewport coordinate systems to be set according to its standards e.g. viewport mirrored vertically. | |||||
* | [core] Use geometry.hpp feature type | John Firebaugh | 2016-05-03 | 1 | -2/+3 | |
| | ||||||
* | [core] implement queryRenderedFeatures | Ansis Brammanis | 2016-04-29 | 1 | -0/+4 | |
| | ||||||
* | [core] Added mbgl::underlying_type | Bruno de Oliveira Abinader | 2016-04-28 | 1 | -2/+4 | |
| | ||||||
* | [core] Fix view class docs | Thiago Marcos P. Santos | 2016-04-28 | 1 | -2/+0 | |
| | ||||||
* | [core, ios, osx] cameraThatFitsCoordinateBounds | Minh Nguyễn | 2016-04-22 | 1 | -2/+3 | |
| | | | | | | Added an API to get a camera that you can pass into -[MGLMapView setCamera:] that fits the given coordinate bounds, by analogy with -[MKMapView regionThatFits:] or -[MKMapView mapRectThatFits:edgePadding:]. Added mbgl::Map::getCameraOptions() for getting the current camera options more conveniently. | |||||
* | [core] Convert MapContext to Map::Impl; eliminate indirection | John Firebaugh | 2016-04-15 | 1 | -19/+2 | |
| | ||||||
* | [core] Render from the main thread | John Firebaugh | 2016-04-14 | 2 | -42/+29 | |
| | | | | Do not create a thread for the MapContext anymore. | |||||
* | Merge branch 'release-ios-3.2.0-android-4.0.0' | John Firebaugh | 2016-03-30 | 1 | -0/+1 | |
|\ | ||||||
| * | [core] Localize and simplify state for MapChangeDidFinishLoadingMap event | John Firebaugh | 2016-03-30 | 1 | -0/+1 | |
| | | | | | | | | Only Map needs to track this state, and it can simply be set when beginning to load a style and reset when finished. | |||||
* | | [core] Default fade duration is now a constant | Bruno de Oliveira Abinader | 2016-03-18 | 1 | -3/+0 | |
| | | ||||||
* | | [core] Remove default transition duration | Bruno de Oliveira Abinader | 2016-03-18 | 2 | -12/+8 | |
| | |