Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

New Property allowPanning #766

Merged
merged 7 commits into from Jan 8, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
99 changes: 99 additions & 0 deletions .packages
@@ -0,0 +1,99 @@
# Generated by pub on 2021-01-08 01:21:05.841448.
_fe_analyzer_shared:file:///Users/escmoteur/Entwicklung/flutter/.pub-cache/hosted/pub.dartlang.org/_fe_analyzer_shared-12.0.0/lib/
analyzer:file:///Users/escmoteur/Entwicklung/flutter/.pub-cache/hosted/pub.dartlang.org/analyzer-0.40.6/lib/
ansicolor:file:///Users/escmoteur/Entwicklung/flutter/.pub-cache/hosted/pub.dartlang.org/ansicolor-1.1.1/lib/
archive:file:///Users/escmoteur/Entwicklung/flutter/.pub-cache/hosted/pub.dartlang.org/archive-2.0.13/lib/
args:file:///Users/escmoteur/Entwicklung/flutter/.pub-cache/hosted/pub.dartlang.org/args-1.6.0/lib/
async:file:///Users/escmoteur/Entwicklung/flutter/.pub-cache/hosted/pub.dartlang.org/async-2.5.0-nullsafety.1/lib/
boolean_selector:file:///Users/escmoteur/Entwicklung/flutter/.pub-cache/hosted/pub.dartlang.org/boolean_selector-2.1.0-nullsafety.1/lib/
cached_network_image:file:///Users/escmoteur/Entwicklung/flutter/.pub-cache/hosted/pub.dartlang.org/cached_network_image-2.5.0/lib/
characters:file:///Users/escmoteur/Entwicklung/flutter/.pub-cache/hosted/pub.dartlang.org/characters-1.1.0-nullsafety.3/lib/
charcode:file:///Users/escmoteur/Entwicklung/flutter/.pub-cache/hosted/pub.dartlang.org/charcode-1.2.0-nullsafety.1/lib/
cli_util:file:///Users/escmoteur/Entwicklung/flutter/.pub-cache/hosted/pub.dartlang.org/cli_util-0.2.0/lib/
clock:file:///Users/escmoteur/Entwicklung/flutter/.pub-cache/hosted/pub.dartlang.org/clock-1.1.0-nullsafety.1/lib/
collection:file:///Users/escmoteur/Entwicklung/flutter/.pub-cache/hosted/pub.dartlang.org/collection-1.15.0-nullsafety.3/lib/
console_log_handler:file:///Users/escmoteur/Entwicklung/flutter/.pub-cache/hosted/pub.dartlang.org/console_log_handler-1.1.6/lib/
convert:file:///Users/escmoteur/Entwicklung/flutter/.pub-cache/hosted/pub.dartlang.org/convert-2.1.1/lib/
coverage:file:///Users/escmoteur/Entwicklung/flutter/.pub-cache/hosted/pub.dartlang.org/coverage-0.14.2/lib/
crypto:file:///Users/escmoteur/Entwicklung/flutter/.pub-cache/hosted/pub.dartlang.org/crypto-2.1.5/lib/
fake_async:file:///Users/escmoteur/Entwicklung/flutter/.pub-cache/hosted/pub.dartlang.org/fake_async-1.2.0-nullsafety.1/lib/
ffi:file:///Users/escmoteur/Entwicklung/flutter/.pub-cache/hosted/pub.dartlang.org/ffi-0.1.3/lib/
file:file:///Users/escmoteur/Entwicklung/flutter/.pub-cache/hosted/pub.dartlang.org/file-5.2.1/lib/
flutter:file:///Users/escmoteur/Entwicklung/flutter/packages/flutter/lib/
flutter_blurhash:file:///Users/escmoteur/Entwicklung/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_blurhash-0.5.0/lib/
flutter_cache_manager:file:///Users/escmoteur/Entwicklung/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_cache_manager-2.1.0/lib/
flutter_image:file:///Users/escmoteur/Entwicklung/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_image-3.0.0/lib/
flutter_test:file:///Users/escmoteur/Entwicklung/flutter/packages/flutter_test/lib/
glob:file:///Users/escmoteur/Entwicklung/flutter/.pub-cache/hosted/pub.dartlang.org/glob-1.2.0/lib/
http:file:///Users/escmoteur/Entwicklung/flutter/.pub-cache/hosted/pub.dartlang.org/http-0.12.2/lib/
http_multi_server:file:///Users/escmoteur/Entwicklung/flutter/.pub-cache/hosted/pub.dartlang.org/http_multi_server-2.2.0/lib/
http_parser:file:///Users/escmoteur/Entwicklung/flutter/.pub-cache/hosted/pub.dartlang.org/http_parser-3.1.4/lib/
image:file:///Users/escmoteur/Entwicklung/flutter/.pub-cache/hosted/pub.dartlang.org/image-2.1.19/lib/
intl:file:///Users/escmoteur/Entwicklung/flutter/.pub-cache/hosted/pub.dartlang.org/intl-0.16.1/lib/
io:file:///Users/escmoteur/Entwicklung/flutter/.pub-cache/hosted/pub.dartlang.org/io-0.3.4/lib/
js:file:///Users/escmoteur/Entwicklung/flutter/.pub-cache/hosted/pub.dartlang.org/js-0.6.3-nullsafety.2/lib/
latlong:file:///Users/escmoteur/Entwicklung/flutter/.pub-cache/hosted/pub.dartlang.org/latlong-0.6.1/lib/
lists:file:///Users/escmoteur/Entwicklung/flutter/.pub-cache/hosted/pub.dartlang.org/lists-0.1.6/lib/
location:file:///Users/escmoteur/Entwicklung/flutter/.pub-cache/hosted/pub.dartlang.org/location-2.5.4/lib/
logging:file:///Users/escmoteur/Entwicklung/flutter/.pub-cache/hosted/pub.dartlang.org/logging-0.11.4/lib/
matcher:file:///Users/escmoteur/Entwicklung/flutter/.pub-cache/hosted/pub.dartlang.org/matcher-0.12.10-nullsafety.1/lib/
meta:file:///Users/escmoteur/Entwicklung/flutter/.pub-cache/hosted/pub.dartlang.org/meta-1.3.0-nullsafety.3/lib/
mgrs_dart:file:///Users/escmoteur/Entwicklung/flutter/.pub-cache/hosted/pub.dartlang.org/mgrs_dart-1.0.1/lib/
mime:file:///Users/escmoteur/Entwicklung/flutter/.pub-cache/hosted/pub.dartlang.org/mime-0.9.7/lib/
node_interop:file:///Users/escmoteur/Entwicklung/flutter/.pub-cache/hosted/pub.dartlang.org/node_interop-1.2.1/lib/
node_io:file:///Users/escmoteur/Entwicklung/flutter/.pub-cache/hosted/pub.dartlang.org/node_io-1.2.0/lib/
node_preamble:file:///Users/escmoteur/Entwicklung/flutter/.pub-cache/hosted/pub.dartlang.org/node_preamble-1.4.12/lib/
octo_image:file:///Users/escmoteur/Entwicklung/flutter/.pub-cache/hosted/pub.dartlang.org/octo_image-0.3.0/lib/
package_config:file:///Users/escmoteur/Entwicklung/flutter/.pub-cache/hosted/pub.dartlang.org/package_config-1.9.3/lib/
path:file:///Users/escmoteur/Entwicklung/flutter/.pub-cache/hosted/pub.dartlang.org/path-1.8.0-nullsafety.1/lib/
path_provider:file:///Users/escmoteur/Entwicklung/flutter/.pub-cache/hosted/pub.dartlang.org/path_provider-1.6.24/lib/
path_provider_linux:file:///Users/escmoteur/Entwicklung/flutter/.pub-cache/hosted/pub.dartlang.org/path_provider_linux-0.0.1+2/lib/
path_provider_macos:file:///Users/escmoteur/Entwicklung/flutter/.pub-cache/hosted/pub.dartlang.org/path_provider_macos-0.0.4+6/lib/
path_provider_platform_interface:file:///Users/escmoteur/Entwicklung/flutter/.pub-cache/hosted/pub.dartlang.org/path_provider_platform_interface-1.0.4/lib/
path_provider_windows:file:///Users/escmoteur/Entwicklung/flutter/.pub-cache/hosted/pub.dartlang.org/path_provider_windows-0.0.4+3/lib/
pedantic:file:///Users/escmoteur/Entwicklung/flutter/.pub-cache/hosted/pub.dartlang.org/pedantic-1.10.0-nullsafety.2/lib/
petitparser:file:///Users/escmoteur/Entwicklung/flutter/.pub-cache/hosted/pub.dartlang.org/petitparser-3.1.0/lib/
platform:file:///Users/escmoteur/Entwicklung/flutter/.pub-cache/hosted/pub.dartlang.org/platform-2.2.1/lib/
plugin_platform_interface:file:///Users/escmoteur/Entwicklung/flutter/.pub-cache/hosted/pub.dartlang.org/plugin_platform_interface-1.0.3/lib/
pool:file:///Users/escmoteur/Entwicklung/flutter/.pub-cache/hosted/pub.dartlang.org/pool-1.5.0-nullsafety.2/lib/
positioned_tap_detector:file:///Users/escmoteur/Entwicklung/flutter/.pub-cache/hosted/pub.dartlang.org/positioned_tap_detector-1.0.3/lib/
process:file:///Users/escmoteur/Entwicklung/flutter/.pub-cache/hosted/pub.dartlang.org/process-3.0.13/lib/
proj4dart:file:///Users/escmoteur/Entwicklung/flutter/.pub-cache/hosted/pub.dartlang.org/proj4dart-1.0.5/lib/
pub_semver:file:///Users/escmoteur/Entwicklung/flutter/.pub-cache/hosted/pub.dartlang.org/pub_semver-1.4.4/lib/
quiver:file:///Users/escmoteur/Entwicklung/flutter/.pub-cache/hosted/pub.dartlang.org/quiver-2.1.5/lib/
rxdart:file:///Users/escmoteur/Entwicklung/flutter/.pub-cache/hosted/pub.dartlang.org/rxdart-0.25.0/lib/
shelf:file:///Users/escmoteur/Entwicklung/flutter/.pub-cache/hosted/pub.dartlang.org/shelf-0.7.9/lib/
shelf_packages_handler:file:///Users/escmoteur/Entwicklung/flutter/.pub-cache/hosted/pub.dartlang.org/shelf_packages_handler-2.0.0/lib/
shelf_static:file:///Users/escmoteur/Entwicklung/flutter/.pub-cache/hosted/pub.dartlang.org/shelf_static-0.2.9+1/lib/
shelf_web_socket:file:///Users/escmoteur/Entwicklung/flutter/.pub-cache/hosted/pub.dartlang.org/shelf_web_socket-0.2.3/lib/
sky_engine:file:///Users/escmoteur/Entwicklung/flutter/bin/cache/pkg/sky_engine/lib/
source_map_stack_trace:file:///Users/escmoteur/Entwicklung/flutter/.pub-cache/hosted/pub.dartlang.org/source_map_stack_trace-2.1.0-nullsafety.3/lib/
source_maps:file:///Users/escmoteur/Entwicklung/flutter/.pub-cache/hosted/pub.dartlang.org/source_maps-0.10.10-nullsafety.2/lib/
source_span:file:///Users/escmoteur/Entwicklung/flutter/.pub-cache/hosted/pub.dartlang.org/source_span-1.8.0-nullsafety.2/lib/
sqflite:file:///Users/escmoteur/Entwicklung/flutter/.pub-cache/hosted/pub.dartlang.org/sqflite-1.3.2+1/lib/
sqflite_common:file:///Users/escmoteur/Entwicklung/flutter/.pub-cache/hosted/pub.dartlang.org/sqflite_common-1.0.2+1/lib/
stack_trace:file:///Users/escmoteur/Entwicklung/flutter/.pub-cache/hosted/pub.dartlang.org/stack_trace-1.10.0-nullsafety.1/lib/
stream_channel:file:///Users/escmoteur/Entwicklung/flutter/.pub-cache/hosted/pub.dartlang.org/stream_channel-2.1.0-nullsafety.1/lib/
string_scanner:file:///Users/escmoteur/Entwicklung/flutter/.pub-cache/hosted/pub.dartlang.org/string_scanner-1.1.0-nullsafety.1/lib/
synchronized:file:///Users/escmoteur/Entwicklung/flutter/.pub-cache/hosted/pub.dartlang.org/synchronized-2.2.0+2/lib/
term_glyph:file:///Users/escmoteur/Entwicklung/flutter/.pub-cache/hosted/pub.dartlang.org/term_glyph-1.2.0-nullsafety.1/lib/
test:file:///Users/escmoteur/Entwicklung/flutter/.pub-cache/hosted/pub.dartlang.org/test-1.16.0-nullsafety.5/lib/
test_api:file:///Users/escmoteur/Entwicklung/flutter/.pub-cache/hosted/pub.dartlang.org/test_api-0.2.19-nullsafety.2/lib/
test_core:file:///Users/escmoteur/Entwicklung/flutter/.pub-cache/hosted/pub.dartlang.org/test_core-0.3.12-nullsafety.5/lib/
transparent_image:file:///Users/escmoteur/Entwicklung/flutter/.pub-cache/hosted/pub.dartlang.org/transparent_image-1.0.0/lib/
tuple:file:///Users/escmoteur/Entwicklung/flutter/.pub-cache/hosted/pub.dartlang.org/tuple-1.0.3/lib/
typed_data:file:///Users/escmoteur/Entwicklung/flutter/.pub-cache/hosted/pub.dartlang.org/typed_data-1.3.0-nullsafety.3/lib/
unicode:file:///Users/escmoteur/Entwicklung/flutter/.pub-cache/hosted/pub.dartlang.org/unicode-0.2.4/lib/
uuid:file:///Users/escmoteur/Entwicklung/flutter/.pub-cache/hosted/pub.dartlang.org/uuid-2.2.2/lib/
validate:file:///Users/escmoteur/Entwicklung/flutter/.pub-cache/hosted/pub.dartlang.org/validate-1.7.0/lib/
vector_math:file:///Users/escmoteur/Entwicklung/flutter/.pub-cache/hosted/pub.dartlang.org/vector_math-2.1.0-nullsafety.3/lib/
vm_service:file:///Users/escmoteur/Entwicklung/flutter/.pub-cache/hosted/pub.dartlang.org/vm_service-5.5.0/lib/
watcher:file:///Users/escmoteur/Entwicklung/flutter/.pub-cache/hosted/pub.dartlang.org/watcher-0.9.7+15/lib/
web_socket_channel:file:///Users/escmoteur/Entwicklung/flutter/.pub-cache/hosted/pub.dartlang.org/web_socket_channel-1.1.0/lib/
webkit_inspection_protocol:file:///Users/escmoteur/Entwicklung/flutter/.pub-cache/hosted/pub.dartlang.org/webkit_inspection_protocol-0.7.4/lib/
win32:file:///Users/escmoteur/Entwicklung/flutter/.pub-cache/hosted/pub.dartlang.org/win32-1.7.4/lib/
wkt_parser:file:///Users/escmoteur/Entwicklung/flutter/.pub-cache/hosted/pub.dartlang.org/wkt_parser-1.0.7/lib/
xdg_directories:file:///Users/escmoteur/Entwicklung/flutter/.pub-cache/hosted/pub.dartlang.org/xdg_directories-0.1.2/lib/
xml:file:///Users/escmoteur/Entwicklung/flutter/.pub-cache/hosted/pub.dartlang.org/xml-4.5.1/lib/
yaml:file:///Users/escmoteur/Entwicklung/flutter/.pub-cache/hosted/pub.dartlang.org/yaml-2.2.1/lib/
flutter_map:lib/
3 changes: 3 additions & 0 deletions CHANGELOG.md
@@ -1,3 +1,6 @@
## [0.10.2] - 10/29/2020
- added property `allowPanning` to `MapOptions` that allows to disable only panning while touch events are still triggered

