Julian Rex
43553c37e9
[ios] Enable/Disable sku token handling ( #14467 )
2019-04-24 14:40:45 -04:00
Fabian Guerra Soto
88a6525427
[ios] Make MGLLocationManager protocol swift friendly. ( #14477 )
...
Improved MGLLocationManager protocol bridging to swift.
* [ios] Make MGLLocationManager protocol swift friendly.
* [ios] Update changelog.
2019-04-24 09:12:45 -07:00
Jason Wray
d5569f4b01
[ios] Add SKU tokens to all Mapbox requests ( #14421 )
2019-04-17 18:27:54 -07:00
Alexander Shalamov
32376115c3
[darwin] Generate style code for symbol-sort-key
2019-04-17 15:04:08 +03:00
Fabian Guerra Soto
a8526b4c91
[ios, macos] Fix MGLSymbolStyleLayer.text localization issue. ( #14405 )
...
Fixed an MGLSymbolStyleLayer.text localization bug caused by the introduction of MGLAttributedExpression object. The localization parsing was ignoring the latter.
* [ios, macos] Fix a localization issue.
* [ios, macos] Add formating expressions localization test.
* [ios, macos] Update MGLSymbolStyleLayer.text documentation.
2019-04-15 13:54:53 -07:00
Nadia Barbosa
2ee967a036
[ios, macos] Premultiply color values for mgl_color
...
Fixes https://github.com/mapbox/mapbox-gl-native/issues/14329
2019-04-12 11:07:46 -07:00
Fabian Guerra Soto
2f0af0e8f4
[ios] Deactivate MGLMapView IBDesignable ( #14379 )
...
Removed MGLMapView's IBDesignable attribute. The map's view render attributes
uses GL, making changes through the inspectables were not reflected in the storyboard
and were causing IB crashes.
* [ios] Deactivate MGLMapView IBDesignable.
* [ios] Remove IBDesignable agent code.
* [ios, macos] Remove NSProcessInfo category from iOS.
2019-04-10 13:01:59 -07:00
Jason Wray
7bfb9c9658
[ios] Update mapbox/jazzy-theme
2019-04-10 12:38:36 -07:00
Fabian Guerra Soto
8389e746b6
[ios, macos] Add Mapbox Maps SDK metrics manager. ( #13997 )
...
Added MGLSDKMetricsManager to keep track of SDK related events such as tile download times.
* [ios, macos] Add tile download performance event.
* [ios, macos] Modify the performance event format.
* [ios, macos] Add Mapbox Maps SDK events manager.
* [ios, macos] Remove events delegate.
* [ios, macos] Remove deprecated macro.
* [ios, macos] Rename MGLEventsManager to MGLMetricsManager.
* [ios, macos] Make MGLMetricsDelegate follow delegate convention.
* [ios, macos] Remove mbgl-filesource target dependency on MGLMetricsManager.
* [ios, macos] Update metrics manager documentation.
* [ios, macos] Add device metadata.
* [ios, macos] Rename MGLMetricsManager to MGLSDKMetricsManager.
2019-04-09 16:10:14 -07:00
Konstantin Käfer
5cc3d7a733
[core] move GLContextMode to RendererBackend
2019-04-05 11:49:17 +02:00
Konstantin Käfer
66c020034e
[core] refactor RendererBackend
2019-04-05 11:49:17 +02:00
Konstantin Käfer
a782a6d15b
[core] move BackendScope to gfx namespace
2019-04-05 11:49:17 +02:00
Jason Wray
cfd398a499
[ios] Remove unused line from MGLExpressionTests
2019-04-03 15:56:28 -07:00
Ansis Brammanis
2455275bf4
add onStyleImageMissing to allow dynamically loaded or generated images ( #14253 )
...
Also make `Style#updateImage(...)` much faster when the image doesn't change size. This can be useful for asynchronously generating images.
2019-04-02 12:57:45 -04:00
Mikhail Pozdnyakov
2cfdd1a2f7
[Darwin] Improve documentation for enum array properties
2019-03-29 16:18:41 +02:00
Mikhail Pozdnyakov
1eaae50ffe
[darwin] Support for variable text placement API
2019-03-29 16:18:41 +02:00
Julian Rex
c7d53676d0
[ios, core] Updates project for iOS SDK 12.2 / Always use vendored optional ( #14241 )
2019-03-27 09:58:41 -04:00
Fabian Guerra Soto
10114c85bb
[ios, macos, build] Remove DEBUG from logging configuration. ( #13933 )
...
* [ios, macos] Change the debug flag usage to NDEBUG.
* [ios, macos] Add NDEBUG preprocessor macro to ios/macos project conf.
2019-03-25 09:25:08 -07:00
Bruno de Oliveira Abinader
ac6855a473
[core] Fix signature of fluent interface setters
2019-03-23 09:12:44 +02:00
Fabian Guerra Soto
1d7b243a06
[ios, macos] Support expressions in formatting parameters. ( #14198 )
...
Modified MGLAttributedExpression object to support NSExpressions as formatting attributes only. This aligns with GL and Android implementation and specification.
Modified the documentation accordingly, and changed MGLFontSizeAttribute to MGLFontScaleAttribute to clarify the true function of the formatting parameter.
2019-03-22 13:45:39 -07:00
Fabian Guerra Soto
1388f3a502
[ios, macos] Fix conditional expression parsing error. ( #14181 )
...
Fixed an error that caused conditional expressions to crash when a conditional parameter was also a conditional expression.
2019-03-21 12:36:39 -07:00
Bruno de Oliveira Abinader
d5868d3da8
[core] Remove file source from public Map ctor
2019-03-20 21:30:08 +02:00
Bruno de Oliveira Abinader
8ac73254c1
[darwin] [MGLOfflineStorage mbglFileSource] is now a shared_ptr
2019-03-20 21:30:08 +02:00
Fabian Guerra Soto
fc77090fce
[ios, macos] Fix format expression parsing. ( #14168 )
...
Fixed a parsing issue when a non-constant expression was passed to MGLAttributedExpression.expression property.
2019-03-20 10:49:23 -07:00
Fabian Guerra Soto
174c8fa7e4
[ios, macos] Add text-color support to format expressions. ( #14146 )
...
Added the possibility of overriding paint properties inside the format expression.
Added an example of how to create an MGLAttributedExpression object and documented the attributes keys and value types.
Fixed a bug that ignored the font names.
2019-03-19 14:53:35 -07:00
Minh Nguyễn
40458177b7
[ios] Deleted unused NSData category
2019-03-18 22:12:43 -07:00
Fabian Guerra Soto
7939ff213a
[ios, macos] Add format expression convenience methods support. ( #14094 )
...
Added the ios/macos format expression bindings.
The equivalent is mgl_attributed: or mgl_attributed({}) when making an expression using the expressionForFormat selector.
A new constructor called mgl_expressionForAttributedExpressions:(NSArray<NSExpression*>*)attributedExpressions was added to NSExpression+MGLAdditions category.
Updated the symbol style layer text test to use the bindings.
Updated the Predicates and Expressions.md and For Style Authors.md.ejs template with the bindings.
2019-03-15 16:10:27 -07:00
Langston Smith
42144ce1dc
[android, iOS, macOS] Adding Galician translation from Transifex ( #14095 )
...
* [android] adding galician strings
* [ios] adding galician strings
* [ios, macos] Added Galician localization to Xcode projects
* [ios, macos] Converted Galician localization to UTF-8
* [android, ios, macos] Updated changelogs
2019-03-13 09:42:52 -07:00
Jason Wray
fb1b601038
[darwin] Fix MGLMapView.direction wrapping
...
Re-adds the 0-to-360° wrapping for MGLMapView.direction. Without this wrapping, we’d get ±180° from core, which results in invalid CLLocationDirection for the negative half of the rotational spectrum.
2019-03-12 14:49:49 -07:00
Fabian Guerra Soto
79f3307c4b
[ios, macos] Fix a bug with multiple format expressions. ( #14064 )
...
Fixed a bug where `format` expressions using the generic `MGL_FUNCTION` binding ignored multiple formatting parameters.
2019-03-07 19:28:20 -08:00
Jason Wray
d0ffaa4245
[ios] Reset access token state after running tests
2019-03-07 11:36:04 -08:00
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