What's new
Install the app
How to install the app on iOS

Follow along with the video below to see how to install our site as a web app on your home screen.

Note: This feature may not be available in some browsers.

Welcome to My Sharing Site

Register a free account today to become a member! Once signed in, you'll be able to participate on this site by adding your own topics and posts, as well as connect with other members through your own private inbox!

xF2 Add-on
< Previous | Next >
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
pic002.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:
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:
  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

Latest updates

  1. AndyB View map 1.9

    View map v1.9 changes: Compatible XF 2.x versions: 2.0, 2.1, 2.2, 2.3
Similar resources Most view View more
Top