GoogleMapLocationsDOD_Controller::addMap
add a layer to a Google Map
Signature
public function addMap([string
$action = "",
[string
$title = "",
[integer
$lng = 0,
[integer
$lat = 0,
[string
$filterCode = ""]]]]] )
Parameters
$action
—
string
- - see GoogleMapDataResponse::allowed_actions to get a list of actions
$title
—
string
$lng
—
integer
- - default LATITUDE
$lat
—
integer
- - default LONGITUDE
$filterCode
—
string
- - can be a SiteTree class name, e.g. "ProductPage"
filter depends on the type of action