mapmetrics 1.0.4 copy "mapmetrics: ^1.0.4" to clipboard
mapmetrics: ^1.0.4 copied to clipboard

Permissive and performant mapping library that supports Mapbox Vector Tiles (MVT) powered by MapLibre SDKs.

110/ 160
pub points
304
downloads

We analyzed this package 36 hours ago, and awarded it 110 pub points (of a possible 160):

Failed report section
Follow Dart file conventions
20 / 30trigger folding of the section

Passed check 10/10 points: Provide a valid pubspec.yaml

Failed check 0/5 points: Provide a valid README.md

`README.md` is empty.

The README.md file should inform others about your project, what it does, and how they can use it. Check out the guidelines on Writing great package pages.

Failed check 0/5 points: Provide a valid CHANGELOG.md

`CHANGELOG.md` does not contain reference to the current version ("1.0.4").

Changelog entries help developers follow the progress of your package. Check out the Dart conventions for Maintaining a package changelog.

Passed check 10/10 points: Use an OSI-approved license

Detected license: BSD-3-Clause.

Failed report section
Provide documentation
10 / 20trigger folding of the section

Passed check 10/10 points: 20% or more of the public API has dartdoc comments

487 out of 606 API elements (80.4 %) have documentation comments.

Some symbols that are missing documentation: Basic, Events, Layers, Offline, Style.

Failed check 0/10 points: Package has an example and has no issues with screenshots

No example found.

See package layout guidelines on how to add an example.

Failed report section
Platform support
20 / 20trigger folding of the section

Passed check 20/20 points: Supports 3 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)

  • ✓ Android

  • ✓ iOS

  • ✓ Web

These platforms are not supported:

Package does not support platform `Windows`.

Because:

  • package:mapmetrics/mapmetrics.dart that declares support for platforms: Android, iOS, Web.
Package does not support platform `Linux`.

Because:

  • package:mapmetrics/mapmetrics.dart that declares support for platforms: Android, iOS, Web.
Package does not support platform `macOS`.

Because:

  • package:mapmetrics/mapmetrics.dart that declares support for platforms: Android, iOS, Web.

These issues are present but do not affect the score, because they may not originate in your package:

Package does not support platform `Android`.

Because:

  • package:mapmetrics/mapmetrics.dart that imports:
  • package:mapmetrics/src/widget_layer.dart that imports:
  • package:pointer_interceptor/pointer_interceptor.dart that declares support for platforms: iOS, Web.
Package does not support platform `iOS`.

Because:

  • package:mapmetrics/mapmetrics.dart that imports:
  • package:mapmetrics/src/permission_manager.dart that imports:
  • package:mapmetrics/src/platform_interface.dart that imports:
  • package:mapmetrics/src/platform/platform_native.dart that imports:
  • package:mapmetrics/src/platform/ios/offline_manager.dart that imports:
  • package:mapmetrics/src/platform/offline_manager_native.dart that imports:
  • package:mapmetrics/src/platform/android/extensions.dart that imports:
  • package:mapmetrics/src/platform/android/jni/jni.dart that imports:
  • package:mapmetrics/src/platform/android/jni/org/maplibre/android/utils/_package.dart that imports:
  • package:mapmetrics/src/platform/android/jni/org/maplibre/android/utils/ThreadUtils.dart that imports:
  • package:jni/jni.dart that declares support for platforms: Android, Windows, Linux.
Package does not support platform `Web`.

Because:

  • package:mapmetrics/mapmetrics.dart that imports:
  • package:mapmetrics/src/permission_manager.dart that imports:
  • package:mapmetrics/src/platform_interface.dart that imports:
  • package:mapmetrics/src/platform/platform_native.dart that imports:
  • package:mapmetrics/src/platform/ios/offline_manager.dart that imports:
  • package:mapmetrics/src/platform/offline_manager_native.dart that imports:
  • package:mapmetrics/src/platform/android/extensions.dart that imports:
  • package:mapmetrics/src/platform/android/jni/jni.dart that imports:
  • package:mapmetrics/src/platform/android/jni/org/maplibre/android/utils/_package.dart that imports:
  • package:mapmetrics/src/platform/android/jni/org/maplibre/android/utils/ThreadUtils.dart that imports:
  • package:jni/jni.dart that declares support for platforms: Android, Windows, Linux.

Failed check 0/0 points: WASM compatibility

Package not compatible with runtime wasm

Because:

  • package:mapmetrics/mapmetrics.dart that imports:
  • package:mapmetrics/src/widget_layer.dart that imports:
  • dart:io

