• Webmaster forum we offer you the best experience with our webmaster site and freelancer forum categories where you can share information on topics such as web development and digital marketing!
    This forum has officially become a paid forum. Unfortunately for various reasons we have blocked free downloads because they were sharing updated resources on other forums. If you want to buy a subscription you can do so by simply clicking on "Upgrade" and download all the resources you want.
    Thanks in advance.
AndyB View map

XF 2.0 / 2.1 / 2.2 / 2.3 AndyB View map 1.9

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) :

AndyB View map-1.webp


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

AndyB View map-2.webp


(Example of View map link in visitors tab) :

AndyB View map-3.webp


(Example of View map page) :

AndyB View map-4.webp


(Example of Options page) :

AndyB View map-5.webp


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:

Get an API Key | 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 :
AndyB View map-6.webp


View map v1.8 changes : View map bbcode now also works in conversation messages.

View map v1.9 changes : Compatible XF 2.x versions: 2.0, 2.1, 2.2, 2.3
 
XF 2.0 / 2.1 / 2.2 / 2.3  AndyB Direct message reply limit  1.0
XF 2.0 / 2.1 / 2.2  AndyB Attachment manager  1.9

Attachments

Similar threads Most view View more
Back
Top Bottom