Google Maps offers several setting options and is highly flexible. Options can be set up in the Settings page (and will become the default setup for all maps added to posts in the future), or may be specific to each post to be associated with the Google maps (in this case the values are entered in the editing screen of the post in question.)
The settings are divided into two main groups, those belonging to the Google maps and those belonging to the geolocation point.
Google Maps configuration options:
- Map zoom: Initial map zoom.
- Dynamic zoom: Allows to adjust the map's zoom dynamically to display all points at the same time.
- Map width: Width of the map.
- Map height: Height of the map.
- Map margin: Margin of the map.
- Map align: Aligns the map at left, center or right of area.
- Map type: Select one of the possible types of maps to load (roadmap, satellite, terrain, hybrid).
- Map language: a large number of languages is available to be used on maps, select the one that matches your blog's language.
- Map route: Draws the route through the points that belong to the same post (available only in the premium version of plugin)
- Travel Mode: Travel mode used in route drawing (available only in the premium version of plugin)
- Show info bubbles: display or hide the bubbles with the information associated to the points.
- Display a bubble by default: display a bubble opened by default.
- Display map in post / page: When the Google maps are inserted in a post you can select whether to display the Google maps or display an icon, which displays the map, when pressed (if the Google maps are inserted into a template that allows multiple posts, this option does not apply)
- Options: This setting allows you to select which map controls should be available.
- Display the Panoramio layer: Displays a new layer on map with images published in Panoramio (available only in the premium version of plugin)
- Display a bundle of points in the same area, like a cluster: Allows grouping multiple points in a cluster (available only in the premium version of plugin)
- Display the user's location: Displays a marker with the location of user that is visiting the webpage (available only in the premium version of plugin)
- Title of user's location: Enter the title of infowindow belonging to the user's marker (available only in the premium version of plugin)
- Display the get directions link: Displays a link in the infowindow to get the directions to the point (available only in the premium version of plugin)
- Display a link to Google Maps: Displays a link in the infowindow to load the point directly on Google Maps.
- Display a link to Street View: Displays a link in the infowindow to display the street view in the specific point.
- Enter the number of points on the post / page map: When the Google maps are inserted into a post, points that belong to the same categories will be shown on the same Google map. This option allows you to set the number of points to be shown. When the Google maps are inserted into a template that allows multiple posts this option does not apply.
- Generate points dynamically from geolocation information included on images, when images are uploaded to WordPress: If the image uploaded to WordPress includes geolocation information is generated a point with related to the geolocation information.
- Generate points dynamically from geolocation information included on posts: Displays new points on maps, if the post includes geolocation information, generated by WordPress App.
- Allow stylize the maps: Allows to define a JSON object to stylize the maps.
- Display maps legends: Check the option to display a legend with categories, tags, or custom taxonomies, to display or hide the points on map dynamically.
- Select the taxonomy to display on legend: Select the taxonomies to display on legend.
- Enter a title for legend: Enter the title to display in the legend.
- Enter a classname to be applied to the legend: To customize the legend appearance, associate to it a classname, and set the class definition in any of style files in your website.
- Highlight post when mouse hovers over related point on map: When the Google maps are inserted into a template that allows multiple posts, hovering the mouse over one of the points will highlight the associated post through assignment of a class in the next setup option.
- Highlight class: Name of the class to be assigned to a post to highlight when the mouse is hovered over the point associated with that post on the Google map.
- Use points information in search results: Allows search in the points information ( Available only in the premium version of plugin )
- Allow to associate a map to the post types: Allows to associate points to custom post types in website ( Available only in the premium version of plugin )
Configuration options related to the location points
- Location name: Name of the place you are indicating on the Google maps, alternatively, the name of the post can be used.
- Location description: Description of the place you are showing on the Google maps. If left blank, the post summary will be used.
- Select an image from media library: Select an image to associate with the localization point.
- Address: Physical address of the geolocation point.
- Latitude: Latitude of the geolocation point.
- Longitude: Longitude of the geolocation point.
- Verify: This button allows you to check the accuracy of the geolocation point address by updating the latitude and longitude where necessary.
- Select the marker by clicking on the images: Select the bookmark icon to show on the Google maps.
- Insert the map tag: Inserts a shortcode in the content of the post where the Google map is displayed with the features selected in the setup. You can attach geolocation information to a post but choose not to show the Google maps in the content of the post. In case you do want to display a map in the post content, use this button.
- Check the box over the "Insert the map tag" button.
- Enter the stroke weight of shape.
- Enter the color of shape.
- Enter the opacity of shape.
- Press with the mouse on map at right to draw the shape.
Inserting maps as widgets on sidebars (Available only in the premium version of plugin)
To insert the maps as widget on sidebars, go to the menu option "Appearance / Widgets", and drag the "CP Google Maps" widget to the sidebar.
It is possible define, for each map on sidebar, all attributes available with the format attr="value". The map's width is set to the 100% of sidebar by default.