Commit Graph

6013 Commits

Author SHA1 Message Date
Tobrun
62af756ab8 [android] - use appcompat resource configuration for vector drawables 2018-10-16 20:04:46 +02:00
Tobrun
26896f2baf [android] - bump snapshot version to 6.7.0 2018-10-16 20:04:15 +02:00
Chris Loer
fc11d2e872 [core, test] Add BiDi unit test
- Port of arabic.test.js from mapbox-gl-rtl-text
- Modify BiDi::getLine to remove trailing nulls in the event UBIDI_REMOVE_BIDI_CONTROLS causes the string to shorten.
- Patch vendored ICU to avoid undefined undefined bit shifting behavior (triggered sanitizer failure)
2018-10-15 13:15:46 -07:00
Chris Loer
fdfb9386a6 [android] Minimal Android support for 'format' expression
- No dedicated support for creating format expressions
- Java accessors for 'text-field' flatten back to String
- 'text-field' setter implicitly creates a 'format' expression. For tests, use JsonArray to build an equivalent format expression by hand.
2018-10-15 13:15:46 -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
Chris Loer
ce76bde13d [core] Initial implementation of 'format' expression 2018-10-15 13:15:46 -07:00
Chris Loer
bc71825774 [core] Bidi support for styled text.
Remove use of QString from non-ICU Qt stub bidi implementation since we weren't making use of it.
2018-10-15 13:15:46 -07:00
Tobrun
787bbdfa51 [android] - remove obsolete catch block in getLayerAs 2018-10-15 18:56:55 +02:00
Tobrun
ecb59bf1f8 [android] - include mapbox sdk services proguard configuration 2018-10-15 18:56:36 +02:00
Tobrun
b9029e765d [android] - avoid printing exception for valid code execution path 2018-10-15 18:56:16 +02:00
Tobrun
678158bf6c [android] - add equals, hashcode and toString to camera update types from CameraUpdateFactory 2018-10-12 20:26:25 +02:00
Tobrun
6177427108 [android] - infer nullity 2018-10-12 18:40:29 +02:00
Tobrun
a436fd233f [android] - add NonNull to MapboxMap parameter for onMapReady callback, removes necessity to add question mark to all mapboxMap invocations 2018-10-12 18:40:29 +02:00
Tobrun
9e7694cb38 [android] - replace OnMapChange with specific callbacks 2018-10-11 14:12:35 +02:00
Łukasz Paczos
52bc08456e [android] changelog for 6.6.0 2018-10-11 11:31:31 +02:00
Fabian Guerra
3d009789d3 [ios] Bump podspecs to 4.5.0 and update changelog. 2018-10-10 14:37:13 -07:00
Antonio Zugaldia
442e3f350f [android] push a new mapofflineevent upon region creation (#12544) 2018-10-09 13:40:41 -04:00
Jason Wray
90ccf22dec [ios] Fix divide-by-zero when setting FPS on iOS <10 2018-10-09 11:30:36 -04:00
Jason Wray
33f2ae0f3f [ios] Add support for Simulator in UIDevice.mgl_isLegacyDevice 2018-10-09 11:30:36 -04:00
Tobrun
f997dc30b9 [android] - fix readme to point to correct developing.md in root 2018-10-09 15:40:28 +02:00
Tobrun
1e71075b3f [android] - reverse order of prioritising shape vs marker click handling 2018-10-09 14:36:50 +02:00
ear7h
7bf29bbf5a [linux] add map_snapshotter.*pp to linux core build 2018-10-09 11:15:19 +03:00
Minh Nguyễn
6786ca6bf7 [ios, macos] Updated world tour locations 2018-10-08 13:47:22 -07:00
Łukasz Paczos
f1506d10da [android] - fix fragments example that were crashing on orientation change 2018-10-08 13:34:29 +02:00
Jason Wray
91ea258dde [ios] Ignore deprecation warnings for MGLMapView.userLocationVerticalAlignment 2018-10-05 18:34:03 -04:00
Fabian Guerra
710a7f5037 [ios, macos] Enable offline merge test. 2018-10-04 11:04:15 -07:00
Fabian Guerra Soto
9cf023b90f [ios] release v4.5.0 beta.1 podspec bump and changelog updates. (#13027)
* [ios] Bump podspec to v4.5.0-beta.1

* [ios, macos] Update changelogs.
2018-10-03 15:10:06 -07:00
Molly Lloyd
f4ffcaa62f [ios, macos, android, node] update changelogs 2018-10-03 11:46:49 -07:00
Jason Wray
0200773762 [ios] Update events library to include symbol namespace fix 2018-10-03 13:26:59 -04:00
Jason Wray
360a36771b [ios, build] Check symbol namespacing for mapbox-events-ios 2018-10-03 13:26:59 -04:00
Jason Wray
1fe29b284f [darwin] Rename 'make check-public-symbols' to darwin-check-public-symbols 2018-10-03 13:26:59 -04:00
Łukasz Paczos
b8578cd13e [android] - changelog for 6.6.0-beta.1 2018-10-03 17:42:02 +02:00
Łukasz Paczos
5bfdd9fb8d [android] - move camera and puck immediately when starting to track and displacement is big 2018-10-03 13:13:17 +02:00
Łukasz Paczos
b31245b965 [android] - add configuration to change the animation duration multiplier when tracking location 2018-10-03 12:40:25 +02:00
Nadia Barbosa
7b243392e3 [ios] Add delegate method to specify the user location annotation’s position
Update method name

More API drafting

Add deprecation flag

Add Swift delegate integration test

Update method name and documentation

Update deprecation notices

Update method name

Offset anchor point relative to contentFrame

Update docs

Only run through switch statement if delegate is unimplemented

Account for content inset + refactor logic

Adjust edgePaddingForFollowing

Fix Swift delegate integration test

Set up integration test

Set up test location manager

.

Remove unused file reference from test

Return CGPoint value from delegate method within integration test setup

Test anchor points

Make updateUserLocationAnnotationView public

Refactor test

Update test location manager

Changelog entry

Doc fixes
2018-10-02 18:28:53 -04:00
Fabian Guerra Soto
41dd886ce5 [ios, macos] Add Italian settings translations. (#12908)
* [ios, macos] Update transifex Root directory.

* [ios] Update Settings.bundle italian translation.
2018-10-02 09:36:08 -07:00
Bruno de Oliveira Abinader
19179e08bc [core] Do not constrain on X axis in ConstrainMode::HeightOnly 2018-10-02 06:16:13 -07:00
Konstantin Käfer
0ef0a9763c [ios,android,macos] add changelog entry for #12931
[skip firebase]
2018-10-02 13:47:58 +02: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
Dave Prukop
79dd9ca250 Moved MGLAltitudeForZoomLevel and MGLZoomLevelForAltitude to public API (#12986)
* Moved MGLAltitudeForZoomLevel and MGLZoomLevelForAltitude to public API

* Added notes to changelogs for ios and macos
2018-10-01 16:46:11 -07:00
Fabian Guerra
9b21786f62 [ios, macos] Disable offline merge test. 2018-10-01 16:45:00 -07:00
Bruno de Oliveira Abinader
6c4cb063c2 [Qt] UpdateParameters should always be available when rendering 2018-10-01 23:51:33 +03:00
Fabian Guerra
0dff7879f6 [ios] Bump podspec to 4.5.0-alpha.2. 2018-09-26 16:25:17 -07:00
Jason Wray
93eeedc8f5 [ios] Enable 120fps on capable devices 2018-09-26 15:25:23 -07:00
Fabian Guerra Soto
57837443bb [ios, macos] Add crossSourceCollissions property. (#12941)
* [ios, macos] Add crossSourceCollissions property.

* [ios, macos] Add perSourceCollisions property.

* [ios, macos] Update changelogs.
2018-09-26 15:17:30 -07:00
Jason Wray
1ce31af289 [ios] Bump more test timeouts for Xcode 10 sluggishness 2018-09-26 14:12:57 -07:00
Łukasz Paczos
20b33ad5da [android] changelog for 6.6.0-alpha.2 2018-09-26 22:39:20 +02:00
Minh Nguyễn
871aebffca [ios] Static framework defines module
Fixed build errors in the dynamic+static scheme by ensuring that both the dynamic and static targets have the same DEFINES_MODULE build setting.
2018-09-26 11:08:39 -07:00