yandex_mapkit 0.1.3+1

  • README.md
  • CHANGELOG.md
  • Example
  • Installing
  • Versions
  • new63

yandex_mapkit #

A flutter plugin for displaying yandex maps on iOS and Android. Now fully integrated with flutters widget tree.

Disclaimer: This project uses Yandex Mapkit which belongs to Yandex
When using Mapkit refer to these terms of use

Getting Started #

Generate your API Key #

  1. Go to https://developer.tech.yandex.com
  2. Create a MapKit mobile SDK key

Usage #

Prior to using the plugin, you must call YandexMapkit.setup(apiKey: apiKey) Example:

import 'package:yandex_mapkit/yandex_mapkit.dart';

void main() async {
  await YandexMapkit.setup(apiKey: 'YOUR_API_KEY');
  runApp(MyApp());
}

You can use a YandexMap which resizes itself to its parent size

Expanded(child: YandexMap())

For usage examples refer to example app

Features #

  • [X] iOS Support
  • [X] Android Support
  • [X] Add and remove Placemarks
  • [X] Receive Placemark tap events
  • [X] Moving around the map
  • [X] Setting map bounds
  • [X] Showing current user location

0.1.3+1 #

0.1.3 #

  • Bump YandexMapkit version to 3.2 for ios and android

0.1.2 #

  • Change ios implementation to use UiKitView
  • Change AnroidView.gestureRecognizers to accept all gestures
  • Change method signature Future<Null> to Future<void>

0.1.1 #

  • Bugfixes

0.1.0 #

  • Change android implementation to use AndroidView
  • Change ios implementation to match android

0.0.2 #

  • Add functionality to show/hide current user location

0.0.1 #

  • Initial release

example/README.md

yandex_mapkit_example #

Demonstrates how to use the yandex_mapkit plugin.

Getting Started #

For help getting started with Flutter, view our online documentation.

Use this package as a library

1. Depend on it

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


dependencies:
  yandex_mapkit: ^0.1.3+1

2. Install it

You can install packages from the command line:

with Flutter:


$ flutter packages get

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

3. Import it

Now in your Dart code, you can use:


import 'package:yandex_mapkit/yandex_mapkit.dart';
  
Version Uploaded Documentation Archive
0.1.3+1 Feb 27, 2019 Go to the documentation of yandex_mapkit 0.1.3+1 Download yandex_mapkit 0.1.3+1 archive
Popularity:
Describes how popular the package is relative to other packages. [more]
35
Health:
Code health derived from static analysis. [more]
100
Maintenance:
Reflects how tidy and up-to-date the package is. [more]
80
Overall:
Weighted score of the above. [more]
63
Learn more about scoring.

We analyzed this package on Mar 6, 2019, and provided a score, details, and suggestions below. Analysis was completed with status completed using:

  • Dart: 2.2.0
  • pana: 0.12.14
  • Flutter: 1.3.3

Platforms

Detected platforms: Flutter

References Flutter, and has no conflicting libraries.

Health suggestions

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

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

line 20 col 13: The value of the field '_id' isn't used.

Format lib/src/placemark.dart.

Run flutter format to format lib/src/placemark.dart.

Format lib/src/yandex_map.dart.

Run flutter format to format lib/src/yandex_map.dart.

Maintenance suggestions

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.

Dependencies

Package Constraint Resolved Available
Direct dependencies
Dart SDK >=2.0.0-dev.68.0 <3.0.0
flutter 0.0.0
Transitive dependencies
collection 1.14.11
meta 1.1.6 1.1.7
sky_engine 0.0.99
typed_data 1.1.6
vector_math 2.0.8