DavidHirtz / yii2-location-google
基于 Yii 2.0 框架的 Google Maps 定位提供程序,用于管理面板的位置模型
1.0.2
2024-08-01 14:02 UTC
Requires
- davidhirtz/yii2-location: ^1.0
- ramsey/uuid: ^4.7
Requires (Dev)
- codeception/codeception: ^5.0
- codeception/module-asserts: *
- codeception/module-filesystem: ^3.0
- codeception/module-phpbrowser: *
- codeception/module-yii2: *
- codeception/specify: ^2.0
- codeception/verify: ^3.0
- phpro/grumphp-shim: ^2.4
- phpunit/phpunit: ^9
- rector/rector: ^1.0
- symplify/easy-coding-standard: ^12.0
- yiisoft/yii2-debug: ^2.1
README
为 Yii 2 扩展 yii2-location 提供 Google Maps 定位提供程序。
要求
需要启用 Places API (New),在 Google Cloud Platform Console 中。
使用方法
公开了路由 api/google-places/autocomplete
,它从 Google Places API 返回 JSON 响应。