[AndyB]  View map

[AndyB] View map 2.2

没有下载权限
XF 兼容性
  1. 2.3.x
  2. 2.2.x
摘要
Click the View map button for a specific location on Google Maps. Update options page with crosshair.gif and API key for customization. Setup steps include copying crosshair image, getting API key from developers.google.com/maps/documentation/javascript/get-api-key, and setting default coordinates.
Clicking the View map button will show a Google map with a marker to a specific location.


(Example of View map button in thread view)

pic001.jpg


(Example of View map button in thread view after clicking)
pic002.jpg


(Example of View map link in visitors tab)
pic003.jpg


(Example of View map page)
pic004.jpg


(Example of Options page)
pic005.jpg


Features:

  1. Click View map button in a message to show the map to specific location.
  2. Bring up larger map from link in Visitors tab.
  3. All phrases start with viewmap_ for your convenience.
Setup step 1:

Copy the crosshair.gif from the add-on directory to a directory of your choice, for example copy to the a /misc/ folder off the web root. Update the Options page with your crosshair.gif file location.

Setup step 2:

Get your Google JavaScript API key using this link:

https://developers.google.com/maps/documentation/javascript/get-api-key

Update the Options page with your Google JavaScript API key.

Setup step 3:

In the Options page, add your default coordinates and zoom.

How to create a View map button in a message:

  1. Under the Visitors tab, click the View map link.
  2. Move map to desired location.
  3. Copy the Map code at the bottom and paste it into a message.

    Example of map code:
pic006.jpg
作者
Mahadev
浏览
534
扩展类型
zip
文件大小
18.3 KB
首次发布
上次更新
评分 0.00 星 0 个评分
链接失效了吗? 发送消息 给 NP 团队,我们会尽快为您处理!
支持开发者 如果您对测试满意或项目已成功盈利,可点击「更多信息」按钮,通过购买来支持开发者!

最新更新

  1. 2.2 - changelog
    Now only loads Google maps API code when View map button is clicked.
  2. 2.1 - changelog
    Updated map buttons and touch screen functions when viewing embedded message map.
  3. 2.0 - changelog
    Updated map buttons and touch screen functions.

来自 Mahadev 的更多资源

OSTimer Pro M
OSTimer Pro 3.0.4
OSTimer allows you to the show the countdown to an event. OSTimer enables you to configure your coun
浏览
520
已更新
[AndyB] User Agent M
Allows seeing the types of devices members are using to view your forum.
浏览
574
已更新
[AndyB] Forum reply ban M
Disallows member from replying in selected forums.
浏览
543
已更新

相似的资源

[AndyB] GPX viewer A
Shows GPX attachments in a Google map
浏览
649
已更新
 成员地图 A
在谷歌地图上显示成员。
浏览
703
已更新
[AndyB] Page view count A
This add-on is useful to see how many times your forum is viewed.
浏览
308
已更新
顶部