## [0.10.1+1] - 8/4/2020
- fix possible issue with code published in previous version

Expand Down
Binary file removed example/assets/berlin.mbtiles
Binary file not shown.
1 change: 1 addition & 0 deletions example/ios/Flutter/Debug.xcconfig
@@ -1 +1,2 @@
#include "Pods/Target Support Files/Pods-Runner/Pods-Runner.debug.xcconfig"
#include "Generated.xcconfig"
1 change: 1 addition & 0 deletions example/ios/Flutter/Release.xcconfig
@@ -1 +1,2 @@
#include "Pods/Target Support Files/Pods-Runner/Pods-Runner.release.xcconfig"
#include "Generated.xcconfig"
41 changes: 41 additions & 0 deletions example/ios/Podfile
@@ -0,0 +1,41 @@
# Uncomment this line to define a global platform for your project
# platform :ios, '9.0'

# CocoaPods analytics sends network stats synchronously affecting flutter build latency.
ENV['COCOAPODS_DISABLE_STATS'] = 'true'

project 'Runner', {
'Debug' => :debug,
'Profile' => :release,
'Release' => :release,
}

def flutter_root
generated_xcode_build_settings_path = File.expand_path(File.join('..', 'Flutter', 'Generated.xcconfig'), __FILE__)
unless File.exist?(generated_xcode_build_settings_path)
raise "#{generated_xcode_build_settings_path} must exist. If you're running pod install manually, make sure flutter pub get is executed first"
end

