maplibre 0.1.2 copy "maplibre: ^0.1.2" to clipboard
maplibre: ^0.1.2 copied to clipboard

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

11
likes
150/ 160
pub points
211
downloads

We analyzed this package 8 days ago, and awarded it 150 pub points (of a possible 160):

partial
Follow Dart file conventions
30 / 30trigger folding of the section

10/10 points: Provide a valid pubspec.yaml

Issue tracker URL doesn't exist.

At the time of the analysis https://github.com/josxha/flutter-maplibre/issues was unreachable. Make sure that the website is reachable via HEAD requests.

5/5 points: Provide a valid README.md

5/5 points: Provide a valid CHANGELOG.md

10/10 points: Use an OSI-approved license

Detected license: BSD-3-Clause.

OK
Provide documentation
20 / 20trigger folding of the section

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

483 out of 571 API elements (84.6 %) have documentation comments.

Some symbols that are missing documentation: maplibre, maplibre.BBox.BBox.fromJson, maplibre.BBox.BBox.named, maplibre.BBox.alt1, maplibre.BBox.alt2.

10/10 points: Package has an example

failed
Platform support
20 / 20trigger folding of the section

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

  • ✓ Android

  • ✓ Web

These platforms are not supported:

Package does not support platform `iOS`.

Because:

  • package:maplibre/maplibre.dart that declares support for platforms: Android, Web.
Package does not support platform `Windows`.

Because:

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

Because:

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

Because:

  • package:maplibre/maplibre.dart that declares support for platforms: Android, 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:maplibre/maplibre.dart that imports:
  • package:maplibre/src/ui/source_attribution.dart that imports:
  • package:pointer_interceptor/pointer_interceptor.dart that declares support for platforms: iOS, Web.
Package not compatible with platform Web

Because:

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

0/0 points: WASM compatibility

Package not compatible with runtime wasm

Because:

  • package:maplibre/maplibre.dart that imports:
  • package:maplibre/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.dev/web/wasm for details.

0/0 points: Swift Package Manager support

Package does not support the Swift Package Manager on macOS

It does not contain macos/maplibre/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.

partial
Pass static analysis
40 / 50trigger folding of the section

40/50 points: code has no errors, warnings, lints, or formatting issues

Found 6 issues. Showing the first 2:

INFO: 'opacity' is deprecated and shouldn't be used. Use .a.

lib/src/annotation/circle_annotation_layer.dart:27:31

   ╷
27 │   double get opacity => color.opacity;
   │                               ^^^^^^^
   ╵

To reproduce make sure you are using the lints_core and run flutter analyze lib/src/annotation/circle_annotation_layer.dart

INFO: 'opacity' is deprecated and shouldn't be used. Use .a.

lib/src/annotation/circle_annotation_layer.dart:36:43

   ╷
36 │   double get strokeOpacity => strokeColor.opacity;
   │                                           ^^^^^^^
   ╵

To reproduce make sure you are using the lints_core and run flutter analyze lib/src/annotation/circle_annotation_layer.dart

OK
Support up-to-date dependencies
40 / 40trigger folding of the section

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

Package Constraint Compatible Latest
flutter flutter 0.0.0 0.0.0
flutter_web_plugins flutter 0.0.0 0.0.0
geotypes ^0.0.2 0.0.2 0.0.2
html ^0.15.4 0.15.5 0.15.5
jni ^0.12.0 0.12.2 0.13.0
pointer_interceptor ^0.10.1+2 0.10.1+2 0.10.1+2
url_launcher ^6.3.0 6.3.1 6.3.1
web ^1.0.0 1.1.0 1.1.0
Transitive dependencies
Package Constraint Compatible Latest
args - 2.6.0 2.6.0
characters - 1.3.0 1.4.0
collection - 1.19.0 1.19.1
csslib - 1.0.2 1.0.2
ffi - 2.1.3 2.1.3
json_annotation - 4.9.0 4.9.0
material_color_utilities - 0.11.1 0.12.0
meta - 1.15.0 1.16.0
package_config - 2.1.1 2.1.1
path - 1.9.1 1.9.1
plugin_platform_interface - 2.1.8 2.1.8
pointer_interceptor_ios - 0.10.1 0.10.1
pointer_interceptor_platform_interface - 0.10.0+1 0.10.0+1
pointer_interceptor_web - 0.10.2+1 0.10.2+1
sky_engine - 0.0.0 0.0.0
source_span - 1.10.1 1.10.1
term_glyph - 1.2.2 1.2.2
url_launcher_android - 6.3.14 6.3.14
url_launcher_ios - 6.3.2 6.3.2
url_launcher_linux - 3.2.1 3.2.1
url_launcher_macos - 3.2.2 3.2.2
url_launcher_platform_interface - 2.3.2 2.3.2
url_launcher_web - 2.3.3 2.3.3
url_launcher_windows - 3.1.3 3.1.3
vector_math - 2.1.4 2.1.4

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

The constraint `^0.12.0` on jni does not support the stable version `0.13.0`, that was published 5 days ago.

When jni is 30 days old, this package will no longer be awarded points in this category.

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

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

20/20 points: Compatible with dependency constraint lower bounds

pub downgrade does not expose any static analysis error.

Analyzed with Pana 0.22.17, Flutter 3.27.0, Dart 3.6.0.

Check the analysis log for details.

11
likes
150
points
211
downloads

Publisher

verified publisherjoscha-eckert.de

Weekly Downloads

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

Homepage
Repository (GitHub)
View/report issues
Contributing

Topics

#map #maplibre #mvt

Documentation

Documentation
API reference

Funding

Consider supporting this project:

www.paypal.com

License

BSD-3-Clause (license)

Dependencies

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

More

Packages that depend on maplibre