tile_map 0.0.1 icon indicating copy to clipboard operation
tile_map: ^0.0.1 copied to clipboard

A tile map flutter plugin project.

example/lib/main.dart

import 'package:flutter/material.dart';
import 'package:tile_map/tile_map.dart';

void main() {
  runApp(MyApp());
}

class MyApp extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      home: HomePage(),
    );
  }
}

class HomePage extends StatefulWidget {
  @override
  _HomePageState createState() => _HomePageState();
}

class _HomePageState extends State<HomePage> {
  MapController mapController;

  @override
  void initState() {
    mapController = MapController();
    super.initState();
  }

  @override
  Widget build(BuildContext context) {
    return Scaffold(
      body: TileMapWidget(
        provider: AmapProvider(),
        controller: mapController,
      ),
    );
  }
}
0
likes
80
pub points
0%
popularity

Publisher

unverified uploader

A tile map flutter plugin project.

Homepage

Documentation

API reference

License

Icon for licenses.MIT (LICENSE)

Dependencies

flutter, latlng

More

Packages that depend on tile_map