Vietmap Flutter GL - Flutter map SDK¶
Get an API key: register for free on VIETMAP Console.
Getting started¶
Check the latest version at https://pub.dev/packages/vietmap_flutter_gl
Quick start¶
Requires Flutter 3.10+ and Dart 3.0+ (vietmap_flutter_gl 4.1.1). Add the package:
Show a map:
import 'package:vietmap_flutter_gl/vietmap_flutter_gl.dart';
VietmapGL(
styleString: 'https://maps.vietmap.vn/maps/styles/tm/style.json?apikey=YOUR_API_KEY_HERE',
initialCameraPosition: const CameraPosition(
target: LatLng(14.5, 108),
zoom: 5,
),
);
styleString takes any style URL from Tilemap, or the style link of a map you built in Map Editor. Android and iOS platform setup and the full widget API are on pub.dev.