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
63065e1268
[ios, macos] Update unit test bundle identifier. ( #13875 )
2019-02-05 14:49:00 -08:00
Josh Erb
5d891b4b2a
[ios][documenation] add additional code snippets to API docs
2019-01-30 13:18:45 -05: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
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
Minh Nguyễn
4be73454e6
[ios] Migrated tests, playground to Swift 4.2
2019-01-09 14:52:30 -05: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
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
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
Minh Nguyễn
3dffb1fd53
[ios] Added CJK string transforms
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
Bruno de Oliveira Abinader
e64c28613a
[core] Support fill-extrusion-vertical-gradient
2018-11-29 14:23:55 +02:00
Mikhail Pozdnyakov
361982fef8
[core][Android][Darwin] LayerManager creates RenderLayer instances
...
`LayerManager` is now responsible for `RenderLayer` instances creation,
so that there is a single entry point for creating of objects, which
correspond to a certain layer type.
The `LayerType type` field is dropped from `Layer::Impl`.
2018-11-27 18:10:21 +02:00
Julian Rex
fd4b470158
[ios] Adds support for MGLCollisionBehaviorPre4_0 in NSUserDefaults ( #13426 )
2018-11-21 13:56:41 -05:00
Jason Wray
ddcecdf7f7
[darwin] Rename variables to avoid shadow declarations
...
Per GCC_WARN_SHADOW.
2018-11-20 11:48:18 -05:00
Jason Wray
83ecb76562
[darwin] Fix GCC_WARN_SIGN_COMPARE warnings
2018-11-20 11:48:18 -05:00
Julian Rex
90f609ca8f
[ios, macos] Added -(BOOL)[MGLStyle removeSource:error:] that provides an NSError. ( #13399 )
2018-11-20 10:26:09 -05:00
Minh Nguyễn
425a3ade9e
[ios, macos] Harmonize bundle identifiers
...
For consistency with each other and with their product name and module name, the iOS and macOS map SDKs now have a bundle identifier of com.mapbox.Mapbox, whether in the form of a static or dynamic framework. The logging subsystem identifier has also been changed to match.
2018-11-15 22:00:30 -08:00
Bruno de Oliveira Abinader
bf8b24fa8d
[build] Update to geometry v1.0.0
2018-11-13 17:28:26 +02:00
Minh Nguyễn
d13cd54af6
[ios, macos] Renamed ambient cache prewarming method
...
Renamed the method for prewarming the ambient cache to conform to Cocoa and Swift naming conventions.
2018-11-08 14:40:23 -08:00
Mikhail Pozdnyakov
56808731b6
Remove style::Layer::is()/as()
2018-10-31 11:22:46 +02:00
Minh Nguyễn
3f314682fa
[ios, macos] Added $lineProgress expression variable
2018-10-30 14:26:59 -07:00
Minh Nguyễn
7ae171c6f9
[ios, macos] Fixed crash on nullary vararg expression function
...
Equate the nullary and unary forms of vararg-style aftermarket expression functions when converting to JSON objects.
2018-10-27 23:38:20 -07:00
Chris Loer
8368bd4878
[tests, darwin] Standardize on 10 second timeout for map loading
...
5 second timeouts have been intermittently failing on CI.
2018-10-17 13:14:44 -07:00
Chris Loer
aab55cfbcd
[darwin,test] Add "must-revalidate" support to putResourceWithURL
...
Testing must-revalidate: true required an expiration date in the future, which exposed a round-tripping problem from translating NSDate to time_point based on now().
Use epoch of 1970 instead (although technically it's not guaranteed to be the epoch for system_clock until C++20)
2018-10-17 12:53:24 -07:00
Chris Loer
c66f92f452
[test] Test[ MGLOfflineStorage putResourceForURL]
2018-10-17 12:53:24 -07:00
Chris Loer
d0cd49f516
[ios, macos] Minimal darwin wrappers of 'format' expression
...
Add support for `MGL_FUNCTION('format', <text>, <options dictionary>)`
2018-10-15 13:15:46 -07:00
Fabian Guerra
710a7f5037
[ios, macos] Enable offline merge test.
2018-10-04 11:04:15 -07:00
Minh Nguyễn
a9dc1b5294
[ios, macos] Fixed camera initialization with eye coordinate
...
Rewrote the code that calculates the heading and pitch of the camera when given an eye coordinate.
2018-10-01 18:12:03 -07:00
Minh Nguyễn
85a474e275
[ios, macos] Added MGLMapCamera.viewingDistance property
...
Co-authored-by: Dave Prukop <dave.prukop@mapbox.com >
2018-10-01 18:12:03 -07:00
Minh Nguyễn
a030f1474f
[ios, macos] Distinguish between viewing distance and altitude
...
+[MGLMapCamera cameraLookingAtCenterCoordinate:fromDistance:pitch:heading:] incorrectly treated the distance as an altitude. Due to backwards compatibility concerns, this method can’t be fixed in place. Instead, separate +[MGLMapCamera cameraLookingAtCenterCoordinate:correctlyFromDistance:pitch:heading:] and +[MGLMapCamera cameraLookingAtCenterCoordinate:altitude:pitch:heading:] methods have been added.
2018-10-01 18:12:03 -07:00
Fabian Guerra
9b21786f62
[ios, macos] Disable offline merge test.
2018-10-01 16:45:00 -07:00
Jason Wray
1ce31af289
[ios] Bump more test timeouts for Xcode 10 sluggishness
2018-09-26 14:12:57 -07:00
Jason Wray
737ebed7d5
[ios, tests] Bump most waitForExpectationsWithTimeout's to 5s
...
[skip firebase]
Bump MGLOfflineStorageTests timeouts to 5 seconds
2018-09-20 14:57:07 -07:00
Jason Wray
0a1b38e7f8
[ios, tests] Work around improper verbing of 'optional'
2018-09-20 13:42:57 -07:00
Fabian Guerra
9b09ec1e6a
[ios, macos] Fix add file content test, create Documents folder when missing.
2018-09-19 15:13:05 -07:00
Fabian Guerra Soto
a938c3ef68
[ios, macos] Offline regions merge. ( #12791 )
...
* [ios, macos] Add offline regions merge.
* [ios, macos] Update changelogs.
* [ios, macos] Fix refreshing the offline packs after new content is added.
* [ios, macos] Update MGLOfflineStorage's add contents of file documentation.
* [ios, macos] Add MGLOfflineStorage test cases for adding file contents.
* [ios, macos] Add offline merge test database.
* [ios, macos] Add packs parameter to MGLBatchedOfflinePackAdditionCompletionHandler.
* [core] Fix a query mege duplication.
* [ios, macos] Remove unnecessary pack iteration.
* [ios, macos] Fix packs update KVO notifications.
* [ios, macos] Add localization strings.
* [core] Fix query readability.
* [ios, macos] Fix MGLOfflineStorageTest, cleanup the cache database after the test.
* [ios, macos] Fix offline packs, updating triggers a crash.
2018-09-17 15:31:43 -07:00
ryanhamley
31cca05fc6
Port symbol-z-order symbol layout style-spec property to Native
2018-09-07 13:05:19 -07:00
Nadia Barbosa
7017ac512e
[ios, macos] Allow -convertCoordinateBounds to span antimeridian
2018-09-04 18:57:18 -07:00
Molly Lloyd
4a5dc37245
[core] Implement CrossFadedDataDrivenProperty to add support for feature expressions in *-pattern properties
2018-08-31 13:08:47 -07: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
Ivo van Dongen
ca0f2f925d
[darwin] arbitrary offline region geometries
2018-08-20 22:49:01 +03:00
Jason Wray
ec7b920603
[ios] Standardize exception definitions
2018-08-09 13:35:28 -04:00
John Firebaugh
9bdd765a02
[core] Merge DataDrivenPropertyValue into PropertyValue ( #12513 )
2018-07-31 14:21:47 -07:00
Lloyd Sheng
9c90509750
[iOS] Add fallbacks for name fields ( #12387 )
...
* Add fallbacks for name fields
* Add a fallback for `name_zh-Hant`
* Update changelog
2018-07-26 13:53:12 +08:00
Chris Loer
0b2221cb74
[android, ios, macos] Generate symbol-placement: line-center wrappers
2018-07-23 13:33:27 -07:00
John Firebaugh
2c5d0e74a1
[ios, macos] Convert token strings to expressions on input
...
Removes mgl_expressionByReplacingTokensWithKeyPaths and associated code. Converting on output is no longer necessary: from the prior commit, core converts token strings to expressions at parse time; all that's necessary is to ensure that the runtime styling API does so as well.
2018-07-20 12:35:00 -07:00
John Firebaugh
c8edbb0500
[core] Replace {Source,Camera,Composite}Function with PropertyExpression
2018-07-20 11:56:30 -07:00