Anand Thakker
352d63d2ce
Don't enforce ["zoom"] constraints for filters ( #11672 )
...
* Don't enforce ["zoom"] constraints for filters
Fixes #11594
* Add a couple of comments
* Fix ambiguous constructor call
* ParsingContext(optional<Type>) => ParsingContext(Type)
2018-04-12 16:02:48 -04:00
Łukasz Paczos
22b4ef1f4b
Update layer immediately when changing its max/min zoom level ( #11399 )
...
* [android][core] update layer immediately when changing it's max/min zoom
* [core] node bindings for layer zoom range
2018-04-12 10:42:14 +02:00
Anand Thakker
c50a74d1c2
Remove unused lambda capture ( #11602 )
...
Fixes #11588
2018-04-05 10:57:45 -04:00
Chris Loer
75feda12f1
[core] Implement Expression::serialize()
...
Issue #10714
- Each expression stores its operator as a string, and default serialization is [operator, serialize(child1), ...]
- Custom implementations of `serialize` for Expression types that don't follow the pattern
- expression::Value -> mbgl::Value converter
- node_expression bindings to expose `serialize`
2018-02-28 16:09:09 -08:00
Chris Loer
8e1fc8ff38
[core, node] Hold on to map handle during NodeMap::request.
...
Avoids a potential crash if garbage collection happens in the middle of a call to NodeMap::request from a map that's eligible for GC.
Fixes issue #11281
2018-02-23 18:05:13 -08:00
Vladimir Agafonkin
82de856c94
[core, ios, macos, android, node] Heatmap layer ( #11046 )
...
Co-Authored-By: Konstantin Käfer <mail@kkaefer.com >
Co-Authored-By: Anand Thakker <anandthakker@users.noreply.github.com >
Co-Authored-By: Minh Nguyễn <1ec5@users.noreply.github.com >
2018-02-15 17:38:23 +02:00
Konstantin Käfer
d511f74ce4
[node] add setLight support
2018-01-24 16:35:47 -08:00
Molly Lloyd
f3294200c6
[core] add raster-dem source type and hillshade layer type ( #10642 )
2018-01-23 10:49:23 -08: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
Anand Thakker
f648cfeef6
Implement Expressions ( #9439 )
...
Ports https://github.com/mapbox/mapbox-gl-js/pull/4777 (and its several follow-ups)
2017-11-08 12:34:02 -05:00
John Firebaugh
4b2e1cddb4
Replace compile-time polymorphism with runtime polymorphism in the conversion system
2017-10-23 09:56:43 -07:00
Bruno de Oliveira Abinader
8acb78ee79
[node] Reset HeadlessFrontend in NodeMap::release()
2017-10-20 01:27:26 +02:00
Lauren Budorick
e43e2aa3d7
[core, node] Support axonometric rendering
2017-10-14 03:15:34 +02:00
Bruno de Oliveira Abinader
447d24bb19
[node] Added 'removeSource'
2017-09-15 18:28:40 -03:00
Bruno de Oliveira Abinader
e9914bf034
[node] Implement GeoJSON converter
2017-09-13 23:35:27 +03:00
Bruno de Oliveira Abinader
6ee8d7bb60
[node] Set style default camera upon each test suite run
2017-08-31 10:17:21 +03:00
Bruno de Oliveira Abinader
d43757271e
[node] Cleanup NodeMap::Render
2017-08-31 10:17:21 +03:00
John Firebaugh
32bd1d54fa
[node, tests] Consolidate headless rendering logic in HeadlessFrontend
2017-07-26 09:50:38 -07:00
Ivo van Dongen
d2a437d048
[node] manage backendscope in renderer frontend
2017-07-25 17:44:28 +03:00
John Firebaugh
9d22ac8281
Partially revert "[node] Fix memory test hanging after GlyphAtlas refactoring ( #8394 )"
...
This reverts commit 5700c99e55 .
2017-07-21 09:31:39 -07:00
Ivo van Dongen
a5a0558bde
[test] allow only a single shared display to avoid egl errors
2017-07-18 10:45:12 +02:00
Ivo van Dongen
815ffb253b
[android][glfw][ios][macos][node][qt] rename backend to renderer backend
2017-07-18 10:45:12 +02:00
Ivo van Dongen
b97cc980e0
[node] rendering interface changes
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
39a732d7ae
[android][glfw][ios][macos][node][qt] split backend from mapobserver
2017-07-18 10:45:12 +02: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
Asheem Mamoowala
c0c1028dcf
[core] Add toDouble Conversion method for correctly parsing Lat Lng coordinates
2017-06-01 15:38:01 -07:00
John Firebaugh
9e1cbbeacb
[node] Pixel ratio may be floating point
2017-05-23 12:59:27 -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
Bruno de Oliveira Abinader
baeaad83a3
[tidy] modernize-use-emplace
2017-05-12 18:07:36 +03:00
John Firebaugh
baaae99a03
[core, android] Factor JSON string conversions
...
This adds a `convertJSON` template, to be used like:
Error error
optional<Foo> foo = convertJSON<Foo>(string, error);
Internally, it parses the string with RapidJSON and then calls `convert<Foo>(parsed, error)`.
While here, rationalize GeoJSON converters and fix error handling for Tileset conversion in OfflineDownload.
2017-05-08 13:48:57 -07:00
Asheem Mamoowala
5c52401d55
[core] Make Map.addImage tests pass ( #8843 )
...
Fix Node tests suite implementation to parse pixelRatio from style json
Premultiply images in the node binding before sending to mbgl core
2017-05-02 09:54:06 -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
Thiago Marcos P. Santos
51ebb96b1d
[node] Add map.cancel()
...
Cancels an ongoing rendering.
2017-04-20 18:46:35 +03:00
Bobby Sudekum
0e72fc4ec3
[node] Calculate image buffer and length once ( #8673 )
2017-04-07 10:23:31 -07:00
Molly Lloyd
e9cc666390
[node] fix node bindings 🐛
2017-03-28 11:06:58 -07:00
John Firebaugh
306b895dad
[node] Fix mistaken .cpp include
2017-03-28 13:53:19 +02:00
Konstantin Käfer
8e5214144e
[core] Ensure that a BackendScope exists when doing GL calls
2017-03-23 14:50:11 -07:00
John Firebaugh
d7227e13a7
[all] Replace Result<T> with optional<T> plus out Error parameter
2017-03-23 13:31:13 -07:00
Bruno de Oliveira Abinader
5e3308c5c0
[node] Update changes in MapObserver::onDidFailLoadingMap
2017-03-17 11:25:48 +02:00
Bruno de Oliveira Abinader
d152efb8cb
[node] Support mbgl::MapObserver
2017-03-15 14:53:32 +02:00
Thiago Marcos P. Santos
5700c99e55
[node] Fix memory test hanging after GlyphAtlas refactoring ( #8394 )
...
Replies are assumed to be asynchronous after e3500c1f79 .
2017-03-14 13:19:58 -07:00
John Firebaugh
b05e19b389
[node, glfw] Remove libuv 0.10 support
2017-03-10 15:03:18 -08:00
Ivo van Dongen
548675a196
[core] rename query options for query rendered 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
Konstantin Käfer
62ea1f2185
[core] remove trailing whitespace, add trailing newlines, add space after //
2017-01-27 11:44:16 +01:00
Bobby Sudekum
2988ca16c1
Add addImage, removeImage API ( #7610 )
2017-01-09 13:03:17 -08:00