becomap 1.0.0 copy "becomap: ^1.0.0" to clipboard
becomap: ^1.0.0 copied to clipboard

A Flutter package for integrating Becomap interactive maps into Flutter applications. Requires authorization from Beco. Maintained by Globeco Technologies.

Becomap Flutter SDK #

A Flutter package for integrating Becomap interactive maps into Flutter applications. This package provides a WebView-based implementation that loads Becomap content with a Flutter-friendly interface.

⚠️ Authorization Required #

IMPORTANT: This SDK requires explicit authorization from Beco before use. You must obtain proper licensing and authorization from Beco to use this SDK and access Becomap services.

  • Contact Beco: https://becomap.com/contact
  • Maintained by: Globeco Technologies
  • Authorization: Required for all usage (development, testing, production)

Features #

  • BCMapView Widget: A Flutter widget that displays Becomap interactive maps
  • WebView Integration: Uses webview_flutter for reliable web content display
  • Error Handling: Built-in error handling and loading states
  • Debug Mode: Optional debug logging for development
  • Customizable: Configurable callbacks and URL loading

Installation #

Add this to your package's pubspec.yaml file:

dependencies:
  becomap: ^1.0.0

Then run:

flutter pub get

Usage #

Basic Usage #

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

class MyMapPage extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    return Scaffold(
      appBar: AppBar(title: Text('Becomap')),
      body: BCMapView(
        onMapReady: () {
          print('Map is ready for interaction');
        },
        onError: (error) {
          print('Map error: $error');
        },
      ),
    );
  }
}

Advanced Usage with Custom URL #

BCMapView(
  url: 'https://your-custom-becomap-url.com',
  debugMode: true,
  onMapReady: () {
    // Handle map ready state
    ScaffoldMessenger.of(context).showSnackBar(
      SnackBar(content: Text('Map loaded successfully!')),
    );
  },
  onError: (error) {
    // Handle errors
    showDialog(
      context: context,
      builder: (context) => AlertDialog(
        title: Text('Map Error'),
        content: Text(error),
        actions: [
          TextButton(
            onPressed: () => Navigator.pop(context),
            child: Text('OK'),
          ),
        ],
      ),
    );
  },
)

API Reference #

BCMapView #

The main widget for displaying Becomap content.

Properties

  • onMapReady (VoidCallback?): Callback fired when the map is ready for interaction
  • onError (Function(String error)?): Callback fired when an error occurs
  • url (String?): The URL to load in the WebView. Defaults to becomap.com
  • debugMode (bool): Whether to show debug console messages. Defaults to false

Platform Support #

  • ✅ Android
  • ✅ iOS
  • ✅ Web
  • ✅ macOS
  • ✅ Windows
  • ✅ Linux

Dependencies #

  • flutter: Flutter SDK
  • webview_flutter: ^4.4.2

License #

This project is part of the Becomap SDK suite.

0
likes
0
points
55
downloads

Documentation

Documentation

Publisher

verified publisherbecomap.com

Weekly Downloads

A Flutter package for integrating Becomap interactive maps into Flutter applications. Requires authorization from Beco. Maintained by Globeco Technologies.

Homepage
Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

flutter, webview_flutter

More

Packages that depend on becomap