Commit Graph

1690 Commits

Author SHA1 Message Date
Jason Wray
4709bf0529 [ios] Update custom install docs for Xcode 9.1 2017-12-22 11:12:18 -08:00
Jason Wray
f71ba9907c [ios] Add 1024px app icon for iosapp 2017-12-15 19:21:44 -05:00
Jason Wray
f10377d416 [ios, macos] Update to Xcode 9.x build settings 2017-12-15 19:21:38 -05:00
Andrew Kitchen
9b9cfd910c [ios] Fix C++ symbol visibility warnings in test suite
Fixes #10656
2017-12-15 13:19:24 -05:00
Chris Loer
4fcf1853b0 [ios,macos] Revert ideographic->ideograph name change.
Original GL JS name was meant to represent "font family to use for locally generating ideographs", but "ideographic font family" communicates a similar intent more concisely.
2017-12-11 10:43:00 -08:00
Chris Loer
6dbb9eb22a [ios,macos] Update docs to use Apple-friendly "PingFang" font example. 2017-12-11 10:43:00 -08:00
Andrew Kitchen
05f70257c9 [macos, ios] Adds documentation for the MGLIdeographFontFamilyName key 2017-12-11 10:43:00 -08:00
Chris Loer
155804be4d [ios,macos] Remove dead/non-functioning font-weight and glyph metric code.
Add local font family to default iosapp configuration.
2017-12-11 10:43:00 -08:00
Andrew Kitchen
b2f06677a7 [darwin, ios, macos] Introduces an MGLRendererConfiguration class
Instructions for enabling client-side rendering of CJK glyphs live in
this header, and this class provides the rest of the values needed for
instantiating the renderer on iOS and macOS.
2017-12-11 10:43:00 -08:00
Andrew Kitchen
3713102005 [ios, macos] Adds support for specifying an ideographic font family name
Adding a MGLIdeographicFontFamilyName to the containing app's Info.plist
will result in CJK glyphs being rasterized on demand (#10522)
2017-12-11 10:43:00 -08:00
Chris Loer
cb380064bb [ios,macos] Darwin implementation of a CoreText-based LocalGlyphRasterizer.
- Changing font weight does not currently appear to be working.
 - Glyph metric extraction code not working; currently unused.
2017-12-11 10:43:00 -08:00
Chris Loer
1661af1cb4 [core] Enable local glyph generation using TinySDF.
- Platform-specific LocalGlyphRasterizer is responsible for deciding which glyphs to rasterize locally and for implementing the rasterization.
 - Default platform implementation doesn't locally generate any glyphs -> no behavior change
 - Unit test uses StubLocalGlyphRasterizer, which returns a single fixed bitmap for all CJK glyphs
 - Rename glyph_loader.test to glyph_manager.test
2017-12-11 10:43:00 -08:00
Jason Wray
c0ad7be388 [ios] Long-press attribution button to show SDK version 2017-12-07 19:01:04 -05:00
Jordan Kiley
8f3cc3dbc4 [ios, macos] Rename the iOS and macOS SDKs (#10610) 2017-12-04 16:40:14 -08:00
Konstantin Käfer
8757164ac8 [build] standardize on -fvisibility=hidden for all targets
Enables -fvisibility=hidden for iOS and Linux, and adds a workaround for GCC 6.3-7.1
Adds a GCC 6 build
Enables diagnostics for C files
Fixes a shadow warning in parsedate.c
2017-11-29 17:31:33 +01:00
Konstantin Käfer
2eec5a1980 [core] move HeadlessBackend extension initialization code into Impl 2017-11-29 15:48:51 +01:00
Konstantin Käfer
335f04f7e1 [core] fold HeadlessDisplay into the headless RenderBackend implementation 2017-11-29 15:48:51 +01:00
Andrew Kitchen
a2817ff5ed [darwin, macos, ios] Renames CGImage creation function to imply +1 retain count (#10570) 2017-11-27 16:47:58 -08:00
Jesse Crocker
7c6ede6bb3 [ios,macos] Add MGLComputedShapeSource example to demo apps 2017-11-22 13:56:38 -08:00
Asheem Mamoowala
246417ef24 [ios, macos] Implement MGLComputedShapeSource binding for CustomGeometrySource 2017-11-22 13:56:38 -08:00
Jesse Crocker
b2925e71ac [darwin] Abstract ShapeSource interface 2017-11-22 13:56:38 -08:00
Fredrik Karlsson
dda87bbecd [ios] update constraints when updating content inset 2017-11-20 21:07:14 +01:00
Minh Nguyễn
465b345dd2 [ios, macos] Updated changelogs 2017-11-10 11:25:40 -08:00
Tobrun
225fba8a0a Merge branch 'release-agua' into tvn-merge-release 2017-11-10 06:16:35 +01:00
Jordan Kiley
91dabd01df [ios] Silence smart invert warnings (#10425) 2017-11-09 13:09:16 -08:00
Nadia Barbosa
bfdd0c5031 [ios] Doc fixes for "Adding Points to a Map" guide 2017-11-09 13:11:09 -05:00
Fabian Guerra
3efb740b42 [ios] Bump podspec to beta.4 2017-11-07 18:41:47 -05:00
Minh Nguyễn
2955fb594c Make places and roads accessible to VoiceOver (#9950)
* [ios] Summarize places, roads after zooming with VoiceOver

After zooming, MGLMapView’s accessibility value now indicates the number of visible roads and lists out a few places visible in the current viewport, starting with the features at the highest z-index (not necessarily the largest or the closest to the center of the view). Avoid saying that no annotations are visible.

* [ios] Allow VoiceOver to navigate among place features

Split out a separate header for the various accessibility elements tied to MGLMapView. Wrap place features in accessibility elements and insert them into the narration order after the visible annotations but before the attribution button. Refactored MGLMapView’s accessibility code to rely on ranges to avoid off-by-one errors.

* [ios] Post layout change notification when fully rendered

Post a layout change notification when fully finishing a map render.

* [ios, macos] Moved MGLVectorSource+MGLAdditions to more specific group

* [ios] Localize accessibility feature names

* [ios] Find place feature accessibility elements by identifier

* [ios] Refactored accessibility traits

Also created a new MGLPlaceFeatureAccessibilityElement class.

* [ios] Sort accessibility elements by screen distance from center

Sort annotation accessibility elements by screen distance, not the hypotenuse of coordinates, which can yield incorrect results when the map is rotated or tilted or when the user is located at high latitudes. Sort place feature accessibility elements by screen distance as well.

* [ios] Create a place feature accessibility element, not an abstract feature accessibility element

* [ios] Only query for visible place features once per camera

Improved accessibility performance after changing the map camera. MGLMapView no longer queries the map for place features once per place feature.

* [ios] Made roads accessible

Wrap visible road features in accessibility elements described by the road name, route number, and general direction of travel.

* [ios] Cleaned up radian conversions

* [ios] Thickened road accessibility elements

* [ios] Made unioned roads accessible

* [ios] Consistently sort accessibility elements

Also fixed an issue causing road feature accessibility elements to get treated like place feature accessibility elements.

* [ios] Announce direction of divided roads

Announce the direction of a divided road based on the direction of its first polyline.

* [ios] Refined announced elevation units

* [ios] Romanize feature names

* [ios] Updated changelog

* [ios] Delay zoom announcement

A 100-millisecond delay is enough for the post-zooming announcement to reflect the new zoom level rather than the previous zoom level.

* [ios] Consolidated geometry functions

Adopted MGLGeometry_Private.h in the accessibility code, forcing a conversion to Objective-C++. Avoid inlining some of the more complex geometric functions.

* [ios] Fixed feature name romanization in accessibility labels

NSLocale.scriptCode is only set when the locale identifier explicitly specifies a script. Use NSOrthography to identify the dominant orthography regardless of locale.

Also added a unit test of feature accessibility element labels.

* [ios] Added tests for place, road accessibility values

* [ios] Announce one-way roads

A road feature’s accessibility value now indicates whether the road is a one-way road.
2017-11-03 12:17:45 -07:00
Bruno de Oliveira Abinader
1262659b8d [core] Move GLContextMode to its own Renderer header 2017-11-01 17:45:37 +02:00
Ivo van Dongen
de9098cf99 [darwin][ios][macos] map snapshotter - add MGLMapSnapshot wrapper 2017-11-01 09:23:53 -04:00
Fabian Guerra Soto
63f7963a93 [ios, macos] Center shape annotation's callout when offscreen. (#10255)
* [ios, macos] Center annotation's anchor to tap point when coordinate center is offscreen.

* [ios, macos] Update changelogs.
2017-11-01 08:20:48 -04:00
Ivo van Dongen
3cdb249c70 [darwin][ios][macos] map snapshotter - add MGLMapSnapshot wrapper 2017-10-31 19:52:08 +02:00
Minh Nguyễn
72a6eb8b5c [android, ios, macos] Added Hungarian localization
Added a Hungarian localization to the Android SDK. Updated the iOS and macOS SDK Hungarian localization.
2017-10-27 22:23:02 -07:00
Minh Nguyễn
edf399f1b7 [android, ios, macos] Added Bulgarian localization 2017-10-27 22:23:02 -07:00
Minh Nguyễn
ec4e8899b7 [ios, macos] Updated Brazilian Portuguese localization 2017-10-27 22:23:02 -07:00
Fabian Guerra Soto
81c53eac35 [ios] Bump podspec to beta.3 (#10305) 2017-10-27 16:27:28 -04:00
Fabian Guerra Soto
372698aa23 [ios, macos] Iterate over point and shape annotations. (#10262) 2017-10-27 10:24:12 -04:00
Jesse Bounds
91eb595463 [ios] Move scale bar content size invalidation to map view 2017-10-25 14:31:55 -07:00
Jesse Bounds
aad26419b4 [ios] Move scale bar content size invalidation to map view 2017-10-25 12:44:41 -07:00
Jason Wray
1c78d14a20 [build] Disable iOS and macOS builds on Bitrise 2017-10-25 12:48:25 -04:00
Lindsay Young
5fa4790fdc [docs] updating ios & android install links (#10246)
* updating ios & android install links

* updating iOS custom builds page to link to iOS installtion

* updating copy
2017-10-24 14:20:33 -07:00
Jason Wray
00e44e9cb0 [ios] Fix iOS 8 incompatibility in iosapp hud label font 2017-10-20 17:05:41 -04:00
Jason Wray
2857090cf6 [ios] Fix iOS 8 incompatibility in scale bar RTL check 2017-10-20 17:05:41 -04:00
Jason Wray
817e5c109f [ios] Fix scale bar label alignment 2017-10-19 11:03:15 -04:00
Jason Wray
cabf5d2970 [ios] Avoid drawing view annotations across pixel boundaries 2017-10-19 11:03:15 -04:00
Jason Wray
6523b16c61 [ios] Slightly round the corners of the puck arrow 2017-10-19 11:03:14 -04:00
Jason Wray
efcb9ee231 [ios, build] Force Bitrise to install pip 2017-10-18 18:13:45 -04:00
Jason Wray
8877fb5277 [ios, build] Fix nightly build on bitrise by installing pip 2017-10-18 18:05:20 -04:00
Fabian Guerra Soto
aa617e32c2 [ios] Bump podspec to v3.7.0-beta.2 (#10230) 2017-10-18 17:24:33 -04:00
Fabian Guerra Soto
b7b8baef9d [ios, macos] Add selection support to MGLMultiPoint annotations. (#9984)
* [ios, macos] Add selection support to MGLMultiPoint annotations.

* [ios, macos] Update changelogs.
2017-10-18 15:18:54 -04:00