symbioquine/farm_map_google
Composer 安装命令:
composer require symbioquine/farm_map_google
包简介
Google maps integration with farmOS
README 文档
README
A contrib module for farmOS providing Google maps layers.
Note: Some branches and tags include only the built module. See the 2.x-development branch for the full source code.
Licensing Note: The Javascript source code in this repository is MIT licensed, but the yaml and php source is GPLv3 licensed as some derives from the Drupal examples.
Installation
Use Composer and Drush to install farm_map_google in farmOS 3.x;
composer require drupal/farm_map_google drush en farm_map_google
Available released versions can be viewed at https://www.drupal.org/project/farm_map_google
Set a Google maps API key by clicking on "Setup" >> "Settings" in the left navigation bar then going to the "Map" and "Google" tabs;
Development
From the 2.x-development branch of this repository:
Start/recreate the farmOS container;
cd docker/
./destroy_and_recreate_containers.sh
Run the dev proxy server;
npm install npm run dev
Observe that Google maps layers are available in farmOS maps. e.g. http://localhost:8080/dashboard - login: admin:admin.
How do you push new versions?
From the 2.x-development branch of this repository:
# 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
统计信息
- 总下载量: 7
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 1
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2021-06-23