tu9/tu9-googlemap-markers
最新稳定版本:1.0.1
Composer 安装命令:
composer create-project tu9/tu9-googlemap-markers
包简介
This is tu9 googlemap markers component
README 文档
README
Introduction
- Integrate a map on your site
- Show marker for each position
- Show detailed information when clicking on each marker
How it work?
Users only need to add values to already declared variables. Functions will receive information and automatically build markers according to the address declared by the user
Variables
Key variables (required) (Google Maps Javascript API key)
Get Google Maps Javascript API key:
Access the link and follow the instructions to get Google Maps API key.
https://developers.google.com/maps/documentation/javascript/
Locations variables (required)
- $locations is an array of the addresses you want to create the marker.
- The information of the place given in the array must be correct for google to be able to locate it.
styleWindowInfo variables
- Customize style window info display
styleTitle variables
- Customize style title display
styleContent variables
- Customize style content display
title variables
- Customize title of window info.
content variables
- Customize content of window info.
urlImage variables
- add url icon markers.
mapOptions variables
- Set values for build map display.
统计信息
- 总下载量: 9
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2023-01-13