summaryrefslogtreecommitdiff
path: root/include/mbgl/map
Commit message (Collapse)AuthorAgeFilesLines
...
* | [core] use raii to guard backend deactivationIvo van Dongen2016-12-121-6/+25
| |
* | Merge branch 'release-ios-v3.4.0' into 1ec5-release-ios-v3.4.0-beta.4-masterMinh Nguyễn2016-12-031-0/+2
|\ \ | |/
| * [core, ios, macos] Added layers and sources properties to MGLStyleMinh Nguyễn2016-11-281-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 Bounds2016-11-131-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 Bounds2016-11-111-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::SizeKonstantin Käfer2016-10-271-4/+4
|/
* [core] move gl::Context to Backend and refactor ViewKonstantin Käfer2016-10-254-66/+25
|
* [core] separate Backend from View for headless renderingKonstantin Käfer2016-10-253-32/+48
|
* [core] [node] pass thread pool impl to Map constructorMike Morris2016-10-201-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 typesKonstantin Käfer2016-09-291-2/+2
|
* [core] standardize on uint16_t for texture sizesKonstantin Käfer2016-09-271-1/+1
|
* [core] Removed map attribution APIMinh Nguyễn2016-09-261-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 attributionMinh Nguyễn2016-09-261-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 styleThiago Marcos P. Santos2016-09-221-0/+4
| | | | Unlike annotations, they will go away when we change the style.
* [core] Separate transition options accessors from class APIBruno de Oliveira Abinader2016-09-131-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 updatesJohn Firebaugh2016-09-061-3/+2
|
* [core] add ability show visualize the depth buffer to the GLFW and macOS appKonstantin Käfer2016-08-191-1/+10
|
* [core] parse more Style JSON propertiesKonstantin Käfer2016-08-191-0/+7
| | | | We're now parsing "name", "center", "zoom", "bearing", and "pitch" from the stylesheet.
* [core, android, ios, macos] Replaced getPointAnnotationsInBounds() w/ ↵Minh Nguyễn2016-08-121-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 cleanupsKonstantin Käfer2016-07-011-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/gBruno de Oliveira Abinader2016-06-201-1/+1
|
* [core] Avoid redundant 'inline' usageBruno de Oliveira Abinader2016-06-181-2/+2
|
* [core] Cleaned up enum classesBruno de Oliveira Abinader2016-06-182-12/+12
| | | | | - Replaced static_cast with C++ casts. - Replaced inline with constexpr.
* [core] Avoid unnecessary work when a symbol annotation is updatedJohn Firebaugh2016-06-171-1/+2
| | | | In particular, if only the geometry changes, don't cascade and recalculate the style.
* [core] Runtime source API: Map methodsJohn Firebaugh2016-06-161-0/+7
|
* [core, node] Implement setPaintProperty for color properties (#5380)John Firebaugh2016-06-161-0/+1
|
* [core] Introduce Map::getLayerJohn Firebaugh2016-06-131-0/+1
|
* [tidy] Check llvm-namespace-commentBruno de Oliveira Abinader2016-06-131-1/+1
| | | | Ref: http://clang.llvm.org/extra/clang-tidy/checks/llvm-namespace-comment.html
* [core, node, android] Remove used "base" parameter from setStyleJSONJohn Firebaugh2016-06-021-2/+2
|
* [core] Rationalize naming for style-related codeJohn Firebaugh2016-06-021-6/+9
|
* [core] Generalize Map::{add,remove}CustomLayerJohn Firebaugh2016-06-022-10/+5
|
* [all] Rationalize annotation APIJohn Firebaugh2016-06-011-11/+2
|
* [core] use #pragma once instead of ifdef include guardsKonstantin Käfer2016-05-255-20/+5
|
* [core] Move GLFW stencil clip debug to coreBruno de Oliveira Abinader2016-05-241-0/+4
| | | | | | This makes the stencil clip debug available to all platforms. Fixes #4669.
* [core] Implement MapDebugOptions::WireframeBruno de Oliveira Abinader2016-05-231-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 TransformKonstantin Käfer2016-05-181-17/+1
|
* [core] Use mapbox::geometry::box in queryRenderedFeaturesJohn Firebaugh2016-05-131-2/+2
|
* [core] Fix code style issuesJohn Firebaugh2016-05-121-1/+1
|
* [core] Added Viewport modeBruno de Oliveira Abinader2016-05-112-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 typeJohn Firebaugh2016-05-031-2/+3
|
* [core] implement queryRenderedFeaturesAnsis Brammanis2016-04-291-0/+4
|
* [core] Added mbgl::underlying_typeBruno de Oliveira Abinader2016-04-281-2/+4
|
* [core] Fix view class docsThiago Marcos P. Santos2016-04-281-2/+0
|
* [core, ios, osx] cameraThatFitsCoordinateBoundsMinh Nguyễn2016-04-221-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 indirectionJohn Firebaugh2016-04-151-19/+2
|
* [core] Render from the main threadJohn Firebaugh2016-04-142-42/+29
| | | | Do not create a thread for the MapContext anymore.
* Merge branch 'release-ios-3.2.0-android-4.0.0'John Firebaugh2016-03-301-0/+1
|\
| * [core] Localize and simplify state for MapChangeDidFinishLoadingMap eventJohn Firebaugh2016-03-301-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 constantBruno de Oliveira Abinader2016-03-181-3/+0
| |
* | [core] Remove default transition durationBruno de Oliveira Abinader2016-03-182-12/+8
| |