Commit Graph

64 Commits

Author SHA1 Message Date
mwilsnd
4828cc7a8b Upgrade OpenGL backend to ES 3.0 (#995)
Co-authored-by: Tadej Novak <tadej@tano.si>
2023-04-13 23:24:45 +02:00
Helium314
a454f26c4e Improve fling animation (#963)
Co-authored-by: Ovidiu Voda <ovi.voda@gmail.com>
2023-04-03 16:23:31 +03:00
Loc Nguyen
ab1cc30ecd Add getting started guide for maplibre gl native for android (#939)
Co-authored-by: Loc Nguyen <loc.nguyen@aensmart.com>
Co-authored-by: Bart Louwers <bart.louwers@gmail.com>
Co-authored-by: Bart Louwers <bart@emeel.net>
2023-03-28 15:39:38 +02:00
Bart Louwers
15ad65dd3d Use std::optional instead of mbgl::optional (#911) 2023-03-17 13:51:59 +02:00
Dilshodbek
47c46faea1 [android] Making MapboxFusedLocationEngineImpl constructor public (#850) 2023-02-23 16:12:42 +01:00
Bart Louwers
c967074af3 Prepare for Android v10.0.1 (#843) 2023-02-22 10:37:30 +01:00
Artak Kalantarian
5be1eeeedd [android] Fixed an issue with native code throwing an exception expecting bound… (#830)
Co-authored-by: Bart Louwers <bart@emeel.net>
2023-02-22 09:52:40 +01:00
Dilshodbek
87337ddb66 [android] make LocationEngineProxy constructor public (#832) 2023-02-20 15:52:24 +01:00
Bart Louwers
982ac6e7e3 [android] Remove com.google.android.gms.location (#379) (#801) 2023-02-15 11:22:44 +01:00
Bart Louwers
79245a0c90 Prepare for 10.0.0 Android release (#790) 2023-02-09 13:24:42 +01:00
fynngodau
1d30ba77b7 Don't offset views rendered on top of snapshots (#733) 2023-02-01 06:46:23 +02:00
Bart Louwers
ac2e9b10ab Kotlin testapp fixes (#753) 2023-01-31 17:29:25 +01:00
Bart Louwers
2e121db75f Use Dokka instead of Javadoc for Android API docs (#754) 2023-01-31 17:28:43 +01:00
fynngodau
6d07ff85b4 [android] Improve Kotlinification of LatLng (#742) 2023-01-27 20:06:29 +01:00
Bart Louwers
85e33f88b1 Android CI based on GitHub Image (#712) 2023-01-26 19:40:49 +01:00
Bart Louwers
f7fa009f08 Use *_t and *_v trait helpers from C++17 STL (#731) 2023-01-26 11:10:33 +01:00
Artak Kalantarian
f561031010 More namespaces updated to Kotlin (#692) 2023-01-14 15:35:51 +01:00
Bart Louwers
01729b9a49 [android] Fix Ktlint Gradle intergration, add documentation about linting (#685) 2023-01-11 16:09:58 +01:00
Bart Louwers
aed7c501f2 [android] Remove deprecated junit.framework.Assert (#683) 2023-01-11 14:27:35 +01:00
Birk Skyum
41eff5e198 Port Android Unit tests to Kotlin (#681) 2023-01-11 12:19:25 +01:00
Artak Kalantarian
4f15cf96e6 Convert more of the Android SKD files from Java to Kotlin (#670) 2023-01-10 14:41:33 +01:00
Artak Kalantarian
558c1c0ccd Fixed a crash when native code was accessing the LatLngBounds class (#655) 2023-01-04 23:56:20 +01:00
Bart Louwers
d51759b137 Replace mapbox watermark on the maps with maplibre #643 and replace mapbox resource names (#647)
Co-authored-by: Birk Skyum <74932975+birkskyum@users.noreply.github.com>
2023-01-04 11:32:11 +01:00
Robin
da9c7ae2a5 [Android] Update usage of GMS location from deprecated APIs (#620)
Co-authored-by: Birk Skyum <74932975+birkskyum@users.noreply.github.com>
2023-01-03 21:43:24 +01:00
Artak Kalantarian
4175a53af6 More of the SDK files converted to Kotlin (#646) 2023-01-03 20:26:07 +01:00
Artak Kalantarian
ccd3c60e55 Converted a few of SDK files (one package) to Kotlin (#637)
Co-authored-by: Artak Kalantarian <artak@amazon.com>
Co-authored-by: Birk Skyum <74932975+birkskyum@users.noreply.github.com>
2022-12-24 11:07:20 -08:00
Artak Kalantarian
eff76f8d71 Bump minSDK to 21 and remove mistakenly submitted files adding them t… (#630)
Co-authored-by: Artak Kalantarian <artak@amazon.com>
2022-12-22 15:29:00 -08:00
Robin
1439e05413 [Android] Catch exception onMove (#621) 2022-12-21 10:35:21 -08:00
Artak Kalantarian
b038aeddb0 Updated Android SDK, all dependencies, and did the gradle migarion, fixed unit tests and ktlint (#627)
Co-authored-by: Artak Kalantarian <artak@amazon.com>
2022-12-21 15:11:43 +01:00
Artak Kalantarian
3321a026e0 JavaDoc error fixes (#596)
Co-authored-by: Artak Kalantarian <artak@amazon.com>
2022-12-15 09:34:27 +01:00
Birk Skyum
53207c4566 Removing unused versions sdk (#515) 2022-09-29 09:02:06 +02:00
Alexander Schacher
58543a791c Fixes potential NaN when calling NativeMapView::nativeMoveBy (#501)
Co-authored-by: schachi5000 <alexander.schacher@graphmasters.net>
2022-09-26 18:24:57 +02:00
Carlo Marinangeli
39574ed238 Upgrade libs and remove Jetifier (#218)
Co-authored-by: Birk Skyum <74932975+birkskyum@users.noreply.github.com>
2022-09-13 16:34:47 +02:00
Birk Skyum
1310ce298d Fix android ci workflows (#476) 2022-09-13 16:10:43 +02:00
Tadej Novak
1341f33ba4 Add ClientOptions to be able to pass around client name and version (#365)
* ClientOptions and Qt user agent

* Update CHANGELOG.md

Co-authored-by: Oliver Wipfli <oliver.wipfli@leichteralsluft.ch>

Co-authored-by: Oliver Wipfli <oliver.wipfli@leichteralsluft.ch>
2022-08-13 15:36:50 +02:00
Oliver Wipfli
6bbeb9fd91 Use the MapLibre style spec docs website (#353) 2022-07-05 18:25:11 +02:00
Tadej Novak
32ed70c95d [msvc] Fix warnings, mainly casting to smaller types (#270)
If the checks by GitHub Actions checks are met, then it seems good to go.  Thanks for supporting FOSS4G!
2022-04-22 11:40:55 -07:00
Jelle Breuer
d9a22ba2cf Changed missed MapBox reference to MapLibre (#253) 2022-04-06 21:59:43 +02:00
Jones Magloire
004a849d8c [android] update mapbox_attributionsDialogTitle and mapbox_mapActionDescription strings resources (#160) 2021-10-19 09:12:14 -07:00
thirstycoda
f09e9ab660 Change NativeMapView to use 0 instead of throwing IllegalArgumentException when resizeView is called with a negative width or height (#151) 2021-09-06 18:58:17 +02:00
Nathan Gass
58a2643c8f use hardcoded style url for this simple test to avoid dependency on any setup (#144) 2021-08-17 20:20:55 +02:00
Dan Paulat
8b804a1903 maplibre support for Qt6 and MSVC 2019 (#125)
* [qt] Updating CMake project files for Qt6

* [qt] Updating non-test projects for Qt6 and msvc2019

* [qt] Test fixes for Qt6 and msvc2019

* [qt] Link whole test archive for Qt and msvc2019

* [qt] Fixing Qt6 headless backend renderer

* [qt] Fixes for test failures

* [qt] Expression and style parser test fixes

* [qt] Backwards compatibility with Qt5 and Qt6

Minimum version is Qt 5.4 due to use of QOpenGLWidget

* [qt] LLVM is no longer required for a Windows build

* [msvc] msvc2019 fixes for maplibre

* Update test/storage/offline_database.test.cpp

Co-authored-by: Tadej Novak <tadej@tano.si>

* Vector + const is not standard C++

Co-authored-by: Tadej Novak <tadej@tano.si>
2021-08-07 11:10:45 -04:00
Petr Pokorny
2a86dcefc0 Fixing #117 (#130) 2021-07-28 21:06:25 +02:00
Petr Pokorny
d62ff400c6 Replacing hardcoded configuration with configurable API and removing Mapbox assets (#90)
* Refactoring online file source so that tile server configuration is not hardcoded - part 1

* Added default templates

* Update from master

* Renaming MGLAccountManager to MGLSettings. Passing ResourceOptions and TileServerOptions to relevant classes and method in order to remove mapbox hardocded configuration

* Fixing build

* Addedm missing theme

* Unit tests fixes

* Fixing unit tests, adding factory methods for creating predefined configuration.

* Fixing mapbox unit tests

* Additional unit test fixes

* Making MapboxConfiguration default

* Making get/set resource options available in all classes that inherits from FileSource

* Making get/set resource options available in all classes that inherits from FileSource - part 2

* Fixes for Android

* Disable test coverage reports

* Disable test coverage reports

* Disable test coverage reports

* Disable test coverage reports

* Removing hardcoded configuration in iOS project - part 1

* Fixing wrong file extension, making use of tile server options.

* Use apiKey and MGL_API_KEY everywhere

* Just a rename

* Re-enabling tests and improving MGLSettings init

* Removing mapbox hardcoded configuration, using api key everywhere, implementing JNI conversion for TileServerOptions

* Lint issues.

* Integrating configurable tile server properties into Android SDK - part 2

* Removing mabox accounts

* Exposing multiple configurations to Android SDK - bug fixes

* Removing TileServerOptions from public interface - native methods dont work before mapbox-gl library is loaded

* Adding support for configurable predefined styles

* Migrating predefined styles in test app + cleanup

* Parameter fix

* Bug fixes

* Fixing render test build

* Fixing offline tester

* Fixing benchmark tool

* Fix: typo in method name

* Adding code for public access to TileServerOptions

* Bug fixes and debug code removal

* Fixes for macOS, adding unit tests from MapLibre, removing redundant members from OnlineFileSource

* Unit test fixes

* MacOS test app - migrating to configurable tile server options, part 1

* Fixing offline maps

* Migrating macOS test app to MapTiler

* Minor improvements

* Putting back apiKey test

* Added unit tests for MapTiler configuration

* Migrating test resources to MapTiler

* minor fix

* A few fixes

* Fixing macOS tests, removing feedback functionality

* Migrating ios test app to MapTiler

* Migrating ui tests

* UI tests fix

* Benchmarking app fix

* Cleanup and strings updates

* Migrating benchmark app to maptiler

* API key injection in benchmark app

* Putting back release configuration

* Additional tests and fixing issues identified by thread sanitizer.

* Removing test filters

* Fixes and addressing lint issues

* More Maptiler tests + minro fix

* Android instrumentation test migration to MapTiler. Exposing missing TileServerOptions in Android SDK. Minor fixes.

* No requirements on API key format.

* Fixing offline cache test tool

* Adding configurable domain name for sources, adding source domain int MapTiler configuration, cleanup

* Migrating tests to MapTiler, adding code for canonicalizing URLs, removing mapbox stuff from comments, cleanup

* More tests

* Updated database size

* Lint issues

* Fixed test

* Updating developer config API key

* Fixes for Android, propagaing updated tileServerOptions to native file sources, more tests

* Just a few more fixes

* Propagating updated settings to file sources + additional unit test

* Lint issues

* Removing test filter and fixing incorrect uri

* Release preparation

* macos release notes
2021-06-29 12:44:51 +02:00
Petr Pokorny
dbeeb7eceb Migrate from bintray (#77)
* Bug fixes & cleanup

* Ignoring private files

* Bug fixes found during testing + added script to generate pgp key

* Added step for closing and releasing staging repository

* Update build.gradle

Disabling test coverage due to timeouts
2021-05-04 19:46:30 +02:00
Petr Pokorny
358bdc2b54 Update build.gradle
Disabled test coverage reports
2021-05-02 12:12:49 +02:00
Petr Pokorny
a7c146b3ca Update build.gradle
Disabled test coverage reports
2021-05-02 11:10:16 +02:00
Petr Pokorny
01ea6cceed Merge branch 'master' into android-slow-init-466 2021-03-03 19:51:06 +01:00
Petr Pokorny
623f113bbb Lint issues 2021-03-03 19:01:18 +01:00
Petr Pokorny
43239b670d Cherry pick from https://github.com/mapbox/mapbox-gl-native-android/pull/470/files 2021-03-03 18:16:17 +01:00