Commit Graph

11684 Commits

Author SHA1 Message Date
Fabian Guerra
cbb9002d4f [ios, macos] Update mode.hpp file path 2018-01-03 11:37:53 -06:00
Chris Loer
e8abb8c81a [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.
2018-01-03 11:37:53 -06:00
Chris Loer
b94929ca08 [ios,macos] Update docs to use Apple-friendly "PingFang" font example. 2018-01-03 11:37:53 -06:00
Chris Loer
45e59e4da8 [ios,macos] Remove dead/non-functioning font-weight and glyph metric code.
Add local font family to default iosapp configuration.
2018-01-03 11:37:53 -06:00
Andrew Kitchen
3fd2eb2557 [macos, ios] Adds documentation for the MGLIdeographFontFamilyName key 2018-01-03 11:37:53 -06:00
Andrew Kitchen
38bffda85a [darwin, macos] Rename Info.plist key for consistency
Also removes related dead code in macos MGLMapView.mm
2018-01-03 11:37:53 -06:00
Andrew Kitchen
314c51611c [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.
2018-01-03 11:37:53 -06:00
Andrew Kitchen
c1705f37fb [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)
2018-01-03 11:37:53 -06:00
Chris Loer
0dc00ad877 [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.
2018-01-03 11:37:53 -06:00
Konstantin Käfer
498dbf27b9 [core] don't tie Annotation geometries to Map maxzoom
Instead, geometry generation via GeoJSONVT is now bound to the hardcoded limit of the annotation tile source.
2018-01-02 20:17:15 +01:00
Minh Nguyễn
33faa3811e [macos] Renamed Mapbox macOS SDK to Mapbox Maps SDK for macOS 2017-12-22 09:12:57 -08:00
Minh Nguyễn
41022dab07 macos-v0.6.0 2017-12-22 08:42:48 -08:00
Fabian Guerra
3feeb7bdf8 [macos] Update changelog entries. 2017-12-22 08:42:48 -08:00
Minh Nguyễn
c1831229ac [ios, macos] Copyedited changelogs
macOS map SDK v0.6.0 has yet to be released.
2017-12-22 08:42:48 -08:00
Fabian Guerra
b09311656d [macos] Update visible coordinates documentation to reflect antimeridian usage. 2017-12-21 20:39:26 -06:00
Fabian Guerra
3b254a7fbd [ios] Update changelog. Podspec bump to v3.7.2 2017-12-21 15:15:38 -06:00
Jason Wray
c6169ab50c [ios] Re-add i386 slice to framework; strip from dSYM 2017-12-21 12:09:43 -08:00
Fabian Guerra
ff62fa957c [ios] Update visible coordinates documentation to reflect antimeridian usage. 2017-12-21 14:04:09 -06:00
Minh Nguyễn
3685cb3589 [ios, macos] Updated MGLImageSource example
Ran make darwin-update-examples to ensure that headers reflect the tested example code.
2017-12-21 12:02:20 -08:00
Minh Nguyễn
1b407e85e9 [ios, macos] Fixed MGLMapSnapshotter test crash
Fixed a crash in MGLDocumentationExampleTests caused by an asynchronous snapshot call that the test wasn’t waiting on, compounded by the use of a style that requires an access token (as opposed to the one-liner style that uses no remote resources. Employed some Swiftisms to fulfill expectations without making the example code look weird.
2017-12-21 12:02:20 -08:00
Fabian Guerra
b9ef272730 [ios] Fix ornament constrains on iOS 10 2017-12-21 13:50:00 -06:00
Jason Wray
8e69a35d75 [ios, build] Stop packaging i386 simulator arch
Only builds and packages x86_64 architecture in our frameworks and dSYM. Removes support for 32-bit simulators, such as the iPhone 5 and iPad 2. This does not affect device support — 32-bit devices are still supported via the arm7 architecture.
2017-12-20 17:36:06 -08:00
Asheem Mamoowala
6a9eec8ed5 Fix CustomLayer context retain count (#10765)
* [core] RenderCustomLayer should de-initialize old context

* [iOS, macOS] Use toll-free bridging to retain/release MGLOpenGLStyleLayer instead of a separate array.
2017-12-20 14:51:30 -08:00
Fabian Guerra
f644d188be [ios, macos] Remove duplicated variables between MGLMapSnapshotOptions and MGLMapSnapshotter 2017-12-20 09:01:15 -06:00
Minh Nguyễn
7f5dfb16bc Update iOS, macOS SDK translations (#10738)
* [ios, macos] Updated Bulgarian, Spanish, Vietnamese localizations

* [ios, macos] Added Arabic localization

* [ios, macos] Updated localizations
2017-12-20 02:26:05 -08:00
Tobrun
c70103033e [android] - update changelog for 5.3.0 2017-12-20 10:14:50 +01:00
paczos
6b535f70ce [android] added map touch listeners api based on lists 2017-12-20 06:38:56 +01:00
Chris Loer
9ed3aeaee1 [android] Tweak TinySDF docs to better describe font-family behavior. 2017-12-19 13:05:39 -08:00
Tobrun
af52538a81 Saving/restoring MyLocationViewSettings (#10746) (#10748)
[android] saving/restoring MyLocationViewSettings, updated BitmapUtils
2017-12-19 19:38:11 +01:00
Minh Nguyễn
f242227a67 [android] Updated Spanish, Vietnamese translations 2017-12-19 10:40:06 +01:00
Langston Smith
c15c6edce9 Android SDK renaming (#10609)
* changes in various markdown files

* more tweaks

* Updated attribution title
2017-12-19 10:40:06 +01:00
Tobrun
db6eaa0c34 [android] - use default icon when compass icon fails to decode (#10694) 2017-12-19 09:20:52 +01:00
Tobrun
d80e71bf38 [android] - remove startup flash from fragment, rework OnMapReady callback for multiple listeners (#10717) 2017-12-19 06:39:40 +01:00
Chris Loer
f2b42af339 [android] Add Configuration hook for local ideograph font family and demo activity 2017-12-18 12:17:22 -08:00
Chris Loer
97e45d5fda [android] Android implementation of local CJK glyph rendering
- Draws bold version of glyph if font stack contains string "bold"
 - Not hooked up to global configuration yet
2017-12-18 12:17:22 -08:00
Chris Loer
f1f2ebb019 [core] Hook LocalGlyphRasterizer "font family" configuration up to Renderer 2017-12-18 12:17:22 -08:00
Chris Loer
a53818a10b [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-18 12:17:22 -08:00
Chris Loer
2e3e88f027 [core] C++ port of TinySDF 2017-12-18 12:17:22 -08:00
Minh Nguyễn
9c1dfe46cf [ios, macos] Cleaned up base localization files
Localizable strings in Darwin classes need to specify “Foundation” as the table so that NSBundle consults the right .strings files. Reran make genstrings to add some missing strings to the base localizations and undo some manual edits to the base localizations that contained errors.
2017-12-18 11:41:56 -08:00
Tobrun
c618d513b1 [android] - update instrumented make target, move code style validation before building C++ code, replace code style checks with the wrapper code style check. (#10724) 2017-12-18 13:34:54 +01:00
Tobrun
c71718c98e [android] - activate filesource when creating an offline region (#10718) 2017-12-18 13:34:25 +01:00
Fredrik Karlsson
74b0627432 [ios] update constraints when updating content inset 2017-12-14 12:38:55 -06:00
Fabian Guerra
177afa9a0d [ios] Fix an Interface Builder crash for IBInspectable properties. 2017-12-14 09:48:23 -06:00
Fabian Guerra
d650b91c00 [ios] Fix the content insets for the scale and compass view. 2017-12-14 09:45:44 -06:00
Tobrun
4525ff714a Post camera listener invocations (#10690)
* [android] - post camera listener invocations

* remove jvm unit test
2017-12-14 12:15:36 +01:00
Tobrun
7012c1b683 [android] - update documentation on update metadata 2017-12-13 16:58:21 +01:00
Tobrun
fa704c85d8 [android] - scale factor value of 1 should zoom out 2017-12-13 11:04:01 +01:00
Tobrun
7c06eda515 [android] - allow configurable http logging 2017-12-12 17:25:27 +01:00
Tobrun
cf026d1932 [android] - post animation callback invocation 2017-12-12 09:18:49 +01:00
Fabian Guerra Soto
05d2a539fd [ios] Update changelog and bump podspec to 3.7.1 (#10651) 2017-12-06 14:02:39 -05:00