Commit Graph

151 Commits

Author SHA1 Message Date
Oliver Wipfli
eca80dbc05 Replace Mapbox with MapLibre in README titles (#297) 2022-06-06 11:42:17 +02:00
Brendan Ward
834a198c98 Handle nonexistent mbtiles files, add MBTilesFileSource tests (#292)
* Handle nonexistent mbtiles files, add MBTilesFileSource tests

* minor formatting fix
2022-05-27 14:57:25 -07:00
Nathan Van Fleet
c762d231ea fix(darwin): logging - potential crash due to mishandled string formats (#286) 2022-05-20 10:22:33 -04: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
Brendan Ward
225f8a4bfe Do not return error when tile is not found in mbtiles file (#272) 2022-04-07 09:57:17 +02:00
Brendan Ward
539d81a3b9 Rename MaptilerFileSource to MBTilesFileSource (#198) 2022-04-07 09:56:52 +02:00
Nathan Van Fleet
b3a4f1686d fix(ios): logging format strings (#266) 2022-04-06 20:16:19 -04:00
Jelle Breuer
d9a22ba2cf Changed missed MapBox reference to MapLibre (#253) 2022-04-06 21:59:43 +02:00
Tadej Novak
59fa32e96a [qt] Build with WebAssembly (#256) 2022-03-15 13:22:11 +01:00
Oleksandr Stepanov
6db27f50ad Implement map projection functionality (#254)
* Implement map projection functionality

* Add missing MGL_EXPORT

* Remove the automatic copyright header
2022-03-14 07:03:05 -07:00
Ian Saultz
ea234edf67 chore: rename master -> main in CI and scripts (#246)
Thanks for contributing to FOSS4G!
2022-03-07 11:40:06 -08:00
rinigus
e1cd6f829f [qt] Set defaultStyles to const (#240) 2022-02-20 18:29:27 +01:00
Ian Saultz
2025cf0933 [ios] fix missing attribution (#236) 2022-02-15 09:26:31 -08:00
kiibimees
747eb3a440 [qt] Build improvements and better handling of map settings (#197)
* QMapboxGLSettings functions for changing default options and getting default styles

* [qt] allow to build without widgets and other cmake improvements

* [qt] Install include/mbgl for development

* [qt] library static/shared install+export

* [qt] Add missing mbgl-compiler-options dependency for 'qmapboxgl'

* [qt] Raise CMAKE_OSX_DEPLOYMENT_TARGET from 10.13 to 13.0

* [qt] Add Qt::Sql dependency also to the final library. Build qmapboxgl as OBJECT lib inside QtLocation plugin.

* Remove Qt::Sql dependency from 'qmapboxgl'. Not really needed.

* Set CMake config files path back to ${CMAKE_INSTALL_LIBDIR}/cmake/QMapboxGL/

* [qt] Set CMAKE_OSX_DEPLOYMENT_TARGET only if it is not yet set

* [qt] Support CMake v3.11 and earlier versions

* [qt] Comment out 'iOS_static' from CI until it is fixed.

Co-authored-by: Rinigus <rinigus.git@gmail.com>
2022-02-14 17:18:29 +01:00
Justas Brazauskas
cfcbc62fad Feature - Bring back node support (#217)
This PR brings back support for node.js later versions, as well as actually making it work. Maps now render, properly, using node v10, v12, and v16.
2022-02-08 20:40:19 +01:00
Tadej Novak
b7a42e9974 Remove obsolete CI configurations (#219) 2022-01-28 12:01:43 -08:00
Tadej Novak
05836553f1 [qt] Initial CI pipeline (#221) 2022-01-28 11:43:46 -08:00
Mateusz Konieczny
334a2401ae [ios] mapbox -> maplibre, fix broken links (#189) 2022-01-20 19:06:23 +01:00
dependabot[bot]
b8b2b80a12 Bump lodash from 4.17.19 to 4.17.21 in /platform/android (#195)
Bumps [lodash](https://github.com/lodash/lodash) from 4.17.19 to 4.17.21.
- [Release notes](https://github.com/lodash/lodash/releases)
- [Commits](https://github.com/lodash/lodash/compare/4.17.19...4.17.21)

---
updated-dependencies:
- dependency-name: lodash
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-12-08 22:54:34 +01:00
petr
381e43fe36 Updating changelogs for release ios-v5.12.2 and android-v9.5.2 2021-12-02 16:48:50 +01:00
srcejon
2d110ddd7c Update Windows build instructions in platform/qt/README.md (#180) 2021-12-02 16:03:28 +01:00
Oleksandr Stepanov
ba1ec44061 [ios] Fix camera paddings reset on map view gestures performing. (#188)
* Fix camera paddings reset on map view gestures performing.

* Asymmetrical paddings fix demo app.

* Remove the demo for the PR branch.
2021-12-02 15:39:58 +01:00
Jones Magloire
004a849d8c [android] update mapbox_attributionsDialogTitle and mapbox_mapActionDescription strings resources (#160) 2021-10-19 09:12:14 -07:00
Tadej Novak
811b18b74e [win] Additional fixes for MSVC and MinGW (#142) 2021-10-19 08:53:23 -07:00
Tadej Novak
66f32106a9 [qt] Improve CMake setup (#159) 2021-10-19 08:51:14 -07:00
Nathan Gass
cae0fc272e Compression (#147)
* enable header detection in util::decompress and also use it for gziped data

* expose zlib windowBits so mbgl::util::compress can be used for different formats

* also expose windowBits in decompress function for consistency
2021-10-13 16:22:49 -07:00
Petr Pokorny
79cb2811ae macOS release notes 2021-09-06 19:44:52 +02:00
Petr Pokorny
aff2aaf18c Updated changelogs 2021-09-06 19:39:11 +02: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
Rob Labs
206bca766c update Unit Tests for Xcode 13 (#153)
* Update notes for Xcode Configuration Settings

* Fix Tests for CI Scheme in Xcode 13
2021-09-05 13:31:13 -07:00
Tadej Novak
99cf6381ba [android] Fix some test classes (#139) 2021-08-29 22:54:30 +02:00
Tadej Novak
5c2414463f [qt] Move to modern signal/slot connection mechanism (#138) 2021-08-29 22:54:07 +02:00
Tadej Novak
fe041b80ca [msvc] Fix compilation errors and warnings (#141) 2021-08-29 22:53:42 +02:00
Nathan Gass
c0d76c69cc Egl option (#135)
* minimal changes to get platform linux to compile again

* adapt mbgl-glfw api for keyss to mbgl-offline and mbgl-render, use maptiler configuration for all three binaries

* add an option to compile with the egl backend on linux
2021-08-19 20:57:56 +02:00
Nathan Gass
408946a6ab Fix platform linux (#133)
* minimal changes to get platform linux to compile again

* adapt mbgl-glfw api for keyss to mbgl-offline and mbgl-render, use maptiler configuration for all three binaries
2021-08-19 20:51:58 +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
Florian Herzog
1eee73bdce [ios] Fix for #131 (#132) 2021-08-05 14:41:24 +02:00
Petr Pokorny
2a86dcefc0 Fixing #117 (#130) 2021-07-28 21:06:25 +02:00
RobLabs.com
19b86f750d Fix build for Xcode 12.5 & 13-beta. See https://github.com/maplibre/maplibre-gl-native/issues/14 2021-07-21 19:23:23 -07:00
Tadej Novak
aef3d4dd74 [qt] Deprecation warnings and Qt compatibility fixes (#118)
* [qt] Fix compilation of the sqlite wrapper

* [qt] Fix QImage-related warnings

* Update Qt redirection handling

Since 5.9 RedirectPolicyAttribute is preferred, and from 6.0 the
behavior of NoLessSafeRedirectPolicy is the default.

* [qt] Fix more deprecation warnings

Co-authored-by: Mårten Nordheim <morten242@gmail.com>
2021-07-16 09:52:48 +02:00
honjo2
043a06d803 [ios] Adjust local glyphs (#122) 2021-07-12 11:38:31 +02:00
Nic Hubbard
758ea28de6 Fixes for locales and using decimals or commas as seperator. (#121) 2021-07-10 16:39:40 -07:00
Tadej Novak
1fea606676 [qt] Ignore status code with 'data' URLs (#119) 2021-07-09 12:24:36 +02:00
Nic Hubbard
d28e4a040f Fix for annotations stuttering and drifting when panning (#113)
* Fix frame-delay bug affect UIViews

* Fixed stuttering and drifting issue with annotations

* Removed processPendingBlocks method that should not have been there.
2021-07-08 06:56:32 -07:00
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