This package is not compatible with runtime wasm, and will not be rewarded full points in a future version of the scoring model.

See https://dart.cn/web/wasm for details.

Failed check 0/0 points: Swift Package Manager support

Package does not support the Swift Package Manager on macOS

It does not contain macos/mapmetrics/Package.swift.

This package for iOS or macOS does not support the Swift Package Manager. It will not receive full points in a future version of the scoring model.

See https://docs.flutter.dev/to/spm for details.

Failed report section
Pass static analysis
30 / 50trigger folding of the section

Failed check 30/50 points: code has no errors, warnings, lints, or formatting issues

Found 302 issues. Showing the first 2:

WARNING: The declaration '_setupDragHandling' isn't referenced.

lib/src/platform/android/map_state.dart:591:8

    ╷
591 │   void _setupDragHandling() {
    │        ^^^^^^^^^^^^^^^^^^
    ╵

To reproduce make sure you are using the lints_core and run flutter analyze lib/src/platform/android/map_state.dart

WARNING: The operand can't be 'null', so the condition is always 'true'.

lib/src/platform/android/map_state.dart:715:30

    ╷
715 │       if (_locationComponent != null) {
    │                              ^^^^^^^
    ╵

To reproduce make sure you are using the lints_core and run flutter analyze lib/src/platform/android/map_state.dart

Failed report section
Support up-to-date dependencies
30 / 40trigger folding of the section

Failed check 0/10 points: All of the package dependencies are supported in the latest version

Package Constraint Compatible Latest Notes
ffi ^2.1.3 2.1.4 2.1.4
geotypes ^0.0.2 0.0.2 0.0.2
html ^0.15.4 0.15.6 0.15.6
jni ^0.14.0 0.14.2 0.15.2
objective_c ^6.0.0 6.0.0 9.2.1
pointer_interceptor ^0.10.1+2 0.10.1+2 0.10.1+2
url_launcher ^6.3.0 6.3.2 6.3.2
web ^1.0.0 1.1.1 1.1.1
Transitive dependencies
Package Constraint Compatible Latest Notes
args - 2.7.0 2.7.0
characters - 1.4.0 1.4.1
collection - 1.19.1 1.19.1
csslib - 1.0.2 1.0.2
json_annotation - 4.9.0 4.9.0
material_color_utilities - 0.11.1 0.13.0
meta - 1.17.0 1.17.0
package_config - 2.2.0 2.2.0
path - 1.9.1 1.9.1
plugin_platform_interface - 2.1.8 2.1.8
pointer_interceptor_ios - 0.10.1+1 0.10.1+1
pointer_interceptor_platform_interface - 0.10.0+1 0.10.0+1
pointer_interceptor_web - 0.10.3 0.10.3
pub_semver - 2.2.0 2.2.0
source_span - 1.10.1 1.10.1
term_glyph - 1.2.2 1.2.2
url_launcher_android - 6.3.28 6.3.28
url_launcher_ios - 6.3.6 6.3.6
url_launcher_linux - 3.2.2 3.2.2
url_launcher_macos - 3.2.5 3.2.5
url_launcher_platform_interface - 2.3.2 2.3.2
url_launcher_web - 2.4.1 2.4.1
url_launcher_windows - 3.1.5 3.1.5
vector_math - 2.2.0 2.2.0

To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides.

The constraint `^0.14.0` on jni does not support the stable version `0.15.0`.

Try running dart pub upgrade --major-versions jni to update the constraint.

The constraint `^6.0.0` on objective_c does not support the stable version `7.0.0`.

Try running dart pub upgrade --major-versions objective_c to update the constraint.

Passed check 10/10 points: Package supports latest stable Dart and Flutter SDKs

Passed check 20/20 points: Compatible with dependency constraint lower bounds

pub downgrade does not expose any static analysis error.

Analyzed with Pana 0.23.3, Flutter 3.38.4, Dart 3.10.3.

Check the analysis log for details.

Weekly downloads

Display as:
By versions:
0
likes
110
points
304
downloads
screenshot

Publisher

verified publishermapatlas.xyz

Weekly Downloads

Permissive and performant mapping library that supports Mapbox Vector Tiles (MVT) powered by MapLibre SDKs.

Repository (GitHub)
View/report issues

Topics

#map #mapmetrics #mvt

Documentation

API reference

License

BSD-3-Clause (license)

Dependencies

ffi, flutter, flutter_web_plugins, geotypes, html, jni, objective_c, pointer_interceptor, url_launcher, web

More

Packages that depend on mapmetrics

Packages that implement mapmetrics