Commit Graph

106 Commits

Author SHA1 Message Date
Nic Hubbard
b35b328f50 scaleBar enhancements (#120)
* Updated scaleBar to allow setting dark label styles which show up much better when using dark map styles.

* Allows user to set if the scaleBar uses metric or not, rather than the system locale forcing this. This allows user flexability.

* Add methods to mapView to access new scaleBar properties
2021-07-07 18:14:56 -07:00
Tadej Novak
6be1249a19 [qt] Update for tile server configuration changes (#102) 2021-07-07 14:03:39 +02:00
Nic Hubbard
cfa3015d32 Address crash when localFontFamilyName is nil (#109) 2021-07-06 17:40:15 -07: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
Jukka Hietanen
7567eaf152 [ios] Disable map snapshots by default. This fixes following issues: (#83)
* Map can flash another map style when brought to foreground
* Map can jump when brought to foreground
* Fixed "zoomed in" flash issue with Metal branch (https://github.com/maplibre/maplibre-gl-native/issues/76)
2021-05-28 22:36:15 +02:00
Nuno Goncalves
4ab0fd25a5 [core] fix: error: redundant move in return statement (#75)
Signed-off-by: Nuno Goncalves <nunojpg@gmail.com>
2021-05-28 22:33:43 +02:00
Jukka Hietanen
1ebaff3378 Fixed testSetCenterCoordinatePauseRendering broken in PR https://github.com/maplibre/maplibre-gl-native/pull/68 (#88) 2021-05-21 00:37:28 +02:00
Christian Sturm
00f3af3ac2 Use DisplayLink to prevent crashes in willResignActive (#68)
* Use DisplayLink to prevent crashes in willResignActive

* Fixed screen freeze issue in the DisplayLink PR when bringing app back to foreground. Includes relevant changes from Mapbox PR (https://github.com/mapbox/mapbox-gl-native-ios/pull/432).

Co-authored-by: Jukka Hietanen <jukka.hietanen@accelbit.com>
2021-05-10 16:25:34 +02:00
Christian Sturm
a2db858090 Ignore sizing and positioning for hidden elements in assertions (#80) 2021-05-07 08:35:45 +02:00
RobLabs.com
babf093ad1 Merge branch 'ios-build-improvements' into upstream/master 2021-05-06 09:07:52 -07:00
Petr Pokorny
617f6afcc1 Typo 2021-05-06 13:56:56 +02:00
Petr Pokorny
452537d0ca Nitpick script fix & changelog update 2021-05-06 13:55:58 +02:00
Petr Pokorny
7d50ea7849 Keeping mapbox gestures and account dependencies 2021-05-06 13:39:49 +02:00
Petr Pokorny
39845f5c1e Fixing the submodule 2021-05-06 11:35:57 +02:00
Petr Pokorny
6d100397ea Migration to maplibre-java library 2021-05-06 11:32:16 +02:00
Nuno Goncalves
c3acb9fe4b [glfw] fix help for Q and C shortcuts (#71)
With 72df1658fa the query annotations
shortcut was introduced using the previously used shortcut 'Q', which
was replaced by 'C'. Help was not updated for either.

Signed-off-by: Nuno Goncalves <nunojpg@gmail.com>
2021-05-04 19:52:22 +02:00
Nuno Goncalves
6128a97c9a [qt] add missing const (#72)
Signed-off-by: Nuno Goncalves <nunojpg@gmail.com>
2021-05-04 19:50:19 +02:00
Nuno Goncalves
f0c3ba6fe2 [qt] add missing source file (#74)
Signed-off-by: Nuno Goncalves <nunojpg@gmail.com>
2021-05-04 19:49:08 +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
Christian Sturm
6fe231dd16 Dispatch to main queue, rather than global, fixes #59 (#64)
Need to follow up as to why `ios-test` unit test is failing.  But its not due to reezer's change
2021-04-15 13:23:07 -07:00
RobLabs.com
09d3d949b4 Improve output for make iproj by making it less verbose 2021-04-08 10:52:22 -07:00
Rob Labs
dba5d968b2 Automated UI Tests for iOS (#47)
* initial UITests template from Xcode add new Test Target

* Set deployment target for the UITests to match the iosapp

* Bundle versions match iosapp

* Save a PNG screenshot to the UITest results

* Turn on Debug tile boundaries, tile info and FPS ornaments

* First iteration of bench scheme UITests

* Enable bench UITests while in the `iosapp` scheme

* Add flag to `make iproj CI=1` to run in headless mode (for GitHub Actions & Xcode Server Bots)

* Write the Benchmark log to the Documents Directory

* Add Zero Configuration (Zeroconf) Styles to facilitate automated testing without an access token nor secrets

* Add `make ios-test`

* Add UI Tests to CI for iOS

* Ignore prompts for *precise or reduced accuracy for GPS*
2021-04-06 21:02:11 +02:00
Jukka Hietanen
a231fcbdeb [ios] Cherry pick changes from https://github.com/mapbox/mapbox-gl-native-ios/pull/268/files (#62)
add allowScrollGesturesDuringRotateOrZoom
2021-04-06 20:49:38 +02:00
Jukka Hietanen
ee94520bff [ios] Cherry pick relevant changes from from https://github.com/mapbox/mapbox-gl-native-ios/pull/411/files (#60)
Co-authored-by: Jukka Hietanen <jukka.hietanen@accelbit.com>
2021-03-29 20:52:57 +02:00
Petr Pokorny
47594a2862 Increasing gradle timeouts 2021-03-12 20:21:52 +01:00
Petr Pokorny
1dd961049b Increasing gradle timeouts 2021-03-12 18:51:59 +01:00
Petr Pokorny
9cf8e32426 Adding script which allows to update swift package manually (use only if automated deploy fails) 2021-03-12 18:35:49 +01:00
Petr Pokorny
eb2850029a Release scripts fixes 2021-03-12 18:02:57 +01:00
Petr Pokorny
f825aefb3d Changelog update 2021-03-12 15:56:39 +01:00
Matteo Crippa
58487a9638 Feature/ios performances (#44)
* improved ios performances

* fix merge issue

* cleanup playground

* update gitignore for playground
2021-03-08 20:44:28 +01: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
5576e95536 Changelog update 2021-03-03 18:26:20 +01:00
Petr Pokorny
17c6413133 Change log update 2021-03-03 18:18:35 +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
Petr Pokorny
a36cc15325 Cherry pick from https://github.com/mapbox/mapbox-gl-native-android/pull/466/files
resolves #22
2021-03-03 18:05:07 +01:00
Petr Pokorny
1b0479c6e5 Changelog update 2021-02-28 19:24:01 +01:00
Petr Pokorny
fb8c02680b Fix: lint issues 2021-02-25 20:44:48 +01:00
Petr Pokorny
36e1f40c5e resolves #24 2021-02-25 19:30:23 +01:00
Petr Pokorny
cc2ea9fe0d Merge pull request #31 from maplibre/ios14-location-permissions
ios14 location permissions
2021-02-23 14:54:41 +01:00
Petr Pokorny
514416c4c0 Fixing benchmark app 2021-02-23 13:47:12 +01:00
Petr Pokorny
cd3797bcd5 Alert text updates. 2021-02-23 11:21:43 +01:00
Petr Pokorny
8aff171fbf Removing redundant return statement. 2021-02-23 11:15:59 +01:00
Petr Pokorny
271da1429a Fixing test target in xcode project 2021-02-23 00:09:12 +01:00
Petr Pokorny
ca2b28686d TestApp - bundle identifier update to MapLibre 2021-02-22 23:51:47 +01:00
Petr Pokorny
3fd414d3b6 Missing public header and syntax error fix 2021-02-22 23:30:09 +01:00
Petr Pokorny
c47b6176b3 Just a few bug fixes 2021-02-22 23:08:50 +01:00
Petr Pokorny
bede290e9b Removed Added MGLObserver, MGLObservable (pr 358). The implementation is partially in the core library which so it could not be cherry-picked. 2021-02-22 19:28:26 +01:00