webview_location
一个简单的 Flutter 包,专为在 Android 和 iOS 平台的 WebView 中通过地点名称显示 Google 地图位置而设计。
一个专为 Android 和 iOS 平台设计的 Flutter 包,可通过 WebView 显示根据地点名称的 Google 地图位置。适用于需要在不离开应用界面的情况下实现基于位置功能的应用程序。易于集成且高度可定制,可在不同操作系统间提供无缝的用户体验。
{"sdk":"flutter"}^4.2.4^3.0.0{"sdk":"flutter"}以下为英文项目原文快照,最新内容请访问 GitHub。
A Flutter package designed to display Google Maps locations by place name in a WebView for both Android and iOS platforms. Ideal for applications that require location-based features without leaving the app interface. Easy to integrate and highly customizable, it provides a seamless user experience across different operating systems.
Feel free to connect me at: https://img.shields.io/badge/linkedin-blue.svg?&style=for-the-badge&logo=linkedin&logoColor=white
See the example app for detailed implementation information.
| Features | Android | iOS | macOS | Web | Windows |
|---|---|---|---|---|---|
| View location | :heavy_check_mark: | :heavy_check_mark: | :x: | :x: | :x: |
| Android | iOS | macOS | Web | Linux | Windows |
|---|---|---|---|---|---|
| ✔ | ✔ | :x: | :x: | :x: | :x: |
Import the package with:
import 'package:webview_location/webview_location.dart';
Add the WebViewLocation widget to your app and pass the location parameter to display the location in a WebView. The location parameter is a String that represents the place name to be displayed in the WebView.
See the example app for detailed implementation information.