File.foreach(generated_xcode_build_settings_path) do |line|
matches = line.match(/FLUTTER_ROOT\=(.*)/)
return matches[1].strip if matches
end
raise "FLUTTER_ROOT not found in #{generated_xcode_build_settings_path}. Try deleting Generated.xcconfig, then run flutter pub get"
end

require File.expand_path(File.join('packages', 'flutter_tools', 'bin', 'podhelper'), flutter_root)

flutter_ios_podfile_setup

target 'Runner' do
use_frameworks!
use_modular_headers!

flutter_install_all_ios_pods File.dirname(File.realpath(__FILE__))
end

post_install do |installer|
installer.pods_project.targets.each do |target|
flutter_additional_ios_build_settings(target)
end
end
43 changes: 43 additions & 0 deletions example/ios/Podfile.lock
@@ -0,0 +1,43 @@
PODS:
- Flutter (1.0.0)
- FMDB (2.7.5):
- FMDB/standard (= 2.7.5)
- FMDB/standard (2.7.5)
- location (0.0.1):
- Flutter
- path_provider (0.0.1):
- Flutter
- sqflite (0.0.2):
- Flutter
- FMDB (>= 2.7.5)

DEPENDENCIES:
- Flutter (from `Flutter`)
- location (from `.symlinks/plugins/location/ios`)
- path_provider (from `.symlinks/plugins/path_provider/ios`)
- sqflite (from `.symlinks/plugins/sqflite/ios`)

