Commit Graph

13046 Commits

Author SHA1 Message Date
tobrun
724832ce5d [android] - example to render symbols offline with resources loaded from assets 2018-08-21 18:49:53 +02:00
tobrun
0218c01095 [android] - update map intializer for OfflineRegionDefintion with OfflineGeometryRegionDefinition 2018-08-21 18:49:35 +02:00
John Firebaugh
a842c198ac [android] Inline geometry conversion 2018-08-21 09:26:44 -07:00
John Firebaugh
9587f569f7 [android] Simplify enum conversion 2018-08-21 09:26:44 -07:00
John Firebaugh
1584d8f70a [android] Remove unused 2018-08-21 09:26:44 -07:00
John Firebaugh
2ff1ac3097 [android] Move conversion code to .cpp files 2018-08-21 09:26:44 -07:00
Tobrun
7ce6af3f55 [android] - expose stylejsoon confiugration on MapboxMapOptions and MapView attributes 2018-08-21 17:27:09 +02:00
Mikhail Pozdnyakov
5ce64b786c [ios, macos] Introduce MGLShapeSourceOptionLineDistanceMetrics
Exposes access to
https://www.mapbox.com/mapbox-gl-js/style-spec/#sources-geojson-lineMetrics
2018-08-21 13:49:35 +03:00
Łukasz Paczos
7e6331b29f [android] - updated GeoJsonSource tests 2018-08-21 11:56:08 +02:00
Łukasz Paczos
2c093e7f0b [android] - converting GeoJsonSource Java features to core ones on a worker thread 2018-08-21 11:56:08 +02:00
Kiyong Jung
5297f563a4 [android] Make AndroidRendererFrontend to request render once per event loop (#12586)
When AndroidRendererFrontend::update() called multiple times in a single loop, updateAsyncTask->send() will perform nothing, thus MapRenderer::update()/requestRender() will be coalesced.
2018-08-21 11:53:05 +02:00
Jordan Kiley
7fc872b797 Add enabled property to MGLShape (#12352)
* [ios, macos] Add -[MGLMapViewDelegate mapView:canSelectAnnotation:] method.

* [ios, macos] Update changelogs.

* [ios, macos] Add mapView:canSelect: integration tests.

* [ios, macos] Change semantics to shape annotations.

* [ios, macos] Update changelogs.

* [ios, macos] Update shapeAnnotationIsEnabled documentation, improve code readability.
2018-08-20 16:30:03 -07:00
Nadia Barbosa
50059659d1 Warn if MGLShapeSource is initialized with MGLShapeCollection
Move warning from ShapeCollection to ShapeSource

Try checking MGLComputedShapeSources

Include MGLShapeCollection header

Add changelog entry
2018-08-20 15:45:03 -07:00
Ivo van Dongen
fcb68041d5 [offline] Add option to pass geojson input file 2018-08-20 22:49:01 +03:00
Ivo van Dongen
ca0f2f925d [darwin] arbitrary offline region geometries 2018-08-20 22:49:01 +03:00
Ivo van Dongen
4fedcf8d06 [android] arbitrary offline region geometries 2018-08-20 22:49:01 +03:00
Ivo van Dongen
fae099933b [core] offline region definition - add support for arbitrary geometries 2018-08-20 22:49:01 +03:00
Konstantin Käfer
cf0313f219 [core] fix static library build 2018-08-20 21:25:10 +02:00
Bryan Haber
31bdb74f48 [build] fixed typo in list of configuration types; RelWithDebugInfo should be RelWithDebInfo
- added missing linker flags for Sanitize configuration type
- changed mason's download to use cmake's built-in support instead of directly calling curl
2018-08-20 21:24:12 +02:00
Chris Loer
b0fcca5879 [core, node] Re-implement "avoid edges" behavior for MapMode::Tile
- Fixes issue #12461.
 - Only implement "avoid edges" in MapMode::Tile since it's no longer relevant in Static or Continuous mode.
 - New: Force "avoid edges" to "true" for line labels, since in tile mode they'll always clip poorly at tile boundaries.
 - Remove unused "withinPlus0/inside" logic.
2018-08-20 10:50:05 -07:00
Konstantin Käfer
bded6c65d5 [build] use plain text files for file lists to simplify integration with other build systems 2018-08-20 19:11:31 +02:00
Konstantin Käfer
1b4398f7aa [core] downgrade event severity for erroneous DDS rendering to Warning 2018-08-20 18:05:33 +02:00
Konstantin Käfer
036a75037a [build] also generate debugging symbols for Release builds in Xcode 2018-08-20 17:50:46 +02:00
Łukasz Paczos
ff077e9ea9 [android] obtain paths to file directories on a worker thread 2018-08-20 16:39:51 +02:00
Konstantin Käfer
112bbc7ab2 [core] make style/conversion.hpp implementation private 2018-08-19 13:09:16 +02:00
Konstantin Käfer
9df9f5fe20 [build] simplify Android build 2018-08-19 13:09:16 +02:00
John Firebaugh
8ca419fb2e [core] Evict unused font stacks from GlyphManager 2018-08-17 09:38:39 -07:00
Jason Wray
790b9f5c82 [ios] Add experimental frame rate measurements to MGLMapView
Includes: average frame rate, average frame render duration, and instantaneous frame render duration.
2018-08-16 16:46:54 -04:00
John Firebaugh
19325b0293 [build] More diagnostics for npm install failures 2018-08-16 11:08:48 -07:00
Tobrun
369e6880db [android] - update changelog with fixed security vulnerability 2018-08-16 10:44:56 +02:00
Łukasz Paczos
fbc39fa42a [android] changelog for v6.4.0
(cherry picked from commit 5aee8d9)
2018-08-16 10:44:56 +02:00
Julian Rex
1847ef0fa9 [ios, macos] Update podspecs for 4.3.0 and 0.10.0 releases. (#12651) 2018-08-15 18:02:08 -04:00
Julian Rex
59cdb144b4 [ios, macos] Update change logs prior to release of v4.3.0 (#12650)
* [ios, macos] Update security vulnerability details in changelogs
* [ios] Updated change log to reference LTO changes.
2018-08-15 16:45:11 -04:00
Nadia Barbosa
91f934fdb6 [macos] Fix pod name within docs 2018-08-15 11:44:21 -07:00
Minh Nguyễn
2173088203 [ios, macos] Copyedited changelogs 2018-08-15 11:12:13 -07:00
Minh Nguyễn
d3e34907a3 [ios, macos] Copyedited changelogs 2018-08-15 11:12:13 -07:00
Minh Nguyễn
2424582ee3 [macos] Canonicalized another exception name 2018-08-15 09:57:28 -07:00
Nadia Barbosa
7795c76ce8 [macos] Rename Guides to Appendices 2018-08-15 09:05:30 -07:00
Łukasz Paczos
1771875b12 [android] hide peer constructors 2018-08-15 17:08:55 +02:00
Łukasz Paczos
c2113fdb98 [android] bumped Snapshot version building on master to 6.5.0 2018-08-15 12:13:18 +02:00
tobrun
b1ab362c11 [android] - store release so files with debugging information 2018-08-15 07:39:33 +02:00
Konstantin Käfer
9d72bf8a1a [build] make sure we're also updating the mapbox-ios-events submodule 2018-08-14 17:03:46 -07:00
Konstantin Käfer
084c28f0bb [core] recreate offline database when it is deleted out from under our feet 2018-08-14 17:03:46 -07:00
Konstantin Käfer
6e06e55b95 WIP: use expected<T, E> for passing on errors 2018-08-14 17:03:46 -07:00
Konstantin Käfer
89515de769 [test] add test for pending offline download when the disk is full 2018-08-14 17:03:46 -07:00
Konstantin Käfer
fa7b70945f [core] harden OfflineDatabase 2018-08-14 17:03:46 -07:00
Konstantin Käfer
a3b6fc1498 [build] vendor std::expected polyfill 2018-08-14 17:03:46 -07:00
Nadia Barbosa
c96d9df798 Guides -> Appendices 2018-08-14 16:38:38 -07:00
Nadia Barbosa
41169403a2 Rename link title 2018-08-14 16:38:38 -07:00
Nadia Barbosa
66a09b924f Fix line break 2018-08-14 16:38:38 -07:00