Bruno de Oliveira Abinader
20ca1a0418
[core] Cleanup Transform, use {jump,ease}To() instead
2018-11-27 21:38:36 +02:00
Bruno de Oliveira Abinader
e8f7866e9e
[core] Remove error-prone setlatLng overload
2018-11-27 21:38:36 +02:00
Bruno de Oliveira Abinader
98c36fc06e
[core] CameraOptions receives and outputs angle and pitch as degrees, not radians
2018-10-19 12:05:16 +02:00
Chris Loer
d735d89835
[core] Port "collision group" plumbing to gl-native.
...
[node] Hook up map-wide "crossSourceCollisions" option, defaulting to true.
[test] Pass "crossSourceCollisions" test option through test harness; enable cross-source-collisions tests on native.
2018-09-12 14:10:46 -07:00
Konstantin Käfer
4a3c4edb59
[android] add support for gnustl
2018-09-11 11:43:54 +02:00
Bobby Sudekum
4286d5869c
Add pitch argument to cameraThatFits functions ( #12213 )
2018-07-02 16:30:18 -07:00
Konstantin Käfer
d66251234d
[core] don't use floating point versions of pow/log
...
GLIBC 2.27 added new versioned symbols of powf and logf, while the double versions of pow and log remained stable.
Prefer the double version to avoid introducing a dependency on a newer version of GLIBC than strictly necessary.
See https://lists.gnu.org/archive/html/info-gnu/2018-02/msg00000.html
2018-06-04 10:43:21 +02:00
Fabian Guerra
e08b6fe87f
Merge branch 'release-boba' into master
...
# Conflicts:
# circle.yml
# include/mbgl/style/expression/let.hpp
# platform/android/MapboxGLAndroidSDK/src/main/java/com/mapbox/mapboxsdk/geometry/LatLngBounds.java
# platform/android/MapboxGLAndroidSDK/src/main/java/com/mapbox/mapboxsdk/maps/MapGestureDetector.java
# platform/android/MapboxGLAndroidSDK/src/main/java/com/mapbox/mapboxsdk/maps/MapKeyListener.java
# platform/android/MapboxGLAndroidSDK/src/main/java/com/mapbox/mapboxsdk/maps/MapView.java
# platform/android/MapboxGLAndroidSDK/src/main/java/com/mapbox/mapboxsdk/maps/MapboxMap.java
# platform/android/MapboxGLAndroidSDK/src/main/java/com/mapbox/mapboxsdk/maps/Projection.java
# platform/android/MapboxGLAndroidSDK/src/main/java/com/mapbox/mapboxsdk/maps/Transform.java
# platform/android/MapboxGLAndroidSDK/src/test/java/com/mapbox/mapboxsdk/geometry/LatLngBoundsTest.java
# platform/android/MapboxGLAndroidSDKTestApp/src/main/AndroidManifest.xml
# platform/android/gradle/dependencies.gradle
# platform/android/src/example_custom_layer.cpp
# platform/android/src/geojson/point.cpp
# platform/darwin/src/NSPredicate+MGLAdditions.mm
# platform/darwin/test/MGLExpressionTests.mm
# platform/ios/Mapbox-iOS-SDK-nightly-dynamic.podspec
# platform/ios/Mapbox-iOS-SDK-symbols.podspec
# platform/ios/Mapbox-iOS-SDK.podspec
# platform/ios/app/MBXViewController.m
# src/mbgl/renderer/layers/render_custom_layer.cpp
# src/mbgl/style/conversion/filter.cpp
# src/mbgl/style/expression/interpolate.cpp
# src/mbgl/style/expression/value.cpp
# test/style/filter.test.cpp
2018-04-23 10:44:02 -04:00
Ivo van Dongen
d7bc36db6f
[core] prevent render thread from waking up unneeded on still rendering
...
- No longer sends a update message to the render frontend when rendering in still mode only to shortcut it in the renderer. This prevents unneeded render passes in qt.
2018-03-14 16:39:58 +02:00
Łukasz Paczos
dfdfbc0990
[android] calculating camera's LatLng for bounds without map padding ( #11410 )
2018-03-08 15:55:47 +01:00
Konstantin Käfer
ac32b41493
[core] don't tie Annotation geometries to Map maxzoom
...
Instead, geometry generation via GeoJSONVT is now bound to the hardcoded limit of the annotation tile source.
2018-01-02 19:41:07 +01:00
Ansis Brammanis
22c07596a0
[core] Split MapMode::Still into Static and Tile
...
`Tile` makes sure the symbols in the resulting tile are tileable while
symbols in `Still` match rendering in `Continuous` mode.
2017-11-17 10:05:15 -08:00
Lauren Budorick
e43e2aa3d7
[core, node] Support axonometric rendering
2017-10-14 03:15:34 +02:00
Asheem Mamoowala
2366487275
[core] Add cameraForLatLngs() method with modified bearing
2017-10-09 11:42:37 -07:00
Ivo van Dongen
be859427a9
[core] remove map update enum
2017-08-31 18:45:28 +03:00
Ivo van Dongen
4c96603eb6
[core] move annotation tile updates to renderer
...
- AnnotationData.updateData() was not completely thread safe. Calling it from the renderer thread instead of the main thread fixes this
- Since we moved the coalescing of updates out of the map and into the renderer frontend implementations, the updateData was called too much, resulting in degraded performance. Moving it into the renderer makes sure it gets coalesced again.
2017-08-31 18:45:28 +03:00
Ivo van Dongen
377faaf4f8
[core] annotation manager - manage dirty state internally
2017-08-31 18:45:28 +03:00
Bruno de Oliveira Abinader
d43757271e
[node] Cleanup NodeMap::Render
2017-08-31 10:17:21 +03:00
John Firebaugh
9c02e4d7dd
[core] Inline Renderer::Impl::doRender
2017-08-24 13:06:23 -07:00
John Firebaugh
d05486391a
[core] Remove unnecessary members from UpdateParameters
2017-08-24 13:06:23 -07:00
Bruno de Oliveira Abinader
6179e0f9c0
[core] Added Style::getDefaultCamera()
2017-08-11 22:04:52 +03:00
Ivo van Dongen
3832f8d0d8
[core] renderer interface
2017-07-18 10:45:12 +02:00
Ivo van Dongen
57351c068b
[core] split backend from mapobserver
2017-07-18 10:45:12 +02:00
Ivo van Dongen
e35cbbae55
[core] mutate style on annotation mutations immediately
2017-07-18 10:45:12 +02:00
Bruno de Oliveira Abinader
4014aa6721
[core] GCC 4.9 bracket initialization issues
2017-07-12 20:42:29 +03:00
Thiago Marcos P. Santos
407fbc70b1
[core] Prefetch low resolution tiles
2017-07-07 14:28:52 +03:00
Bruno de Oliveira Abinader
60eae41549
[core] Factor timePoint initialization: take 2
2017-07-04 15:50:50 +03:00
Ivo van Dongen
20189db67f
[core] remove tile cache size setter
2017-06-27 17:02:40 -07:00
Ivo van Dongen
24a00231f3
[core] fix render doesn’t flag style mutation
2017-06-26 16:19:06 -07:00
John Firebaugh
40e4755621
[core] Move setStyleJSON/URL to Style; add Map::setStyle
2017-06-22 08:04:39 -07:00
John Firebaugh
1520a56813
[all] Promote Style to public API
2017-06-22 08:04:39 -07:00
John Firebaugh
be7e9bbb8d
[core] Refactor CustomLayer internals
...
Move the responsibility for initialization/deinitialization/rendering to RenderCustomLayer. This eliminates special case code from Map and Style.
2017-06-22 08:04:39 -07:00
John Firebaugh
fe024bbdf6
[core] Implement "smart setStyle"
2017-06-15 07:43:51 -07:00
John Firebaugh
9d276f3b0f
[core] Dynamic program compilation for data-driven properties
2017-06-13 12:21:50 -07:00
John Firebaugh
97eb62fe7c
[core] Don't share TransformState reference
2017-06-05 19:38:08 -07:00
John Firebaugh
74af076d40
[core] Split RenderStyle from Style
2017-06-05 19:38:08 -07:00
Bruno de Oliveira Abinader
99cfbacdfb
[core] Make TransformState LatLngBounds optional
2017-06-01 17:04:09 +03:00
Bruno de Oliveira Abinader
b83dfb7eb5
Revert "[core] Factor timePoint initialization"
...
This reverts commit 3790caafa3 .
2017-05-30 13:03:07 +03:00
John Firebaugh
2e0ceeb9c1
[core] Don't need unique_ptr for AnnotationManager
2017-05-26 11:21:56 -07:00
John Firebaugh
aa216d0025
[core] Don't use a separate SpriteAtlas for annotation images
...
Instead, just add them to the Style as needed. Includes changes from #8905 and takes care to avoid regressing #3817 .
2017-05-26 11:21:56 -07:00
John Firebaugh
d766af44c8
[core] Auto-growable SpriteAtlas using shelf-pack
2017-05-26 11:21:56 -07:00
John Firebaugh
cc1ea759a6
[core, node, darwin, android, qt] Make image ID part of Image
...
More like Source and Layer.
2017-05-16 12:26:35 -07:00
John Firebaugh
9eba2a66d1
[core, node, darwin, qt] Remove support for paint classes
2017-05-15 09:45:55 -07:00
Ivo van Dongen
cc9f040a2d
[core] Split style image collection from SpriteAtlas
2017-05-12 13:19:00 -07:00
John Firebaugh
c2a5894f2d
[core] Immutable Impls
2017-05-12 11:26:27 -07:00
Bruno de Oliveira Abinader
870067360f
[tidy] modernize-pass-by-value
2017-05-12 18:07:36 +03:00
Ivo van Dongen
20810f988a
[core] render light
2017-05-08 19:39:55 +03:00
John Firebaugh
66da759426
[core] Reduce use of RecalculateStyle
...
* Don't use it to track zoom changes. Instead, Style::update can use the zoom history to check for a change in zoom from the previous frame.
* Don't use it to track active property transitions. Style already knows which layers/light have an active transition, and can re-evaluate only those that do.
This leaves layer property changes as the only use of RecalculateStyle.
2017-05-05 08:56:36 -07:00
John Firebaugh
e7d2796762
[core] Omnibus Style::update method
...
Combine Style::cascade, recalculate, relayout, and updateTiles into a single method. This allows multiple loops over sources and layers to be consolidated and prepares for additional Style-Map decoupling: rather than tracking pending updates via a set of Update flags held by the Map and passed to the Style, the Style can use its own data to determine what to update.
2017-05-04 09:59:56 -07:00
John Firebaugh
89f1ffc6d2
[core] UpdateParameters ⇢ TileParameters
2017-05-04 07:29:08 -07:00