Property | Type | Description | |
---|---|---|---|
$containerOptions | the HTML attributes for the layer that will render the map. | ||
$height | the height in pixels or percent of the container holding the map. | ||
$width | the width in pixels or percent of the container holding the map. |
Method | Description | |
---|---|---|
__construct ( array $config = [] ) | ||
addOverlay ( $overlay ) | ||
appendScript ( $js ) | ||
display ( ) : string | ||
getBoundsFromCenterAndZoom ( ) : dosamigos\google\maps\LatLngBounds | ||
getCenter ( ) : mixed | ||
getClosureScopedVariable ( $name ) : mixed | ||
getClosureScopedVariables ( ) : array | ||
getJs ( ) : string | ||
getMarkers ( ) : array | ||
getMarkersCenterCoordinates ( ) : dosamigos\google\maps\LatLng | null | ||
getMarkersFittingZoom ( integer $margin, integer $default = 14 ) : integer | ||
getMarkersForUrl ( ) : string | ||
getOverlays ( ) : array | ||
getPlugins ( ) : dosamigos\google\maps\PluginManager | ||
getStaticMapUrl ( string $maptype = 'mobile', string $hl = 'es' ) : string | ||
init ( ) | ||
installPlugin ( dosamigos\google\maps\PluginAbstract $plugin ) | Installs a plugin | |
registerClientScript ( integer $position = View::POS_END ) | ||
removePlugin ( $plugin ) : mixed | null | Removes an installed plugin | |
renderContainer ( ) : string | ||
setCenter ( dosamigos\google\maps\LatLng $coord ) | ||
setClosureScopedVariable ( $name, null $value = null ) |
Method | Description | |
---|---|---|
getClosureScopedVariablesScript ( ) : string |
public getBoundsFromCenterAndZoom ( ) : dosamigos\google\maps\LatLngBounds | ||
return | dosamigos\google\maps\LatLngBounds |
public getClosureScopedVariable ( $name ) : mixed | ||
$name | ||
return | mixed |
protected getClosureScopedVariablesScript ( ) : string | ||
return | string |
public getMarkersCenterCoordinates ( ) : dosamigos\google\maps\LatLng | null | ||
return | dosamigos\google\maps\LatLng | null |
public getPlugins ( ) : dosamigos\google\maps\PluginManager | ||
return | dosamigos\google\maps\PluginManager |
public installPlugin ( dosamigos\google\maps\PluginAbstract $plugin ) | ||
$plugin | dosamigos\google\maps\PluginAbstract |
public registerClientScript ( integer $position = View::POS_END ) | ||
$position | integer |
public removePlugin ( $plugin ) : mixed | null | ||
$plugin | ||
return | mixed | null |
public setCenter ( dosamigos\google\maps\LatLng $coord ) | ||
$coord | dosamigos\google\maps\LatLng |
public setClosureScopedVariable ( $name, null $value = null ) | ||
$name | ||
$value | null |
public $containerOptions |
public $height |