geomap_package 2.1.2 copy "geomap_package: ^2.1.2" to clipboard
geomap_package: ^2.1.2 copied to clipboard

PlatformiOSweb

A Flutter package for displaying geomaps with Google Maps and Flutter Map, supporting both mobile and web platforms with GetX state management.

2.1.2 #

Performance #

  • Lazy-load NotoColorEmoji font: Font NotoColorEmoji-Regular.ttf (~23MB) đã được loại bỏ khỏi FontManifest.json và không còn tải trước khi render frame đầu tiên. Thay vào đó, font được tải runtime từ CDN (cdn.sharemap.live) hoặc fallback về asset trong bundle chỉ khi thực sự cần hiển thị marker emoji — giúp cải thiện đáng kể tốc độ khởi động khi nhúng package qua iframe.
  • Background pre-load: GeoMapController.init() kích hoạt tải font ngầm (unawaited) ngay khi controller khởi tạo, giảm thiểu độ trễ khi marker emoji xuất hiện lần đầu.

Added #

  • publicBaseUrl config in GeoMapConfig to support dynamic public map URL generation.
  • Detect exact browser URL on web for getPublicGeoMapUrl.

2.1.0 #

Added #

  • UI Customization: Thêm infoCardModeldriverInfoCardModel vào GeoMapPublic cho phép tùy chỉnh thông tin hiển thị trên các thẻ.
  • Multi-day Tracking: Hỗ trợ chọn xem lịch sử di chuyển theo từng ngày thông qua dropdown mới.
  • Enhanced Data Models: Bổ sung các thông tin address, time, plate, và phone cho model UserJoinGeoMap.
  • Extended Map Features: Thêm hỗ trợ cho các trường dữ liệu mới trong MapGeoModel như isReturn, totalGeofencing, và listDetectTracing.

Improved #

  • New Design: Cập nhật giao diện mới hiện đại hơn cho toàn bộ gói GeoMap trên cả Mobile và Web.
  • Marker Rendering: Cải thiện hiệu suất và cách hiển thị marker trên bản đồ.
  • UI Components: Thiết kế lại các thành phần GeoMapDriverInfoCard, GeoMapStatusCardGeoMapCollapsedTimeline.
  • API Handling: Tối ưu hóa việc gọi API tracking thông qua datasetCode ổn định hơn.

2.0.0 #

BREAKING CHANGES #

  • New Tracking Engine: Migrated completely to the Dataset Tracking API for improved accuracy and reliability.
  • Response Format Change: Replaced geoMapTracing key with DatasetTracking in API responses.
  • Model Cleanup: Removed deprecated fields (listConfigurationAPI, expiredTime, key, value, automaticRunTime) from TrackingVehicleConfiguration.
  • API Removal: Removed the legacy getListTracingByTimeRange method from ApiService.

Added #

  • Support for dynamic automaticRunTime fetched directly from the Dataset detail.
  • Added datasetCode to MapGeoModel to support multi-dataset tracking.
  • New DatasetModel to handle dataset-specific configurations.

Improved & Fixed #

  • UI Stability: Fixed text overflow issues in GeoMapInfoCard with smart ellipsis (max 2 lines) and improved wrapping.
  • Performance: Optimized the data refresh sequence to avoid redundant API calls.

1.0.0 #

  • Initial public release
  • Support for Google Maps on mobile and web platforms
  • Support for Flutter Map on all platforms (mobile and web)
  • Universal GeoMapPublic widget that works across platforms
  • GeoMapController for managing map state and data
  • GeoMapConfig for configuring map behavior and appearance
  • Role-based views: viewer (full features) and driver (simplified view)
  • Close button callback for WebView integration
  • Custom font configuration support
  • Custom API base URLs for development and production environments
  • Internationalization support (English and Vietnamese)
  • Display markers, circles, polygons, and polylines
  • Real-time data refresh capabilities
2
likes
130
points
47
downloads

Documentation

API reference

Publisher

verified publishersharemap.live

Weekly Downloads

A Flutter package for displaying geomaps with Google Maps and Flutter Map, supporting both mobile and web platforms with GetX state management.

Repository (GitHub)
View/report issues

License

MIT (license)

Dependencies

flutter, flutter_map, geolocator, get, google_maps_flutter, google_maps_flutter_web, http, intl, jwt_decoder, latlong2, meta, pointer_interceptor, url_launcher, widget_to_marker

More

Packages that depend on geomap_package