Commit Graph

968 Commits

Author SHA1 Message Date
Julian Rex
b29704cd1f [ios] Mute warnings about OpenGL deprecation. (#14019) 2019-03-05 08:52:14 -05:00
Jason Wray
05026b704a [build, darwin] Disable Xcode indexing-while-compiling on CI 2019-03-04 15:59:01 -08:00
Bruno de Oliveira Abinader
ba7427b4ac [core] Transform{State}: s/angle/bearing/ 2019-03-04 14:45:32 +02:00
Lloyd Sheng
0a41bb1e66 [ios] Make PingFang as the default local font family for GCJ glyphs(#13988)
* Make PingFang as the default local font family

* Add a changelog
2019-02-27 14:49:49 +08:00
Minh Nguyễn
26e1c925f2 [ios, macos] Expose MGLMapView OpenGL context to OpenGL style layers
Added a property to MGLOpenGLStyleLayer that contains the map view’s underlying OpenGL rendering context.
2019-02-25 10:44:43 -08:00
Jason Wray
c00d44740f [ios] Mock MGLOfflineStorage in MGLDocumentationExampleTests
Otherwise we risk kicking-off long-running offline pack downloads that could interfere with other tests.
2019-02-19 16:33:27 -08:00
Fabian Guerra Soto
1fc7a9b82e [ios, macos] Expose the url session configuration object. (#13886)
The `MGLNetworkConfiguration` class was make public, and added `sessionConfiguration` property to let developers customize the `NSURLSessionConfiguration` object that is used to make HTTP requests in the SDK.
2019-02-18 13:16:20 -08:00
Jordan Kiley
5d85056030 [ios, macos] Move apiBaseURL to MGLAccountManager` (#13754)
[ios, macos] Move `apiBaseURL` to `MGLAccountManager`
2019-02-13 13:20:48 -08:00
Thiago Marcos P. Santos
65cec8be34 [android,darwin,ios,qt] Remove unused code
These files are no longer needed after the new GL abstraction.
2019-02-12 19:42:08 +02:00
Thiago Marcos P. Santos
470b01847d [android,linux,darwin,qt] Load OpenGL for the platform
These loaders will provide pointers to the platform implementation
of OpenGL. On Android, Linux and Darwin, we simply link with the
OpenGL implementation that is expected to exist on the platform.

Qt has its own GL loader, so we just connect the dots.
2019-02-12 19:42:08 +02:00
Fabian Guerra Soto
63065e1268 [ios, macos] Update unit test bundle identifier. (#13875) 2019-02-05 14:49:00 -08:00
Jason Wray
b56a7181af [darwin, docs] Use shared mapbox/jazzy-theme submodule 2019-02-01 13:39:36 -08:00
Josh Erb
5d891b4b2a [ios][documenation] add additional code snippets to API docs 2019-01-30 13:18:45 -05:00
Jason Wray
44fbba8514 [darwin, docs] Improve method/property linking in jazzy 2019-01-29 16:06:10 -08:00
Jason Wray
2cec5cd493 [darwin, docs] Add jazzy styling for deprecated/unavailable methods 2019-01-29 16:02:28 -08:00
Jesse Crocker
984a5ccd5b [ios] Fix typo in MGLComputedShapeSource error message 2019-01-25 12:00:16 -08:00
Jason Wray
67e5761e72 [ios] Update more URLs to docs.mapbox.com/ios 2019-01-25 11:57:45 -08:00
Mikhail Pozdnyakov
8fedfbf160 [android, darwin] Fix core-only layer creation
In the layer manager implementations `addLayerTypeCoreOnly()`
should be called with core-only modules.
2019-01-25 15:38:07 +02:00
Fabian Guerra Soto
7069ecb2a1 [ios, macos] Add Czech and Hungarian translations. (#13782)
Added Czech translations.
2019-01-23 14:08:35 -08:00
Nadia Barbosa
332c1ac96a [ios] Fix links in documentation
[ios] Update to docs.mapbox.com

Update links
2019-01-23 13:16:28 -08:00
Fabian Guerra Soto
ca129e0c79 [ios, macos] MGLMapView logging improvements. (#13776)
Added NSEdgeInsets to NSString function to improve the debugging on macOS.
Added debug logs to MGLMapView.
2019-01-22 15:42:28 -08:00
Antonio Zugaldia
d5659aa664 [core,ios,android] Update feedback URL in code and tests (#13710)
* [core,ios] rename all occurrence of www.mapbox.com/map-feedback to apps.mapbox.com/feedback

* [ios,android] rename all occurrence of www.mapbox.com/feedback to apps.mapbox.com/feedback
2019-01-17 17:00:56 -08:00
Michael Muesch
24468956fc Ability to disable any layer using pre-processing flags. 2019-01-17 18:56:58 +02:00
Julian Rex
c8c664fbf3 [ios, macos] Support getLeaves (and related) clustering methods (#12952) following feature extension API (#13382) 2019-01-14 15:17:13 -05:00
Heather Stenson
6a31c9987b [macos] - update links to new API doc format (#13693) 2019-01-10 12:55:41 -08:00
Minh Nguyễn
4be73454e6 [ios] Migrated tests, playground to Swift 4.2 2019-01-09 14:52:30 -05:00
Konstantin Käfer
6f60ccf08e [build] generate header maps instead of -files.txt 2019-01-09 10:26:53 +01:00
Nadia Barbosa
f867c5784c [ios, macos] Bump code comments to streets-v8 2019-01-08 12:13:58 -08:00
Fabian Guerra Soto
4a858eb381 [ios, macos] Renames MGLStyle.enablePlacementTransitions (#13685)
* [ios, macos] Rename enablePlacementTransitions to performsPlacementTransitions.

* [ios, macos] Update changelogs.
2019-01-08 11:56:25 -06:00
Chris Loer
387fa1800f [ios, macos] Add "includesIdeographicGlyphs" option to MGLOfflineRegion. 2018-12-21 15:13:48 -08:00
Julian Rex
1c7cd243c4 [core,ios,macos] Updates default styles to streets v11, etc. (#13585) 2018-12-18 16:00:19 -05:00
Mikhail Pozdnyakov
a408b2f5d5 [mac, ios] Enable core-only layers
`LayerManagerDarwin` can add layer types that are enabled only for JSON style.
It allows to exclude the SDK wrappers for these layers from the project and decrease binary size.
2018-12-18 18:57:16 +02:00
Fabian Guerra Soto
fed201aaed [ios, macos] Fix number conversions when expressions cast to large numbers. (#13580)
* [ios, macos] Fix number conversions when expressions cast to large numbers.

* [ios, macos] Update changelogs.
2018-12-14 14:40:16 -08:00
Konstantin Käfer
1d8235f5b8 [build] rework platform/default directory and add -files.txt for vendored libs 2018-12-14 11:03:03 +01:00
Fabian Guerra Soto
bbeec8dacb [ios, macos] Add enablePlacementTransitions to MGLStyle. (#13565)
* [ios, macos] Add enablePlacementTransitions to MGLStyle.

* [ios, macos] Update changelogs.
2018-12-13 10:19:56 -08:00
Alexander Shalamov
b6b1067caf [ios, darwin] Make MGLFeature.attributes non-nullable and add integration test
Enforce non-nullable semantics for MGLFeature.attributes, to avoid construction of invalid mbgl::Feature properties
from nil NSDictionary object and align with public SDK property definition.

Integration test "testShapeSourceWithLineDistanceMetrics" is added to verify that MGLFeature is correctly converted.

Fixes issue #13378
2018-12-13 19:38:50 +02:00
Fabian Guerra
98984ef292 [ios, macos] Fix MGLTransition struct creation. 2018-12-12 15:07:23 -08:00
Jordan Kiley
b3a244f7d8 [darwin] move turnstile event for snapshotter (#13549) 2018-12-12 10:58:08 -08:00
Mikhail Pozdnyakov
ebd87a5442 [core, android, darwin] Move layer factories to separate files 2018-12-10 18:20:32 +02:00
Minh Nguyễn
3dffb1fd53 [ios] Added CJK string transforms 2018-12-08 02:18:56 -08:00
Jason Wray
fca084b923 [ios, macos] Add Streets-v8 field names to accessibility checks 2018-12-08 02:18:56 -08:00
Jason Wray
7cdbe6664a [ios, macos] Update for streets-v8 data and coalesced name fields in v11 styles 2018-12-07 21:46:46 -05:00
Lloyd Sheng
86117eb28f [ios] Add turnstile events for Snapshotter (#13476)
* Add turnstile events for iOS MGLMapSnapshotter
2018-12-06 11:51:33 +08:00
Minh Nguyễn
efe4f4c09d [android, ios, macos] Updated French translations
Removed an incompatible localized format string.
2018-12-04 22:29:39 -08:00
Minh Nguyễn
ff0f7a8754 [ios, macos] Refined source removal errors
Clarified and copyedited the descriptions of errors that are raised when attempting to remove a source from a style. Worded the changelog entry more generically because the same method in Swift throws an error instead of returning.

A mismatch would occur if the identifier is used by a different source than the one being removed. An application could cause this error to occur by keeping a reference to an MGLSource after changing the style URL of an MGLMapView. Another way would be to remove a source from the style, add another source to the style with the same identifier, then attempt to re-remove the original source from the style.
2018-12-04 22:29:39 -08:00
Maxime Le Moine
2b84c2df27 [ios] Update French translation - telemetry (#13360)
* Update French translation - telemetry

"Make better" is better translated by "Améliorer". "Rend meilleure les cartes Mapbox" is also grammatically incorrect.

* Update from Transifex
2018-12-01 22:00:31 -08:00
Mikhail Pozdnyakov
92352de87d [core] layermanager folder
Move `LayerManager` and `LayerFactory` abstract classes to a dedicated folder.
2018-11-30 19:09:17 +02:00
Bruno de Oliveira Abinader
e64c28613a [core] Support fill-extrusion-vertical-gradient 2018-11-29 14:23:55 +02:00
Jason Wray
fc1f744fbb [darwin] Add platform-agnostic MGLStringFromSize() method 2018-11-28 14:02:19 -05:00
Mikhail Pozdnyakov
ad03e42b28 [core] LayerManager can disable annotations
At the moment, the annotations implementation in the `mapbox-gl-native`
core is creating concrete layer instances apart from `LayerManager/LayerFactory`
code path.

So, annotations must be disabled if the `LayerManager` implementation does
not provide line, fill or symbol layers (those, used by the annotations).

Note: in future, annotations implementation will be moved from the core to the
platform SDK level(see https://github.com/mapbox/mapbox-plugins-android/tree/master/plugin-annotation)
and `LayerManager` won't need to disable it.
2018-11-28 17:18:38 +02:00