PHP Class BcGooglemapsHelper

Inheritance: extends AppHelper
Mostrar archivo Open project: baserproject/basercms

Public Properties

Property Type Description
$address string 住所
$helpers array ヘルパー
$latitude string latitude
$longitude string longitude
$mapId string 地図を表示するDOM ID
$markerText string マーカーテキスト
$title string タイトル
$zoom integer ズーム

Public Methods

Method Description
getLocation ( string $address ) : boolean 位置情報を取得する
load ( string $address = '', integer $width = null, integer $height = null ) : boolean Google マップ を読み込む
loadLocation ( ) : boolean 位置情報を読み込む

Protected Methods

Method Description
_getScript ( ) : string Google マップ読み込み用のjavascriptを生成する

Method Details

_getScript() protected method

Google マップ読み込み用のjavascriptを生成する
protected _getScript ( ) : string
return string

getLocation() public method

位置情報を取得する
public getLocation ( string $address ) : boolean
$address string
return boolean

load() public method

Google マップ を読み込む
public load ( string $address = '', integer $width = null, integer $height = null ) : boolean
$address string
$width integer
$height integer
return boolean

loadLocation() public method

位置情報を読み込む
public loadLocation ( ) : boolean
return boolean

Property Details

$address public_oe property

住所
public string $address
return string

$helpers public_oe property

ヘルパー
public array $helpers
return array

$latitude public_oe property

latitude
public string $latitude
return string

$longitude public_oe property

longitude
public string $longitude
return string

$mapId public_oe property

地図を表示するDOM ID
public string $mapId
return string

$markerText public_oe property

マーカーテキスト
public string $markerText
return string

$title public_oe property

タイトル
public string $title
return string

$zoom public_oe property

ズーム
public int $zoom
return integer