Julian Rex
edd04d31eb
[ios] Added offline query parameter ( #14857 )
2019-06-11 18:22:20 -04:00
Fredrik Karlsson
ad1b448da5
[ios] get sku token return value
2019-06-11 18:35:07 +02:00
Jason Wray
bd3d19f5bd
[ios] Update libmbxaccounts for navigation SDK override ( #14802 )
...
* Use a stringy selector... yerg.
* Bump to libmbxaccounts 1.0.0
2019-06-05 23:13:34 -07:00
Konstantin Käfer
892699a39a
[core] fix warnings with Xcode 11's updated Clang version
2019-06-04 10:07:19 +02:00
Fabian Guerra Soto
402645109f
[ios] Fix content insets with custom edge padding. ( #14813 )
...
* [ios] Fix content insets with custom edge padding.
* [ios, macos] Consolidated edge insets math
* [macos] Add content insets to edge padding when setting camera
* [ios, macos] Updated changelogs
* [ios, macos] Clarify setCamera:withDuration:animationTimingFunction:edgePadding method documentation.
2019-06-03 07:32:20 -07:00
Konstantin Käfer
9eb43a587b
[ios,macos] refactor MGLMapViewImpl
2019-05-29 18:27:42 +02:00
Jason Wray
0a7919ee7e
[ios] Update Raster Tiles API name and link
...
Also update another link to avoid a redirect.
2019-05-28 11:02:01 -07:00
Łukasz Paczos
7d6255c860
[core] option to perform platform specific operations when creating/destroying core threads
2019-05-22 15:52:55 +02:00
Jason Wray
29140f5b11
[ios] Enable SKU tokens for all requests
...
Removes conditional code that relied on a plist flag. Other small cleanups.
2019-05-20 22:49:50 -07:00
Fabian Guerra
65990b3e25
[ios] Rename performance's metrics variable names.
2019-05-16 11:13:39 -07:00
Jason Wray
6e92ca5de3
[ios] Update to libmbxaccounts 0.0.5 ( #14683 )
2019-05-16 09:43:42 -04:00
Thiago Marcos P. Santos
06f1dc48a2
[core] Make the BackgroundScheduler a singleton
...
- Do not carry it over everywhere as parameter, it is a shared
instance anyway and the lifecycle is pretty much the app lifecycle
from the moment we instantiate a map.
- Rename to BackgroundScheduler because it is a Scheduler that will
do tasks in the background, we don't make assumptions if it is a
thread pool or a single thread.
- Most importantly, remove the dependency from `core` on `platform`.
2019-05-10 14:20:38 +03:00
Konstantin Käfer
a53c88159f
[core] upgrade mapbox-gl-js pin to the most recent version
2019-05-08 14:10:11 +02:00
Konstantin Käfer
20a807fdf3
[core] render extrusions directly in the main framebuffer
2019-05-08 12:25:22 +02:00
Minh Nguyễn
f703c6f255
[ios, macos] Include fix-it suggestions in deprecation warnings
2019-05-07 22:18:02 -07:00
Minh Nguyễn
84a11ba4e5
[ios, macos] Removed MGLStyleValue references from documentation ( #14552 )
2019-05-07 17:13:44 -07:00
Julian Rex
f7915fdc51
[ios] Static analysis fix tweaks - part 2 ( #14572 )
2019-05-02 14:08:48 -04:00
Julian Rex
9bd59bf041
[ios, macos] Fixes for static analyzer warnings ( #14453 )
2019-04-30 17:08:37 -04:00
Jason Wray
7263c7973b
[ios] Remove events=true from new SKU requests
2019-04-29 15:12:38 -07:00
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
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
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
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
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
Julian Rex
b29704cd1f
[ios] Mute warnings about OpenGL deprecation. ( #14019 )
2019-03-05 08:52:14 -05: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