Login / Status
developer.Resource
Home . Documentation . Document Library . Extension Manuals
Sponsors
hosted by punkt.deTYPO3 and Open Source MagazineAOE Media

Chapter 4. Configuration

Once you've installed one of the plugins on your page, you will need to configure the plugin so that it will display the map of your choice. Skip to the instructions that correspond to the WEC Map plugin installed on your page.

4.1. Configuring the WEC Simple Map Plugin

The WEC Simple Map plugin is used to display a single location on the map such as your church or ministry address. To configure the plugin, use the Page Module and select the page where you've installed the plugin. Then click the Edit Icon (the pencil) associated with the WEC Simple Map plugin. This will open the plugin's FlexForm.

Tip: When working with a plugin, the General Tab contains a number of generic fields. it is generally helpful to write the plugin's name or some other descriptive title in the Header field (1). This makes it easier to select which plugin you want to edit when a page contains multiple Plugin Content Elements. To prevent the header from displaying on the page, change the Header Type to Hidden (2).

  1. Refer to Illustration 12. Note that there are three Tabs in the Flexform. The first tab, labeled Address prompts you for a description of the address to be mapped, as well as the addres

    Illustration 12: Configuring the Plugin's General Tab

    s itself. It will also show the status of finding the coordinates for the address entered (geocoding) at the end.

  1. Illustration 13: The Simple Map Display Tab

    Refer to Illustration 13. The second tab, labeled “Map Details,” requests display information about the map, such as the height and width. One of the enhanced features of the Map extension is that if you enable the Show Directions Tab, Frontend users will have the option to be given directions to and from the location shown on the map. In addition, if they are a registered Frontend user and have logged in, if you have enabled the Prefill Address from User Info, their address will be automatically applied to the directions fields and the user can immediately click for Directions To or From the mapped location.

Caution: In order for the marker balloon information to be visible, avoid setting the height value at less than 400 pixels.

Illustration 14: The Simple Map Controls Tab

  1. Refer to Illustration 14. The third tab, labeled “Map Controls,” allows you to specify which map controls should be shown on the map. Options include the size of the map controls (pan and zoom) if any, whether an overview map is desired, whether a scale should be included, and the map type selection control (satellite, political, or a hybrid of the two). See Illustration 15 for a visual description of these controls.

After saving this form and viewing its

Illustration 15: Map Controls

page in the Frontend, a map will be generated  similar to Illustration 1, depending on the Map Controls you have chosen to display.