base_map_osm_google 0.0.4 base_map_osm_google: ^0.0.4 copied to clipboard
Permite crear un mapa base de OpenStreetMap o Google, además poder insertar capas adicionales y otras configuraciones adicionales.
import 'package:base_map_osm_google/base_map_osm_google.dart';
import 'package:flutter/material.dart';
void main() => runApp(const MyApp());
class MyApp extends StatelessWidget {
const MyApp({super.key});
@override
Widget build(BuildContext context) {
return MaterialApp(
title: 'Basemap OSM Google',
home: Scaffold(
appBar: AppBar(
title: const Text('Example Base Map OSM - Google'),
),
body: Column(
children: [
BaseMapOsmGoogle(typeMap: TypeMap.osm),
],
),
),
);
}
}