Widgets
Maps plugin provides Google Maps widget that can be placed in the theme dynamic sidebar regions easily.
Tabs
The maps widget configuration is splitted into 3 tabs of Basic, Advanced and Markers. You must fill out the basic and the markers part for valid map object
Attributes | Value | Description |
---|---|---|
Address | string | String of valid postal address for geocoding |
Longitude | Valid longitude string | The longitude number that will be used if geocoding failed |
Latitude | valid latitude string | The latitude number that will be used if geocoding failed |
Width | pixel number | The maps width size, this will be overridden if responsive options set to true |
Height | pixel number | The maps height size |
Responsive | boolean | Set whether the maps should resize when the screen size changes |
Zoom | number 1 - 20 | The initial zooming level |
Zoom control | boolean | Set if the maps should display the zooming controller |
Zoom control position | Google API positioning | Set the position for the zoom controller |
Zoom control style | Google API valid zoom controller styles | Set the styles for the zoom controller |
Pan control | boolean | Set if the maps should display the pan controller or not |
Pan control position | Google API positioning | Set the position for the pan controller |
Map type control | boolean | Set if the maps should display the map type controller or not |
Map type control position | Google API positioning | Set the position for the map type controller |
Map type control style | Google API map type style | Set the style for the map type controller |
Scale Control | boolean | Set if the map should display the scale controller |
Mouse Wheel Scroll | boolean | Set whether the maps can be zoomed via mouse scrolling movement |
Street View | boolean | Set whether the maps should be able to display the street view mode |
Map Types | HYBRID|ROADMAP|SATELLITE|TERRAIN | Set the initial map display type, this can change dynamically if the map type controller is activated |
Draggable | boolean | Set whether the maps content can be dragged with mouse |
Double Click Zoom | boolean | Set if the maps can be zoomed via mouse click or mouse scroll or zoom controller or not |
Center Maps | boolean | if this set to true then the maps will be centered according to this marker address or longitude + latitude |
Marker Address | valid postal address for geocoding | The string of postal address entered here will be used as the position for placing the marker on the maps. |
Marker Latitude | valid latitude number | The latitude will be used as backup if the geocoding of the address value failed |
Marker Longitude | boolean | The longitude will be used as backup if the geocoding of the address value failed |
Marker Title | string | the string will be used as the popup content when user is hovering to this marker |
Marker Icon | Media Image | If this is not set then the default red Google marker will be served. |
Marker content | string or shortcodes | The string between the shortcodes tag will be served as the marker popup content that will be visible when user click on the marker. |