SPEC REPOS:
trunk:
- FMDB

EXTERNAL SOURCES:
Flutter:
:path: Flutter
location:
:path: ".symlinks/plugins/location/ios"
path_provider:
:path: ".symlinks/plugins/path_provider/ios"
sqflite:
:path: ".symlinks/plugins/sqflite/ios"

SPEC CHECKSUMS:
Flutter: 0e3d915762c693b495b44d77113d4970485de6ec
FMDB: 2ce00b547f966261cd18927a3ddb07cb6f3db82a
location: 3a2eed4dd2fab25e7b7baf2a9efefe82b512d740
path_provider: abfe2b5c733d04e238b0d8691db0cfd63a27a93c
sqflite: 6d358c025f5b867b29ed92fc697fd34924e11904

PODFILE CHECKSUM: aafe91acc616949ddb318b77800a7f51bffa2a4c

COCOAPODS: 1.10.0
2 changes: 0 additions & 2 deletions example/lib/main.dart
Expand Up @@ -10,7 +10,6 @@ import './pages/map_controller.dart';
import './pages/marker_anchor.dart';
import './pages/moving_markers.dart';
import './pages/offline_map.dart';
import './pages/offline_mbtiles_map.dart';
import './pages/on_tap.dart';
import './pages/overlay_image.dart';
import './pages/plugin_api.dart';
Expand Down Expand Up @@ -48,7 +47,6 @@ class MyApp extends StatelessWidget {
PluginScaleBar.route: (context) => PluginScaleBar(),
PluginZoomButtons.route: (context) => PluginZoomButtons(),
OfflineMapPage.route: (context) => OfflineMapPage(),
OfflineMBTilesMapPage.route: (context) => OfflineMBTilesMapPage(),
OnTapPage.route: (context) => OnTapPage(),
MovingMarkersPage.route: (context) => MovingMarkersPage(),
CirclePage.route: (context) => CirclePage(),
Expand Down
4 changes: 2 additions & 2 deletions example/lib/pages/animated_map_controller.dart
Expand Up @@ -90,7 +90,7 @@ class AnimatedMapControllerPageState extends State<AnimatedMapControllerPage>
builder: (ctx) => Container(
child: FlutterLogo(
key: Key('green'),
colors: Colors.green,
textColor: Colors.green,
),
),
),
Expand All @@ -100,7 +100,7 @@ class AnimatedMapControllerPageState extends State<AnimatedMapControllerPage>
point: paris,
builder: (ctx) => Container(
key: Key('purple'),
child: FlutterLogo(colors: Colors.purple),
child: FlutterLogo(textColor: Colors.purple),
),
),
];
Expand Down
6 changes: 3 additions & 3 deletions example/lib/pages/home.dart
Expand Up @@ -16,7 +16,7 @@ class HomePage extends StatelessWidget {
point: LatLng(51.5, -0.09),
builder: (ctx) => Container(
child: FlutterLogo(
colors: Colors.blue,
textColor: Colors.blue,
key: ObjectKey(Colors.blue),
),
),
Expand All @@ -27,7 +27,7 @@ class HomePage extends StatelessWidget {
point: LatLng(53.3498, -6.2603),
builder: (ctx) => Container(
child: FlutterLogo(
colors: Colors.green,
textColor: Colors.green,
key: ObjectKey(Colors.green),
),
),
Expand All @@ -38,7 +38,7 @@ class HomePage extends StatelessWidget {
point: LatLng(48.8566, 2.3522),
builder: (ctx) => Container(
child: FlutterLogo(
colors: Colors.purple,
textColor: Colors.purple,
key: ObjectKey(Colors.purple),
),
),
Expand Down
2 changes: 1 addition & 1 deletion example/lib/pages/live_location.dart
Expand Up @@ -105,7 +105,7 @@ class _LiveLocationPageState extends State<LiveLocationPage> {
point: currentLatLng,
builder: (ctx) => Container(
child: FlutterLogo(
colors: Colors.blue,
textColor: Colors.blue,
key: ObjectKey(Colors.blue),
),
),
Expand Down
4 changes: 2 additions & 2 deletions example/lib/pages/map_controller.dart
Expand Up @@ -48,7 +48,7 @@ class MapControllerPageState extends State<MapControllerPage> {
builder: (ctx) => Container(
child: FlutterLogo(
key: Key('green'),
colors: Colors.green,
textColor: Colors.green,
),
),
),
Expand All @@ -58,7 +58,7 @@ class MapControllerPageState extends State<MapControllerPage> {
point: paris,
builder: (ctx) => Container(
key: Key('purple'),
child: FlutterLogo(colors: Colors.purple),
child: FlutterLogo(textColor: Colors.purple),
),
),
];
Expand Down
4 changes: 2 additions & 2 deletions example/lib/pages/marker_anchor.dart
Expand Up @@ -51,7 +51,7 @@ class MarkerAnchorPageState extends State<MarkerAnchorPage> {
point: LatLng(53.3498, -6.2603),
builder: (ctx) => Container(
child: FlutterLogo(
colors: Colors.green,
textColor: Colors.green,
),
),
anchorPos: anchorPos,
Expand All @@ -61,7 +61,7 @@ class MarkerAnchorPageState extends State<MarkerAnchorPage> {
height: 80.0,
point: LatLng(48.8566, 2.3522),
builder: (ctx) => Container(
child: FlutterLogo(colors: Colors.purple),
child: FlutterLogo(textColor: Colors.purple),
),
anchorPos: anchorPos,
),
Expand Down
53 changes: 0 additions & 53 deletions example/lib/pages/offline_mbtiles_map.dart

This file was deleted.