dynamic_maps_engine 0.0.17
dynamic_maps_engine: ^0.0.17 copied to clipboard
A plug-and-play Flutter map engine powered by Google Maps with smooth marker animation and ETA.
example/lib/main.dart
import 'package:flutter/material.dart';
import 'package:dynamic_maps_engine/dynamic_maps_engine.dart';
import 'package:google_maps_flutter/google_maps_flutter.dart';
void main() {
runApp(const MyApp());
}
class MyApp extends StatelessWidget {
const MyApp({super.key});
@override
Widget build(BuildContext context) {
return MaterialApp(
home: Scaffold(
appBar: AppBar(title: const Text('Dynamic Maps Example')),
body: const DynamicMapWidget(
origin: LatLng(-6.200000, 106.816666),
destination: LatLng(-6.210000, 106.820000),
apiKey: 'YOUR_API_KEY',
),
),
);
}
}