View map

XF2 Addons View map 1.8
Creates a button called View map for use in messages.

Compatible versions
2.0, 2.1, 2.2

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:
https://www.southbayriders.com/forums/threads/2180/

(Example of View map button in thread view)
192450


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


(Example of View map link in visitors tab)
192452


(Example of View map page)
192453


(Example of Options page)
192454


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:

    192455
FateKid
Author FateKid
Level
11
5,910 pts
1.8 Version
1 Downloads
638 Views
Published
Updated
0.00 star(s) 0 ratings Average Rating (0)

More files from FateKid

Customize Your XenForo 2 Community

View map provides ultimate customization to your XenForo 2 community website! Enjoy powerful features that make your site stand out. Combine this add-on with XenForo 2 styles from our site and kickstart your online community now.

Why Download Our XenForo 2 Add-ons?

  • Easily enhance the quality of your XenForo online community.
  • Expand your XenForo 2 functionality with thousands of unique options.
  • Create unbelieveable user-experiences with advanced features.

Explore Other Resources

Are you looking for something different? Explore our thousands of unique and special XenForo 2 add-ons, available to download right now. FateKid shared this wonderful resource to you for free, so remember to share your appreciation by liking the resource and reviewing it.

Get started today and make your next project truly unique.

Top Bottom