• 本站招聘各个版块版主共同发展,有意可私聊站长
资源图标

View map 1.8

没有下载权限

庆祝国庆中秋本站暂时关闭邀请码注册 https://t.me/tearcc

Description:

Creates a button called View map for use in messages.

Clicking the View map button will show a Google map with a marker to a specific location.



Live Example:

Santa Clara Cycle Accessories - Sunnyvale



(Example of View map button in thread view)



pic001-jpg.192450





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



pic002-jpg.192451





(Example of View map link in visitors tab)



pic003-jpg.192452





(Example of View map page)



pic004-jpg.192453





(Example of Options page)



pic005-jpg.192454





Features:


Click View map button in a message to show the map to specific location.
Bring up larger map from link in Visitors tab.
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:

Use API Keys | Maps JavaScript API | Google Developers

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:


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



Example of map code:





pic006-jpg.192455
作者
无名
下载
0
查看
4
首次发布
最后更新

Ratings

0.00 星 0 星

来自无名的更多资源

后退
顶部