flutter_mapbox_gl 0.0.5

  • Readme
  • Changelog
  • Example
  • Installing
  • 64

mapbox_gl #

A new Flutter project.

Getting Started #

This project is a starting point for a Flutter plug-in package, a specialized package that includes platform-specific implementation code for Android and/or iOS.

For help getting started with Flutter, view our online documentation, which offers tutorials, samples, guidance on mobile development, and a full API reference.

0.0.5 #

  • setLatLngBoundsForCameraTarget dont not animate on iOS anymore

0.0.4+2 #

  • add Android tests

0.0.4+1 #

  • fix more analysis options

0.0.4 #

  • add tests for updating layers
  • update example app UI
  • add more examples

0.0.3 #

  • add tap events for iOS
  • add support for creating Style object from String json on iOS
  • add support for adding images

0.0.2 #

  • add iOS implementation
  • add add expression support
  • load style from json string

0.0.1 #

  • initial release.


mapbox_gl_example #

Demonstrates how to use the mapbox_gl plugin.

Getting Started #

This project is a starting point for a Flutter application.

A few resources to get you started if this is your first Flutter project:

For help getting started with Flutter, view our online documentation, which offers tutorials, samples, guidance on mobile development, and a full API reference.

Use this package as a library

1. Depend on it

Add this to your package's pubspec.yaml file:

  flutter_mapbox_gl: ^0.0.5

2. Install it

You can install packages from the command line:

with Flutter:

$ flutter pub get

Alternatively, your editor might support flutter pub get. Check the docs for your editor to learn more.

3. Import it

Now in your Dart code, you can use:

import 'package:flutter_mapbox_gl/flutter_mapbox_gl.dart';
Describes how popular the package is relative to other packages. [more]
Code health derived from static analysis. [more]
Reflects how tidy and up-to-date the package is. [more]
Weighted score of the above. [more]
Learn more about scoring.

We analyzed this package on Jan 21, 2020, and provided a score, details, and suggestions below. Analysis was completed with status completed using:

  • Dart: 2.7.0
  • pana: 0.13.4
  • Flutter: 1.12.13+hotfix.5

Health suggestions

Fix lib/src/style.dart. (-0.50 points)

Analysis of lib/src/style.dart reported 1 hint:

line 117 col 16: This function has a return type of 'Future

Format lib/src/models/proto/generated/expression.pb.dart.

Run flutter format to format lib/src/models/proto/generated/expression.pb.dart.

Format lib/src/models/proto/generated/expression.pbenum.dart.

Run flutter format to format lib/src/models/proto/generated/expression.pbenum.dart.

Fix additional 26 files with analysis or formatting issues.

