summaryrefslogtreecommitdiff
path: root/include
Commit message (Collapse)AuthorAgeFilesLines
* [core] Use geometry.hpp feature typeJohn Firebaugh2016-05-032-2/+22
|
* [core] Replace boost::lexical_cast with std::to_stringJohn Firebaugh2016-05-021-25/+7
| | | | This removes the only boost dependency from public headers.
* [core] Remove duplicate copy of utf.hppJohn Firebaugh2016-05-021-25/+0
|
* [core] Remove unusedJohn Firebaugh2016-05-021-24/+0
|
* [core] implement queryRenderedFeaturesAnsis Brammanis2016-04-292-0/+21
|
* [core] Added mbgl::underlying_typeBruno de Oliveira Abinader2016-04-282-2/+19
|
* [glfw] Atomic is no longer neededThiago Marcos P. Santos2016-04-281-3/+1
| | | | All View events come from the same thread.
* [core] Fix view class docsThiago Marcos P. Santos2016-04-281-2/+0
|
* [core] Refactor getRegionCompletedStatus; add completedTileCount; add testsJohn Firebaugh2016-04-271-2/+10
|
* [ios, osx] Add a property for bytes used by offline tilesBrent Whitman2016-04-271-1/+6
|
* [core] Define mbgl::variant (#4833)John Firebaugh2016-04-251-3/+2
| | | For parallelism with mbgl::optional, and to avoid exposing namespaces other than `mbgl` in the public API.
* [core] Move enum type classes to implementation (#4831)John Firebaugh2016-04-251-81/+0
|
* [core] Extract Function::evaluation to a separate class (#4811)John Firebaugh2016-04-251-12/+0
| | | This allows the Function<Faded<T>> partial specialization to be eliminated, giving all property functions a consistent storage type.
* [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] Use the proper type for font stacksJohn Firebaugh2016-04-222-2/+12
|
* [core] PlacementType ⇢ SymbolPlacementTypeJohn Firebaugh2016-04-211-4/+4
|
* [core] JoinType ⇢ LineJoinTypeJohn Firebaugh2016-04-211-7/+7
|
* [core] CapType ⇢ LineCapTypeJohn Firebaugh2016-04-211-5/+5
|
* [core] Fix compilation warningBruno de Oliveira Abinader2016-04-201-2/+2
|
* [core] Convert MapContext to Map::Impl; eliminate indirectionJohn Firebaugh2016-04-151-19/+2
|
* [core] always set activeTexture before binding a textureAnsis Brammanis2016-04-141-0/+13
|
* [core] Remove internal threading from OnlineFileRequestJohn Firebaugh2016-04-141-6/+2
| | | | There's no need to do the work that OnlineFileRequest does on a separate thread from the DefaultFileSource thread, and having AsyncTasks proxy to other tasks across a thread boundary adds needless complexity.
* [core] Render from the main threadJohn Firebaugh2016-04-144-59/+36
| | | | Do not create a thread for the MapContext anymore.
* [core] Don't put static objects in a header file (#4707)John Firebaugh2016-04-141-25/+8
| | | This causes duplicate objects -- one for every file that includes that header.
* [android] Introduce RunLoop based on LooperThiago Marcos P. Santos2016-04-061-1/+2
| | | | Also implement a Timer and AsyncTask based on Android's Looper.
* [ios, osx, linux] Remove unused "applicationRoot" functionJohn Firebaugh2016-03-311-3/+0
|
* Merge branch 'release-ios-3.2.0-android-4.0.0'John Firebaugh2016-03-302-0/+7
|\
| * [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] Assert and guard against null std::exception_ptr in toStringJohn Firebaugh2016-03-161-0/+6
| | | | | | | | We don't expect toString to be called with a null std::exception_ptr. But if it is, we'd prefer not to terminate the process in release builds.
* | [core] Unify FileRequest and WorkRequestJohn Firebaugh2016-03-246-14/+22
| |
* | [core] split headless_view.cpp into implementation-specific filesKonstantin Käfer2016-03-221-2/+17
| | | | | | | | also adds a EAGL implementation for iOS
* | [test] remove crc64 and compare imagesKonstantin Käfer2016-03-221-0/+7
| | | | | | | | boost's crc64 breaks on iOS
* | [glfw] Main loop integrationThiago Marcos P. Santos2016-03-212-0/+34
| | | | | | | | | | | | This new code can be used for rendering on the Main thread while it will also work for rendering on the Map thread before we make the switch. Needed by #2909.
* | [core] Default fade duration is now a constantBruno de Oliveira Abinader2016-03-182-3/+1
| |
* | [core] Remove default transition durationBruno de Oliveira Abinader2016-03-182-12/+8
| |
* | [core] s/Update::Zoom/Update/RecalculateStyle/Bruno de Oliveira Abinader2016-03-181-1/+1
| |
* | [core] Added user-defined transition properties when modifying classesBruno de Oliveira Abinader2016-03-182-3/+25
| |
* | [core] Remove MapData::defaultTransitionDelayBruno de Oliveira Abinader2016-03-181-3/+0
| |
* | [core] Check for NaNs in mbgl::util::{min,max,clamp}Bruno de Oliveira Abinader2016-03-182-20/+22
| |
* | [core] use constexpr constantsKonstantin Käfer2016-03-161-17/+28
| |
* | [core] Simplify LatLng::unwrapForShortestPath usageBruno de Oliveira Abinader2016-03-141-9/+8
| | | | | | | | | | | | | | | | | | | | Simplify LatLng::{wrap,unwrapForShortestPath} code, avoiding duplicated code between Transform::{latLngToScreenCoordinate,easeTo,flyTo}. Added unit tests for camera usage in Transform to detect cases like e.g. crossing the antimeridian as a shortest path between two coordinates. Transform::flyTo precision loss to be handled in #4298.
* | [core] Implement LatLng::null()Bruno de Oliveira Abinader2016-03-131-0/+4
| |
* | [core] Harden Transform anchor & padding usageBruno de Oliveira Abinader2016-03-131-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] Make vec{2,3,4} operator bool explicitBruno de Oliveira Abinader2016-03-111-6/+6
|
* [core] Check for NaNs in EdgeInsetsBruno de Oliveira Abinader2016-03-101-2/+3
|
* [core] Remove _validPoint from Transform codeBruno de Oliveira Abinader2016-03-101-0/+25
| | | | vec2<T>::operator bool() checks for NaNs already.
* [core] Coordinate wrapping fixesBruno de Oliveira Abinader2016-03-103-18/+28
| | | | | | | | | | | | | | | - Make returning LatLngs unwrapped by default. - PointAnnotation and ShapeAnnotation are always wrapped so they can be selected via intersection from the visible tile boundaries. - Fixes LatLng::wrap() calculation. - Fixes LatLng::unwrapForShortestPath() calculation. The new unwrapForShortestPath algorithm unwraps the start coordinate either forwards or backwards depending on the end coordinate value, so we can always cross the antimeridian when needed and still obtain a wrapped end coordinate in the end. Fixes #4214.
* [core] Remove goOffline() from DefaultFileSourceThiago Marcos P. Santos2016-03-082-3/+2
| | | | Use the newly added NetworkStatus::Set().
* [core] Add client defined network statusThiago Marcos P. Santos2016-03-081-0/+10
| | | | | | | | This API will let the client force a network status. If set to Offline, we won't make network requests. When set make to Online, it will trigger the pending requests and try to fetch tiles from the network.
* [core] explicitly initialize a few fields to nullKonstantin Käfer2016-03-043-5/+5
|