Skip to content

Commit c576b21

Browse files
Performance Improvements (#70)
* Increased speed & efficiency of `rectangleTiles` (up to 25x in some circumstances) * Updated dependencies * Built Example Applications * Updated versions Updated README * Built Example Applications * Added license notification to every source file Updated CHANGELOG Updated README Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com> Former-commit-id: 3d30954d46a4b306e568ed5aa36a424b70ac55b8 [formerly c155c63] Former-commit-id: 2efe064d9594042beb2aee892901d157bef11fa8
1 parent caf5959 commit c576b21

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

49 files changed

+200
-41
lines changed

.vscode/settings.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
"dontkillmyapp",
66
"iscc",
77
"Mattraks",
8+
"osrm",
89
"pwsh",
910
"Redmi",
1011
"Redownload",

CHANGELOG.md

Lines changed: 14 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,23 @@
1-
# Changelog
2-
3-
1. Major version releases change the first digit and signify major (breaking) API changes, with or without deprecation warnings
4-
2. Minor version releases change the second digit and signify minor (breaking with deprecation warnings, or non-breaking) API changes or internal refactoring
5-
3. Revision version releases change the third digit and signify bug fixes or documentation changes
1+
# Sponsors
62

7-
Many thanks to my sponsors, no matter how much or how little they donated:
3+
Many thanks to my sponsors, no matter how much or how little they donated. Sponsorships & donations allow me to continue my projects and upgrade my hardware/setup, as well as allowing me to have some starting amount for further education and such-like.
84

95
* @tonyshkurenko
106
* @Mmisiek
117
* @huulbaek
8+
* @andrewames
9+
* @ozzy1873
10+
* Anonymous Donor (via Ko-Fi, no username provided)
11+
* Private Donor (via GitHub, chosen private)
12+
* Private Donor (via GitHub, chosen private)
13+
14+
# Changelog
1215

13-
---
16+
## [6.2.0] - 2022/10/XX
17+
18+
* Performance improvements
19+
* Changed license to GPL v3
20+
* Updated dependencies
1421

1522
## [6.1.0] - 2022/09/23
1623

README.md

Lines changed: 20 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,13 +12,31 @@ A plugin for ['flutter_map'](https://pub.dev/packages/flutter_map) providing adv
1212
For the full documentation, visit [the website](https://fmtc.jaffaketchup.dev) made with GitBook. It also has information about using the example application.
1313
Alternatively, for the API reference, look at the [auto generated 'dartdoc'](https://pub.dev/documentation/flutter_map_tile_caching/latest/flutter_map_tile_caching/flutter_map_tile_caching-library.html), which also appears as you type in your favourite IDE.
1414

15+
---
16+
1517
## Supporting Me
1618

17-
I'm an under-18 currently living in the UK, and I am in full-time education. I work on this project and all of my others in my spare time, and I currently have no stable income due to my age - although I aspire to work in software/mobile development in the future.
18-
If you have any change to spare, I'd be grateful for any amount, big or small :D. Every donation gives me 'mental fuel' to continue this project, and lets me know that I'm doing a good job. I'll be happy to give you a place on the documentation website's credits, and a shoutout in every release/CHANGELOG.
19+
I work on all of my projects in my spare time, including maintaining (along with a team) Flutter's № 1 (non-commercially maintained) mapping library 'flutter_map', bringing it back from the brink of abandonment, as well as my own plugin for it ('flutter_map_tile_caching') that extends it with advanced caching and downloading.
20+
Additionally, I also own the Dart encoder/decoder for the QOI image format ('dqoi') - and I am slowly working on 'flutter_osrm', a wrapper for the Open Source Routing Machine.
21+
22+
Sponsorships & donations allow me to continue my projects and upgrade my hardware/setup, as well as allowing me to have some starting amount for further education and such-like.
23+
And of course, a small amount will find its way into my Jaffa Cakes fund (<https://en.wikipedia.org/wiki/Jaffa_Cakes>) - why do you think my username has "Jaffa" in it?
24+
Many thanks for any amount you can spare, it means a lot to me!
1925

2026
You can read more about me and what I do on my [GitHub Sponsors](https://github.com/sponsors/JaffaKetchup) page, where you can donate as well.
2127

2228
[![Sponsor Me Via GitHub Sponsors](GitHubSponsorsImage.jpg)](https://github.com/sponsors/JaffaKetchup)
2329

2430
Alternatively, if you prefer not to use GitHub Sponsors, please feel free to use my [Ko-fi](https://ko-fi.com/jaffaketchup). Note that the PayPal backend will take a small percentage amount of donations made through this method.
31+
32+
## (Commercial) Licensing
33+
34+
_I am not a lawyer, and this information is to the best of my understanding._
35+
36+
This project is released under GPL-v3. For more information about this license, see <https://choosealicense.com/licenses/gpl-3.0/>. Essentially, whilst you can use this code within commercial projects, they must not be proprietary/closed-source.
37+
38+
However, I am willing to sell alternative licenses on a case-by-case basis and on request: please read on for more information.
39+
40+
I learnt (and am still learning) to code with free, open-source software due to my age and therefore my lack of money, and for that reason, I believe in promoting open-source wherever possible to give equal opportunities to everybody, no matter their age or financial position. I'm not sure it's fair for commercial proprietary applications to use software made by people for free out of generosity. On the other hand, I am also trying to make a small amount of money from my projects, by donations or by selling licenses. And I recognise that commercial businesses may want to use my projects.
41+
42+
Therefore, if you would like a license to use this software on a closed-source application, I will be willing to sell a yearly license for a reasonable price. If this seems like what you want/need, please do not hesitate to get in touch via [[email protected]](mailto://[email protected]).

example/currentAppVersion.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
6.1.0
1+
6.2.0

example/pubspec.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ description: The example application for 'flutter_map_tile_caching', showcasing
33
it's functionality and use-cases.
44
publish_to: "none"
55

6-
version: 6.0.0
6+
version: 6.2.0
77

88
environment:
99
sdk: ">=2.15.0 <3.0.0"
@@ -15,7 +15,7 @@ dependencies:
1515
flutter:
1616
sdk: flutter
1717
flutter_foreground_task: ^3.9.0
18-
flutter_map: ^3.0.0-beta.1
18+
flutter_map: ^3.0.0
1919
flutter_map_tile_caching:
2020
path: ../
2121
flutter_speed_dial: ^6.0.0

example/windows/flutter/generated_plugin_registrant.cc

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,11 +7,14 @@
77
#include "generated_plugin_registrant.h"
88

99
#include <permission_handler_windows/permission_handler_windows_plugin.h>
10+
#include <share_plus/share_plus_windows_plugin_c_api.h>
1011
#include <url_launcher_windows/url_launcher_windows.h>
1112

1213
void RegisterPlugins(flutter::PluginRegistry* registry) {
1314
PermissionHandlerWindowsPluginRegisterWithRegistrar(
1415
registry->GetRegistrarForPlugin("PermissionHandlerWindowsPlugin"));
16+
SharePlusWindowsPluginCApiRegisterWithRegistrar(
17+
registry->GetRegistrarForPlugin("SharePlusWindowsPluginCApi"));
1518
UrlLauncherWindowsRegisterWithRegistrar(
1619
registry->GetRegistrarForPlugin("UrlLauncherWindows"));
1720
}

example/windows/flutter/generated_plugins.cmake

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44

55
list(APPEND FLUTTER_PLUGIN_LIST
66
permission_handler_windows
7+
share_plus
78
url_launcher_windows
89
)
910

lib/flutter_map_tile_caching.dart

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
// Copyright © Luka S (JaffaKetchup) under GPL-v3
2+
// A full license can be found at .\LICENSE
3+
14
/// Main import point for 'flutter_map_tile_caching'
25
///
36
/// Checkout the README for more documentation.

lib/fmtc_advanced.dart

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
// Copyright © Luka S (JaffaKetchup) under GPL-v3
2+
// A full license can be found at .\LICENSE
3+
14
/// Secondary advanced import point for 'flutter_map_tile_caching'
25
///
36
/// Checkout the README for more documentation.

lib/src/bulk_download/download_progress.dart

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
// Copyright © Luka S (JaffaKetchup) under GPL-v3
2+
// A full license can be found at .\LICENSE
3+
14
import 'package:flutter/widgets.dart';
25
import 'package:meta/meta.dart';
36

0 commit comments

Comments
 (0)