symBioquine / farm_map_google

与farmOS集成的Google地图

安装: 3

依赖项: 0

建议者: 0

安全性: 0

星标: 1

关注者: 0

分支: 1

开放性问题: 0

语言:JavaScript

类型:drupal模块

1.0.4 2024-02-13 14:18 UTC

This package is auto-updated.

Last update: 2024-09-13 15:37:51 UTC


README

farmOS提供Google地图层的贡献模块。

image

注意:某些分支和标签仅包含构建的模块。请参阅2.x-development分支以获取完整的源代码。

许可说明:此存储库中的JavaScript源代码采用MIT许可,但yaml和php源代码采用GPLv3许可,因为部分来自Drupal示例。

安装

使用Composer和Drush在farmOS 3.x中安装farm_map_google;

composer require drupal/farm_map_google
drush en farm_map_google

可用的发布版本可以在https://www.drupal.org/project/farm_map_google查看

通过点击左侧导航栏中的"设置" >> "设置",然后在"地图"和"Google"选项卡中设置Google地图API密钥;

image

开发

从此存储库的2.x-development分支

启动/重新创建farmOS容器;

cd docker/
./destroy_and_recreate_containers.sh

运行开发代理服务器;

npm install
npm run dev

注意Google地图层在farmOS地图中可用。例如,https://:8080/dashboard - 登录:admin:admin

您如何推送新版本?

从此存储库的2.x-development分支

# Add/commit your changes
git add [...]
# Update NPM package version and commit
npm --no-git-tag-version version --force patch
git commit
# Tag the release with the unbuilt prefix
git tag unbuilt-v9000.0.1
# Push the 2.x-development branch and new unbuilt tag
git push --atomic origin HEAD:2.x-development unbuilt-v9000.0.1