Bruno de Oliveira Abinader
a744e35f44
[test] Added API.ZoomHistory
2017-07-04 15:50:50 +03:00
Bruno de Oliveira Abinader
9a0c5b4dfa
[test] Use test::checkImage in API.RepeatedRender
2017-07-04 15:50:50 +03: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
fe024bbdf6
[core] Implement "smart setStyle"
2017-06-15 07:43:51 -07:00
John Firebaugh
f983c2716b
[core] Fix several bugs in AnnotationManager
2017-06-05 19:38:08 -07:00
John Firebaugh
e4e08aca79
[tests] Add test for calling addAnnotationImage with an existing ID
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
c130d470a1
[core] Remove StyleSourcedAnnotation support
...
The functionality this provided has been subsumed by the runtime styling API.
2017-05-10 14:22:01 -07:00
John Firebaugh
c2b00378b7
[all] Push querySourceFeatures back out to Map
...
Once Source and RendererSource are split, Source will no longer have access to tiles.
2017-05-02 08:45:09 -07:00
John Firebaugh
5dd98df50b
[all] Rationalize style::Image
...
A style has a collection of images, just as it has collections of sources and layers.
* Name things appropriately
* Use std::unique_ptr
2017-04-24 15:52:28 -07:00
Konstantin Käfer
197f0ca6b4
[android] use AAssetManager instead of libzip
2017-04-24 10:42:10 +02:00
Konstantin Käfer
8e5214144e
[core] Ensure that a BackendScope exists when doing GL calls
2017-03-23 14:50:11 -07:00
Dane Springmeyer
3a0abdd3a7
[test] Fix polygon construction to compile with clang 3.9.x
2017-03-09 17:32:24 -08:00
Ivo van Dongen
0d10d2df1c
[core] query source features
2017-03-09 13:11:23 -08:00
Asheem Mamoowala
60d10dd27d
[core] Add support for queryRenderedFeatures filter
2017-03-04 15:42:07 -08:00
Konstantin Käfer
9ca9adf69c
[core] private OffscreenView implementation
2017-02-27 16:51:17 -08:00
John Firebaugh
141e995806
[core] Add support for data-driven styling
2017-02-02 09:44:42 -08:00
John Firebaugh
3d2d57cd30
[core] Assert valid range for color components
2016-11-29 06:52:24 -08:00
Konstantin Käfer
4fe071b518
[build] upgrade to variant 1.1.4 and dependencies
2016-11-28 18:02:00 +01:00
Konstantin Käfer
117863f111
[build] move headless rendering files to platform/default
2016-11-22 20:58:51 +01:00
Konstantin Käfer
3bc79e316e
[build] move default ThreadPool implementation to platform/default
2016-11-22 20:58:51 +01:00
Bruno de Oliveira Abinader
97288cae96
[test] Check all zoom levels in Annotations.SymbolAnnotation
2016-11-18 09:13:53 +01:00
Bruno de Oliveira Abinader
50f0f919c3
[test] Use shared headless display
...
Prevents some OpenGL implementations from bailing out.
2016-11-17 01:01:15 +01:00
Konstantin Käfer
bcdbbbcac2
[core] don't assign clip IDs to tiles that aren't rendered
2016-11-08 18:09:58 +01:00
Bruno de Oliveira Abinader
e2981c890e
Revert "[core] Don't use GL_LINEAR if panning w/o rotation nor pitch"
...
This reverts commit a70bfd8910 .
2016-11-01 17:44:34 +02:00
Bruno de Oliveira Abinader
a70bfd8910
[core] Don't use GL_LINEAR if panning w/o rotation nor pitch
2016-10-31 16:53:07 +02:00
Konstantin Käfer
62b56b799a
[core] change std::array<uint16_t, 2> to mbgl::Size
2016-10-27 18:30:58 -07:00
Konstantin Käfer
a4d259c33f
[core] move gl::Context to Backend and refactor View
2016-10-25 13:52:36 -07:00
Konstantin Käfer
5cc390d694
[core] separate Backend from View for headless rendering
2016-10-25 13:52:36 -07:00
Mike Morris
817c26111a
[core] [node] pass thread pool impl to Map constructor
...
Updates mbgl::Map constructor usage everywhere
Adds NodeThreadPool implementation using AsyncQueue to call
Nan::AsyncQueueWorker from main thread
2016-10-20 14:37:36 -04:00
Bruno de Oliveira Abinader
c50577d039
[core] Fix SymbolAnnotation coordinate system conversions
2016-10-19 08:11:41 +03:00
Bruno de Oliveira Abinader
436a22efe9
[core] Skip duplicated IDs when querying point annotations
2016-10-12 18:58:22 +03:00
Bruno de Oliveira Abinader
ccef4be995
[test] Added Annotations.VisibleFeatures test
...
This provides a means of testing cases where an updated geometry tile
would return wrong results for `queryRenderedFeatures`.
2016-10-11 12:10:32 +03:00
Bruno de Oliveira Abinader
efc1bff65f
[core] Ignore placement for symbol annotations
2016-10-11 09:55:32 +03:00
Thiago Marcos P. Santos
82b801250e
[tests] Add unit tests for query features fiters
2016-10-05 11:12:16 +03:00
Konstantin Käfer
3f3fc7b772
[test] add .test.cpp suffix to test case files
2016-09-28 16:34:22 +02:00
John Firebaugh
e126dc3a5a
[core] Fix updates of line and fill annotations
2016-08-29 08:08:44 -07:00
John Firebaugh
6bbb2e4c2b
[tests] Merge single test in set_style.cpp with other Map tests
2016-08-23 09:55:32 -07:00
Konstantin Käfer
e6bcbdd5d3
[core] set correct depth values for CustomLayer so compositing works
2016-08-22 18:32:12 +02:00
Thiago Marcos P. Santos
cb3b2997ea
[tests] Include what we use
2016-08-22 16:52:02 +03:00
Jesse Bounds
dfd40b27a5
[tests] Add tests for shape overlays crossing the antimeridian
...
This adds two tests:
AntimeridianAnnotationSmall: Test that a shape that is represented with
+-180 longitudinal values is drawn spanning the antimeridian. In other
words, it is rendered as a "small" shape as opposed to one that spans
around the world to reach the other side of the antimeridian. This test
is currently failing at the time of this commit.
AntimeridianAnnotationLarge: Test that a shape that is represented with
points that do not cross the +-180 boundary is rendered as a "large"
shape. In other words, it is rendered by wrapping around the world to
reach the other side of the meridian. This test is currently passing at
the time of this commit.
2016-08-19 16:51:01 +03:00
Jesse Bounds
d4271d993e
[core] Compare unsigned int to unsigned int to pass tidy check ( #5986 )
2016-08-12 17:08:52 -07:00
Minh Nguyễn
e147887e35
[core, android, ios, macos] Replaced getPointAnnotationsInBounds() w/ 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 .
2016-08-12 15:45:18 -07:00
Konstantin Käfer
e46b580c67
[build] unify naming of Makefile targets
...
`make foo` just builds
`make run-foo` builds and runs
2016-08-05 11:42:22 +02:00
Minh Nguyễn
53131def65
[core] Fixed test build errors
...
Missed this bad merge from #5729 .
2016-07-19 15:26:09 -07:00
Minh Nguyễn
1cf6b5de0c
Merge branch 'release-ios-v3.3.0'
2016-07-19 15:22:17 -07:00
Minh Nguyễn
8179f2f6b2
[core] Restored shape annotation z-order
...
Shapes are once again always added to the top z-index.
Fixes #5691 .
Cherry-picked from 74fe96d261 .
2016-07-18 15:21:35 -07:00
Minh Nguyễn
74fe96d261
[core] Restored shape annotation z-order
...
Shapes are once again always added to the top z-index.
Fixes #5691 .
2016-07-18 14:43:44 -07:00
Bruno de Oliveira Abinader
c670b08ecb
[core] Use PropertyValue<T> for Annotation line/fill
2016-07-13 11:57:09 +03:00