パッケージ、リポジトリ、アプリカテゴリを検索

store_locator のカバー
パッケージ詳細v1.1.0

store_locator

Flutter用のストアロケータ。現在のマップ位置に基づいて、マップ上に店舗(またはPOI)を表示できます。

AndroidiOSWeb
30日間ダウンロード
83
いいね数
3
Pub ポイント
160

パッケージをインストール

flutter pub add store_locator

パッケージ概要

公開情報に基づく選定ガイドです。参考としてご利用ください。

Flutter用のstore_locatorパッケージは、開発者がマップ上に店舗や観光スポット(POI)を表示でき、ユーザーの現在位置に基づいて動的に更新できるようにします。Android、iOS、WebプラットフォームのFlutterアプリにスムーズに統合され、近隣の場所を直感的に可視化する方法を提供します。シンプルさを重視して設計されており、マップサービスを利用してマーカーをレンダリングし、カスタムスタイルとフィルタリングをサポートしています。小売、サービス、物流アプリで位置ベースの検索が必要な場合に最適です。

用途

  • 近隣の店舗を検索する
  • マップ上のPOIの表示
  • 位置ベースのサービス発見
  • リテールアプリナビゲーション
  • マップ駆動型の顧客エンゲージメント

主な機能

  • リアルタイムの場所ベースの店舗表示
  • カスタマイズ可能なマップマーカー
  • Android、iOS、Web をサポートしています
  • Flutterとの簡単な統合
  • 絞り込み可能なストア一覧

適している対象

  • 小売アプリケーション
  • サービスプロバイダーディレクトリ
  • 物流および配達の追跡
  • 旅行と観光アプリ
  • ローカルビジネス発見ツール

注意事項

  • マップAPIキーの設定が必要です
  • 対応プラットフォームに限定
  • 外部マップサービスに依存しています
  • 場所へのアクセスのための権限処理が必要になる場合があります
  • パフォーマンスはデータサイズとネットワーク速度に依存します

元の README

関連するソースリポジトリの README 原文のスナップショットです。最新の内容はリポジトリをご覧ください。

Store Locator for Flutter

pub package build

A Flutter package for showing map markers dynamically based on API calls that use Haversine distance or a similar location query.

Android iOS Web
Support SDK 24+ 14.0+ Any*

The example app running in Android

Installation

First, add store_locator as a dependency in your pubspec.yaml file.

You also need to implement google_maps_flutter properly, check their guide

Import

You can import the package with:

import 'package:store_locator/store_locator.dart';

Example

StoreLocator<Store>(
  mapConfiguration: const MapConfiguration(
    initialCameraPosition: CameraPosition(
      target: LatLng(45.464211, 9.191383),
      zoom: 10,
    ),
  ),
  positionCallback: (position) async {
    Response response = await Dio().get('stores', queryParameters: {
      "latitude": position.latitude,
      "longitude": position.longitude,
    });
    if (response.statusCode == 200 || response.statusCode == 201) {
      return storesFromJson(response.data);
    }
    return [];
  },
  markerBuilder: (store) {
    return Marker(
      markerId: MarkerId(store.id.toString()),
      position: LatLng(store.latitude, store.longitude),
      infoWindow: InfoWindow(
        title: store.name,
        snippet: store.city,
      ),
    );
  },
)

See the example directory for a complete sample app.

Support

If this plugin was useful to you, helped you to deliver your app, saved you a lot of time, or you just want to support the project, I would be very grateful if you buy me a cup of coffee.

Buy Me A Coffee

License

MIT

カテゴリー

依存関係

依存関係一覧 1 件

ソースリポジトリ

このパッケージを使用しているプロジェクト

データはまだありません。