Commit Graph

29 Commits

Author SHA1 Message Date
mwilsnd
20d9e1028c Platform flattening overhaul (#1393)
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: Bart Louwers <bart@emeel.net>
2023-07-26 17:50:34 +02:00
Siarhei Fedartsou
379b1fc606 Implement index-of expression (#1113) 2023-05-09 00:16:58 +02:00
Birk Skyum
403a12bd1b Update paths from maplibre-gl-native to maplibre-native (#1090) 2023-05-01 09:41:26 +02:00
Tadej Novak
95c7e3818d [cmake] Use MLN prefix instead of MBGL (#1054)
Co-authored-by: Bart Louwers <bart@emeel.net>
2023-04-28 00:34:38 +02:00
Alex Cristici
19b84464a3 Fix render tests failing on Xcode 14.3 (#1046) 2023-04-24 17:45:09 +02:00
Siarhei Fedartsou
99167b9116 Remove Mapbox::Base::optional dependency from CMake (#1050) 2023-04-22 19:02:37 +02:00
Bart Louwers
453af362cb Linux C++ test & render tests on CI (#1033)
Co-authored-by: rpitre-wetdog <129877142+rpitre-wetdog@users.noreply.github.com>
Co-authored-by: Tadej Novak <tadej@tano.si>
Co-authored-by: Robin <boldtrn@users.noreply.github.com>
Co-authored-by: Siarhei Fedartsou <siarhei.fedartsou@gmail.com>
2023-04-22 14:24:42 +02:00
Siarhei Fedartsou
2a7a6f01a2 Configure clang-tidy CI check (#1028) 2023-04-20 09:57:25 +02:00
Tadej Novak
5d03d08e2c [win] Make _USE_MATH_DEFINES definition global (#1021) 2023-04-19 20:32:50 +02:00
rpitre-wetdog
94e15b7c21 Deleted the Pass file, replacing it with [[nodiscard]] (#1030) 2023-04-18 15:16:41 +02:00
Tadej Novak
12fcba89bf Remove internal build support (#1000) 2023-04-14 22:56:45 +02:00
Alex Cristici
8ff6704fc4 API links for OpenGL ES 3.0 (#1007)
Co-authored-by: mwilsnd <mwilsnd@gmail.com>
2023-04-14 22:48:53 +02:00
Alex Cristici
a35fa30ce1 Organize source code based on tree folders (#987) 2023-04-07 01:54:48 +03:00
mwilsnd
f207aee091 Migrate shaders to the registry (#964)
Co-authored-by: Bart Louwers <bart.louwers@gmail.com>
2023-04-04 21:00:12 +02:00
mwilsnd
1d8c4b527f Add shader registry (#924) 2023-03-27 19:41:38 +02:00
Bart Louwers
15ad65dd3d Use std::optional instead of mbgl::optional (#911) 2023-03-17 13:51:59 +02:00
tdcosta100
f06f60803c Add windows support (#707)
Co-authored-by: acalcutt <acalcutt@techidiots.net>
Co-authored-by: Bart Louwers <bart.louwers@gmail.com>
Co-authored-by: Ovidiu Voda <ovi.voda@gmail.com>
2023-02-25 16:12:06 -05: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
Tadej Novak
9cd70bfe7f Qt build improvements and documentation (#277)
* Qt build improvements and documentation

* Update include/mbgl/actor/actor_ref.hpp

Co-authored-by: Oliver Wipfli <oliver.wipfli@leichteralsluft.ch>
2022-06-16 20:52:52 +02: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
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
Birk Skyum
7dfb7c2957 update c and c++ language standards (#216) 2022-01-28 12:00:47 -08:00
Tadej Novak
66f32106a9 [qt] Improve CMake setup (#159) 2021-10-19 08:51:14 -07: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
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
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
62ab3e4340 Repository migration from MapTiler to MapLibre 2021-02-04 11:53:40 +01:00
Petr Pokorny
2f67fd30d8 Added the mbtiles file source for rendering vector tiles from file stored locally on the device. 2021-01-06 14:06:03 +01:00
Petr Pokorny
41f0be34e7 [general] moving ios and android project under ./platform folder 2020-12-20 12:38:56 +01:00