Commit Graph

5814 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
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
Ł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
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
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
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
fa7b70945f [core] harden OfflineDatabase 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
Nadia Barbosa
04705f4364 Addiional darwin fixes and Jazzy template updates 2018-08-14 16:38:38 -07:00
Nadia Barbosa
9bd23a7362 Update darwin docs 2018-08-14 16:38:38 -07:00
Nadia Barbosa
b8a1b13420 Fix typo 2018-08-14 16:38:38 -07:00
Nadia Barbosa
bee605e063 Edit link 2018-08-14 16:38:38 -07:00
Nadia Barbosa
4b9ed3837a [ios] Remove duplicated guides 2018-08-14 16:38:38 -07:00
Chris Loer
20f880ebec [core] Fix querying for annotations near tile boundaries at high zoom.
Fixes issue #12472.
This commit doesn't address the underlying issues that come from symbolAnnotationTree using a slightly lower precision coordinate system than the annotations themselves.
Instead, it just puts a small padding around each tile when it queries for tile data, so that symbols right at the tile boundary will be included in both tiles.
The rendering/querying code will take care of only displaying one instance.
The padding is in global coordinates, so at higher zoom the padding will be larger in tile units -- this is consistent with precision loss also being greater at higher zoom.
2018-08-14 12:35:50 -07:00
Vladimir Kondrashov
9ecb0997ef [core] Fix out of range exception for string compare 2018-08-14 11:16:10 -07:00
Langston Smith
60cbedc344 Fix to textureview transparent background testapp activity (#12605)
* removed comma

* removed map style declaration in xml
2018-08-14 07:35:23 -07:00
Thiago Marcos P. Santos
f3ebdaebaf [windows] Fix build on Windows
Include what you use.
2018-08-14 12:09:09 +03:00
Chris Loer
41d5768f58 [core] Don't default-show text/icons that depend on the placement of a paired icon/text
Fixes issue #12483.
2018-08-13 14:31:30 -07:00