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
Bruno de Oliveira Abinader
fe1cf83a28
[core] TransformState::getIntegerZoom should be uint8_t
2017-09-15 18:28:40 -03:00
Bruno de Oliveira Abinader
0f9773e615
[core] Partially revert ZoomHistory.lastIntegerZoom update
2017-09-15 16:41:29 -03: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
80e4b2f1ab
[core] Update ZoomHistory.lastInteger{Zoom,Time} if different from floor zoom
2017-08-22 10:17:25 +03:00
Asheem Mamoowala
d21f19686b
Set Default MaxZoom to 22
2017-08-21 15:01:36 -07:00
Bruno de Oliveira Abinader
6179e0f9c0
[core] Added Style::getDefaultCamera()
2017-08-11 22:04:52 +03:00
John Firebaugh
d4cb498d7a
[all] Merge View into RendererBackend
2017-07-26 09:50:38 -07:00
Ivo van Dongen
46c43510d7
[core] rename backend to renderer backend
2017-07-18 10:45:12 +02: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
Konstantin Käfer
fdfd5f91f5
[core] abort early when the dimension is 0
2017-07-17 15:02:47 +02:00
Bruno de Oliveira Abinader
4014aa6721
[core] GCC 4.9 bracket initialization issues
2017-07-12 20:42:29 +03:00
Bruno de Oliveira Abinader
6282b28b6f
[core] Added MBGL_CONSTEXPR to satisfy GCC 4.9
2017-07-12 20:42:29 +03:00
Chris Loer
59df3a90f4
[core] Improved label pitch-scaling: approximate collision box shapes based on tile distance from camera.
2017-07-11 09:10:22 -07: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
Bruno de Oliveira Abinader
1df45a5e42
[core] Check if frameZoom is NaN in Transform::flyTo callback
2017-06-28 20:59:56 +03:00
Bruno de Oliveira Abinader
433e54e636
[core] Clamp to scale boundaries in TransformState::setLatLngZoom
2017-06-28 20:59:56 +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
Bruno de Oliveira Abinader
a05f060153
[core] Added Backend::{assume,set}ScissorTest
2017-06-13 13:37:41 +03:00
Bruno de Oliveira Abinader
28eb2e6354
[core] Added Backend::{assume,set}Viewport
2017-06-13 13:37:41 +03:00
Ansis Brammanis
c878f5f7da
fix #8300 flyTo for close points ( #9199 )
...
The isClose threshold is switched from 0.000001 pixels to 1 pixel.
As a backup, it checks whether r0 and r1 are finite. It might be
possible to have just the threshold check or just the finiteness check,
but I don't see the harm in having both.
std::abs(w0 - w1) < 0.000001 is removed because it doesn't look like
it's needed. All calculations should run fine even if w0 === w1.
Finally, the point interpolation is tweaked so that at the end of the
flying (when k === 1) it ends up at the exact end point. I didn't see
any bugs related to this, but it seems like a good thing to have
explicitly.
2017-06-06 16:31:12 -04: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