Additional issues in the following files:

  • lib/src/models/proto/generated/expression.pbjson.dart (Run flutter format to format lib/src/models/proto/generated/expression.pbjson.dart.)
  • lib/src/models/proto/generated/expression.pbserver.dart (Run flutter format to format lib/src/models/proto/generated/expression.pbserver.dart.)
  • lib/src/models/proto/generated/google/protobuf/wrappers.pb.dart (Run flutter format to format lib/src/models/proto/generated/google/protobuf/wrappers.pb.dart.)
  • lib/src/models/proto/generated/google/protobuf/wrappers.pbenum.dart (Run flutter format to format lib/src/models/proto/generated/google/protobuf/wrappers.pbenum.dart.)
  • lib/src/models/proto/generated/google/protobuf/wrappers.pbjson.dart (Run flutter format to format lib/src/models/proto/generated/google/protobuf/wrappers.pbjson.dart.)
  • lib/src/models/proto/generated/google/protobuf/wrappers.pbserver.dart (Run flutter format to format lib/src/models/proto/generated/google/protobuf/wrappers.pbserver.dart.)
  • lib/src/models/proto/generated/layers.pb.dart (Run flutter format to format lib/src/models/proto/generated/layers.pb.dart.)
  • lib/src/models/proto/generated/layers.pbenum.dart (Run flutter format to format lib/src/models/proto/generated/layers.pbenum.dart.)
  • lib/src/models/proto/generated/layers.pbjson.dart (Run flutter format to format lib/src/models/proto/generated/layers.pbjson.dart.)
  • lib/src/models/proto/generated/layers.pbserver.dart (Run flutter format to format lib/src/models/proto/generated/layers.pbserver.dart.)
  • lib/src/models/proto/generated/map.pb.dart (Run flutter format to format lib/src/models/proto/generated/map.pb.dart.)
  • lib/src/models/proto/generated/map.pbenum.dart (Run flutter format to format lib/src/models/proto/generated/map.pbenum.dart.)
  • lib/src/models/proto/generated/map.pbjson.dart (Run flutter format to format lib/src/models/proto/generated/map.pbjson.dart.)
  • lib/src/models/proto/generated/map.pbserver.dart (Run flutter format to format lib/src/models/proto/generated/map.pbserver.dart.)
  • lib/src/models/proto/generated/sources.pb.dart (Run flutter format to format lib/src/models/proto/generated/sources.pb.dart.)
  • lib/src/models/proto/generated/sources.pbenum.dart (Run flutter format to format lib/src/models/proto/generated/sources.pbenum.dart.)
  • lib/src/models/proto/generated/sources.pbjson.dart (Run flutter format to format lib/src/models/proto/generated/sources.pbjson.dart.)
  • lib/src/models/proto/generated/sources.pbserver.dart (Run flutter format to format lib/src/models/proto/generated/sources.pbserver.dart.)
  • lib/src/models/proto/generated/style.pb.dart (Run flutter format to format lib/src/models/proto/generated/style.pb.dart.)
  • lib/src/models/proto/generated/style.pbenum.dart (Run flutter format to format lib/src/models/proto/generated/style.pbenum.dart.)
  • lib/src/models/proto/generated/style.pbjson.dart (Run flutter format to format lib/src/models/proto/generated/style.pbjson.dart.)
  • lib/src/models/proto/generated/style.pbserver.dart (Run flutter format to format lib/src/models/proto/generated/style.pbserver.dart.)
  • lib/src/models/proto/generated/util.pb.dart (Run flutter format to format lib/src/models/proto/generated/util.pb.dart.)
  • lib/src/models/proto/generated/util.pbenum.dart (Run flutter format to format lib/src/models/proto/generated/util.pbenum.dart.)
  • lib/src/models/proto/generated/util.pbjson.dart (Run flutter format to format lib/src/models/proto/generated/util.pbjson.dart.)
  • lib/src/models/proto/generated/util.pbserver.dart (Run flutter format to format lib/src/models/proto/generated/util.pbserver.dart.)

Maintenance issues and suggestions

Support latest dependencies. (-20 points)

The version constraint in pubspec.yaml does not support the latest published versions for 2 dependencies (built_value, protobuf).

The package description is too short. (-20 points)

Add more detail to the description field of pubspec.yaml. Use 60 to 180 characters to describe the package, what it does, and its target use case.

Package is pre-v0.1 release. (-10 points)

While nothing is inherently wrong with versions of 0.0.*, it might mean that the author is still experimenting with the general direction of the API.


Package Constraint Resolved Available
Direct dependencies
Dart SDK >=2.2.2 <3.0.0
built_collection ^4.2.2 4.3.2
built_value ^6.7.0 6.8.2 7.0.8
collection ^1.14.11 1.14.11 1.14.12
fixnum ^0.10.9 0.10.11
flutter 0.0.0
meta ^1.1.6 1.1.8
path ^1.6.2 1.6.4
protobuf ^0.13.15 0.13.16+1 1.0.1
pub_semver ^1.4.2 1.4.2
strings ^0.1.0 0.1.2
Transitive dependencies
analyzer 0.38.5 0.39.4
analyzer_plugin 0.2.1
args 1.5.2
async 2.4.0
build 1.2.2
build_config 0.4.1+1
charcode 1.1.2
checked_yaml 1.0.2
convert 2.1.1
crypto 2.1.4
csslib 0.16.1
dart_style 1.3.3
front_end 0.1.27 0.1.29
glob 1.2.0
html 0.14.0+3
js 0.6.1+1
json_annotation 3.0.1
kernel 0.3.27 0.3.29
lists 0.1.3
logging 0.11.4
matcher 0.12.6
node_interop 1.0.3
node_io 1.0.1+2
package_config 1.1.0
pedantic 1.9.0
pubspec_parse 0.1.5
quiver 2.1.2+1
sky_engine 0.0.99
source_gen 0.9.4+6 0.9.4+7
source_span 1.6.0
stack_trace 1.9.3
string_scanner 1.0.5
term_glyph 1.1.0
typed_data 1.1.6
unicode 0.2.2
vector_math 2.0.8
watcher 0.9.7+13
yaml 2.2.0
Dev dependencies
build_runner any
built_value_generator any 6.8.2 7.0.8
test any