Commit Graph

4841 Commits

Author SHA1 Message Date
tobrun
6ce38ccc6f [android] - add orientation change regression test 2018-01-02 17:14:11 +01:00
tobrun
65203dca77 [android] - refactor surface destruction NPE fix 2018-01-02 12:31:44 +01:00
hashfunction
580605e132 [android] Fixes #10563 NPE addAnnotationIcon 2018-01-02 12:31:44 +01:00
tobrun
0f7f4b38af [android] - use US local when converting between int color and RGBA String. 2018-01-02 12:31:25 +01:00
Jason Wray
4709bf0529 [ios] Update custom install docs for Xcode 9.1 2017-12-22 11:12:18 -08:00
Osana Babayan
28a21f3b0b LatLng.wrap should return a new instance of LatLng (#10769)
LatLng.wrap shoudl wrap mulpiples of max value to max
2017-12-21 16:04:26 -05:00
Lauren Budorick
c2250e6e53 Update mapbox-gl-js submodule 2017-12-20 16:58:27 -05:00
Lauren Budorick
920057c9d6 [core] Better align fill-extrusion vertex layout 2017-12-20 15:17:11 -05:00
Łukasz Paczos
d744b5033b [android] getting bitmap from drawable fix 2017-12-20 18:21:22 +01:00
Łukasz Paczos
de5357c95f Saving/restoring MyLocationViewSettings (#10746)
[android] saving/restoring MyLocationViewSettings, updated BitmapUtils
2017-12-19 16:59:02 +01:00
Osana Babayan
fccdd7d7cf LatLngBounds.union parameters should be specified in NESW order (#10728) 2017-12-19 10:32:43 -05:00
Antonio Zugaldia
28a42b925a [android] update lifecycle documentation for fragments (#10736) 2017-12-19 10:32:01 -05:00
Tobrun
228aadc07e [android] - bump gradle syntax to 4.1 2017-12-19 13:39:38 +01:00
Tobrun
1b0a5f633a [android] - replace anonymous inner classes with lambda 2017-12-19 13:39:38 +01:00
Tobrun
7f14f0270d [android] - enable java 8 language features 2017-12-19 13:39:38 +01:00
Tobrun
639c033d8e [android] - update project to gradle 4.1, gradle tools 3.0, build tools 26.0.2 2017-12-19 13:39:38 +01:00
Tobrun
757cc0f2be [android] - add binding integration for expressions (#10654) 2017-12-19 08:55:48 +01:00
Minh Nguyễn
9759ba7836 [android] Updated Spanish, Vietnamese translations 2017-12-18 13:23:44 -08:00
Langston Smith
04cbf346e9 Updated location layer plugin link in MapboxMap object's javadocs (#10707) 2017-12-18 08:10:52 -08:00
Bruno de Oliveira Abinader
e91cab516c [glfw] Use args in GLFW example 2017-12-18 16:40:29 +02:00
Bruno de Oliveira Abinader
6a838eeffb [build] Replace boost_libprogram_options with args 2017-12-18 16:40:29 +02:00
Jason Wray
f71ba9907c [ios] Add 1024px app icon for iosapp 2017-12-15 19:21:44 -05:00
Jason Wray
c5e7bd35fc [ios] Fix strict prototypes warnings in blocks 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
Tobrun
0fddad6e0b [all] update CI images (#10695) 2017-12-15 14:50:12 +01:00
paczos
d2cc855cd3 [android] new map touch listeners API comments 2017-12-14 16:23:33 +01:00
paczos
fc50605507 [android] checkstyle fixup 2017-12-14 16:23:33 +01:00
paczos
2afa8a1725 [android] added map touch listeners test 2017-12-14 16:23:33 +01:00
paczos
44363d4826 [android] added map touch listeners api based on lists 2017-12-14 16:23:33 +01:00
Asheem Mamoowala
f545d21df0 [core] Overzoomed image sources vanish (#10677)
Use z0 tile coordinates instead of screen coordinates to compute ideal zoom for image sources
2017-12-13 12:52:23 -08:00
Anand Thakker
801c47befa Add ignores for new ==, != tests (#10679)
GL JS change: https://github.com/mapbox/mapbox-gl-js/pull/5840
GL Native issue: https://github.com/mapbox/mapbox-gl-native/issues/10678
2017-12-12 15:19:24 -05:00
Chris Loer
3fed2358d6 [core] Include bucket name in queryRenderedSymbols duplicate feature filter
- Port of GL JS PR #5703
 - Fixes issue #10616
2017-12-11 15:05:18 -08:00
Chris Loer
78545723fe [android] Add basic JavaDoc comment for LocalGlyphActivity. 2017-12-11 10:43:00 -08: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
Andrew Kitchen
4418edbfcd [darwin, macos] Rename Info.plist key for consistency
Also removes related dead code in macos MGLMapView.mm
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
Chris Loer
e8daa84de6 [android] Tweak LocalGlyphActivity description to be a bit more specific than the title. 2017-12-11 10:43:00 -08:00
Chris Loer
f2d70aa890 [android] Fixups for LocalGlyphActivity 2017-12-11 10:43:00 -08:00
Asheem Mamoowala
bee60130d3 [android] Add Configuration hook for local ideograph font family and demo activity 2017-12-11 10:43:00 -08:00
Chris Loer
b4c781aef7 [core, macos, ios] Unit tests for LocalGlyphRasterizer
Core test uses stubbed "glyph.pbf" without Chinese glyphs
Darwin test relies on locally available "PingFang" font.
Android test relies on locally available "Droid" font. 'expected.png' is NOT correct b/c I haven't figured out how to run unit tests on Android yet.
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
Chris Loer
00ed34f7d7 [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-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
4f31b07d09 [macos] Add Info.plist version keys 2017-12-07 19:01:12 -05:00
Jason Wray
627587694d [ios, macos] Append SDK version parameter to feedback URL 2017-12-07 19:01:04 -05:00