Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | [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 |
| | | |||||
* | | [core] s/Update::Zoom/Update/RecalculateStyle/ | Bruno de Oliveira Abinader | 2016-03-18 | 1 | -1/+1 |
| | | |||||
* | | [core] Added user-defined transition properties when modifying classes | Bruno de Oliveira Abinader | 2016-03-18 | 1 | -3/+5 |
| | | |||||
* | | [core] Remove MapData::defaultTransitionDelay | Bruno de Oliveira Abinader | 2016-03-18 | 1 | -3/+0 |
| | | |||||
* | | [core] Harden Transform anchor & padding usage | Bruno de Oliveira Abinader | 2016-03-13 | 1 | -14/+15 |
|/ | | | | | Use optional values for anchor & padding in Map and Transform functions instead of NaNs. Added unit tests to stress some edge cases. | ||||
* | [core] PrecisionPoint is now ScreenCoordinate | Bruno de Oliveira Abinader | 2016-03-01 | 2 | -10/+10 |
| | |||||
* | Merge branch 'release-ios-v3.1.0' | Minh Nguyễn | 2016-02-24 | 2 | -0/+5 |
|\ | |||||
| * | [core, ios, osx] Only constrain after adding to a window | Minh Nguyễn | 2016-02-10 | 2 | -0/+5 |
| | | | | | | | | | | | | Introduced a setter/getter for constrain mode. On iOS and OS X, the zoom level inspectable causes the zoom level to be set independently from the longitude and latitude. Thus, the latitude inspectable had no effect because the latitude was constrained to 0 at z0. Temporarily removing the heightwise constraint allows the map to center on the intended location before zooming, which is the usual case for storyboards and XIBs. On iOS, the only guarantee we have timing-wise is that all the inspectables are applied after initialization but before the view is added to a window. So we reimpose the heightwise constraint as soon as the view is added to a window, that is, before the user has a chance to pan the map out of bounds. Fixes #3868. | ||||
* | | [core] Add support for updating point annotations | Gabriel Miklós | 2016-02-12 | 1 | -0/+2 |
|/ | |||||
* | [core] Remove unused | John Firebaugh | 2016-02-02 | 1 | -1/+0 |
| | |||||
* | [core] Remove unused | John Firebaugh | 2016-02-02 | 1 | -3/+0 |
| | |||||
* | [core] add setMaxZoom, setMinZoom | Ansis Brammanis | 2016-01-28 | 1 | -0/+2 |
| | | | | also change the default maxZoom to 20 to match -js. | ||||
* | [core, ios, osx] Tilt around visual center point | Minh Nguyễn | 2016-01-26 | 1 | -0/+1 |
| | | | | The tilt gesture on both iOS and OS X now respects the content insets. On iOS, in user tracking mode, it additionally respects the user dot’s position if it’s aligned to the top or bottom of the view. | ||||
* | Cleanup std::chrono usage | Bruno de Oliveira Abinader | 2016-01-25 | 1 | -2/+2 |
| | | | | Use mbgl::Duration and mbgl::{,Milli}Seconds whenever possible. | ||||
* | [core] Use experimental optional instead of mapbox::util::optional | John Firebaugh | 2016-01-19 | 1 | -12/+11 |
| | |||||
* | [core, osx] Added optional padding to convenience methods | Minh Nguyễn | 2016-01-18 | 1 | -2/+6 |
| | | | | Methods that offer a convenient way to jump or ease now accept an optional padding parameter. MGLMapView specifies the padding to ensure that keyboard-based zooming and rotation respects the toolbar. | ||||
* | [core] Added padding option to CameraOptions | Minh Nguyễn | 2016-01-18 | 2 | -8/+6 |
| | | | | | | Moved EdgeInsets to geo.hpp so CameraOptions and Transform can refer to it. Added a padding option to CameraOptions that alters the frame of reference for the center option. Added optional padding parameters to LatLng getters and setters. Working towards #2600. | ||||
* | [core] Consolidated zoom and angle anchor logic | Minh Nguyễn | 2016-01-14 | 1 | -0/+4 |
| | | | | Made anchor a CameraOption for easeTo(). | ||||
* | [core] Cleaned up Transform | Minh Nguyễn | 2016-01-14 | 2 | -2/+9 |
| | | | | | | Eliminated many redundant methods on Transform. Minimized usage of TransformState::x and TransformState::y. Added convenient constructors for AnimationOptions. When scaling, passing in view’s origin as the anchor no longer anchors the scaling operation at the view’s center. To specify no anchor, use NaN. Increased precision of worldSize(), now that it’s used much more heavily in transform methods. |