Large easy to use Google map displayed full screen. Responsive code supports all devices. Visitors tab has a link called View map, this allows viewing the Google map. View map button when clicked shows exact location in Google map. All phrases start with viewmap_ for your convenience.

Download Andy-ViewMap-1.5.zip and unzip it. Copy the src/addons/Andy/ViewMap directory to your server. From the Admin Control Panel Install the add-on.

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

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:





Member clicks View map button. The View map button is a Custom BB Code. the Custom BB code calls a link which is defined as a Route. The Route calls the Viewmap.php file located in the add-on directory. The Viewmap.php redirects to viewmap.php in the /misc/ directory. The viewmap.php file calls the Google API to display a map.

Clicking the View map button will show a Google map with a marker to a specific location.(Example of View map button)(Example of View map page)(Example of View map link in visitors tab)(Example of Options page)Copy the following two files from the add-on directory to a web viewable directory of your choice, for example a /misc/ folder:viewmap.phpviewmap_crosshair.gifEdit the viewmap.php file and change the first few variables to reflect your forum information.Get your Google API key using this link:Update the viewmap.php file variable called $key located on the top of the file.In the Options page, add the URL and Default coordinates.Navigate to the following:Admin control panel -> Content -> Custom BB codes -> mapEdit the HTML replacement so that it's pointing to the viewmap.php file located in your /misc/ folder.