hauerheinrich / hh_openstreetmap
Hauer-Heinrich - 简单的OpenStreetMap,可以使用多个标记。
0.3.3
2024-04-04 14:13 UTC
Requires
- typo3/cms-core: ^11.5.0 || ^12.4.0
- typo3/cms-fluid: ^11.5.0 || ^12.4.0
- typo3/cms-fluid-styled-content: ^11.5.0 || ^12.4.0
- typo3/cms-frontend: ^11.5.0 || ^12.4.0
Replaces
- hauer-heinrich/hh_openstreetmap: 0.3.3
- typo3-ter/hh_openstreetmap: 0.3.3
README
它做什么?
此扩展向前端添加了一个内容元素,用于显示简单的OpenStreetMap。
安装
... 如其他任何TYPO3扩展 extensions.typo3.org
此外:包含页面配置 - 切换到您站点的根页面。 - 编辑页面属性 - 切换到选项卡 资源 - 选择 EXT:hh_openstreetmap :: Hauer-Heinrich - OpenStreetMap 页面 TS
特性
- 多个标记的可能性
- 在OpenStreetMap内容元素中可选择的自定义图标
- 自定义图标存储路径(通过PageTs配置:"tx_openstreetmap.settings.markerIconPath = fileadmin/hh_openstreetmap/icons/marker/")
- 修改地图:您可以在自己的javascript中使用类似 "hhOsmArray[mapID].zoomIn(2);" 的方法(mapID = osm-1599;其中1599是内容元素的id)。见:https://leaflet.npmjs.net.cn/reference.html#map-methods-for-modifying-map-state
待办事项
- 目前不自动填充/搜索 "纬度 / 经度"
预览
许可证
GNU通用公共许可证版本3