Skip to main content

sharemap_maplib_flutter 1.3.0 copy "sharemap_maplib_flutter: ^1.3.0" to clipboard
sharemap_maplib_flutter: ^1.3.0 copied to clipboard

A MapLibre-based map widget for Flutter integrating ShareMap APIs, supporting dynamic POI layer toggling, HMAC-signed requests, and custom style loading.

example/lib/main.dart

import 'package:flutter/material.dart';

import 'demo_config.dart';
import 'map_demo_screen.dart';

void main() {
  runApp(const ShareMapDemoApp());
}

/// Entry point của demo mobile: đồng bộ cấu trúc với example_web/lib/main.dart.
class ShareMapDemoApp extends StatelessWidget {
  const ShareMapDemoApp({super.key});

  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      title: 'ShareMap MapLibre Demo',
      debugShowCheckedModeBanner: false,
      theme: ThemeData(
        brightness: Brightness.dark,
        primaryColor: DemoColors.primary,
        scaffoldBackgroundColor: DemoColors.background,
        cardColor: DemoColors.surface,
        colorScheme: const ColorScheme.dark(
          primary: DemoColors.accent,
          secondary: DemoColors.success,
          surface: DemoColors.surface,
          outline: DemoColors.outline,
          error: DemoColors.danger,
        ),
      ),
      home: const MapDemoScreen(),
    );
  }
}
0
likes
130
points
915
downloads

Documentation

API reference

Publisher

verified publishersharemap.live

Weekly Downloads

A MapLibre-based map widget for Flutter integrating ShareMap APIs, supporting dynamic POI layer toggling, HMAC-signed requests, and custom style loading.

Homepage
Repository (GitHub)

License

unknown (license)

Dependencies

archive, crypto, cryptography, device_info_plus, flutter, geolocator, http, meta, package_info_plus, path_parsing, pointer_interceptor, sharemap_maplibre_gl, xml

More

Packages that depend on sharemap_maplib_flutter

Packages that implement sharemap_maplib_flutter