API equivalent to google.maps.MarkerOptions.
Methods
Constructor
__construct(array $options = array())
Set anchorPoint
setAnchorPoint(\AdGrafik\GoogleMapsPHP\API\Base\Point $anchorPoint) : \AdGrafik\GoogleMapsPHP\API\Overlays\Marker
Get anchorPoint
getAnchorPoint() : \AdGrafik\GoogleMapsPHP\API\Base\Point
Set animation
setAnimation(\AdGrafik\GoogleMapsPHP\API\Overlays\string<\AdGrafik\GoogleMapsPHP\API\Overlays\Animation::BOUNCE|\AdGrafik\GoogleMapsPHP\API\Overlays\DROP> $animation) : \AdGrafik\GoogleMapsPHP\API\Overlays\Marker
Arguments
$animation
\AdGrafik\GoogleMapsPHP\API\Overlays\string<\AdGrafik\GoogleMapsPHP\API\Overlays\Animation::BOUNCE|\AdGrafik\GoogleMapsPHP\API\Overlays\DROP>
Response
\AdGrafik\GoogleMapsPHP\API\Overlays\Marker
Get animation
getAnimation() : string
Set clickable
setClickable(boolean $clickable) : \AdGrafik\GoogleMapsPHP\API\Overlays\Marker
Get clickable
isClickable() : boolean
Set cursor
setCursor(string $cursor) : \AdGrafik\GoogleMapsPHP\API\Overlays\Marker
Get cursor
getCursor() : string
Set draggable
setDraggable(boolean $draggable) : \AdGrafik\GoogleMapsPHP\API\Overlays\Marker
Get draggable
isDraggable() : boolean
Set flat
setFlat(boolean $flat) : \AdGrafik\GoogleMapsPHP\API\Overlays\Marker
Get flat
isFlat() : boolean
Set icon
setIcon(string|array|\AdGrafik\GoogleMapsPHP\API\Overlays\Icon|\AdGrafik\GoogleMapsPHP\API\Overlays\Symbol $icon) : \AdGrafik\GoogleMapsPHP\API\Overlays\Marker
Get icon
getIcon() : string|\AdGrafik\GoogleMapsPHP\API\Overlays\IconInterface
Set optimized
setOptimized(boolean $optimized) : \AdGrafik\GoogleMapsPHP\API\Overlays\Marker
Get optimized
isOptimized() : boolean
Set position
setPosition(mixed $position) : \AdGrafik\GoogleMapsPHP\API\Overlays\Marker
Get position
getPosition() : \AdGrafik\GoogleMapsPHP\API\Base\LatLng
Set raiseOnDrag
setRaiseOnDrag(boolean $raiseOnDrag) : \AdGrafik\GoogleMapsPHP\API\Overlays\Marker
Get raiseOnDrag
isRaiseOnDrag() : boolean
Set crossOnDrag
setCrossOnDrag(boolean $crossOnDrag) : \AdGrafik\GoogleMapsPHP\API\Overlays\Marker
Get crossOnDrag
isCrossOnDrag() : boolean
Set shadow
setShadow(string|array|\AdGrafik\GoogleMapsPHP\API\Overlays\Icon|\AdGrafik\GoogleMapsPHP\API\Overlays\Symbol $shadow) : \AdGrafik\GoogleMapsPHP\API\Overlays\Marker
Get shadow
getShadow() : string|\AdGrafik\GoogleMapsPHP\API\Overlays\IconInterface
Set shape
setShape(array|\AdGrafik\GoogleMapsPHP\API\Overlays\MarkerShape $shape) : \AdGrafik\GoogleMapsPHP\API\Overlays\Marker
Get shape
getShape() : \AdGrafik\GoogleMapsPHP\API\Overlays\MarkerShape
Set title
setTitle(string $title) : \AdGrafik\GoogleMapsPHP\API\Overlays\Marker
Get title
getTitle() : string
Set visible
setVisible(boolean $visible) : \AdGrafik\GoogleMapsPHP\API\Overlays\Marker
Get visible
isVisible() : boolean
Set zIndex
setZIndex(integer $zIndex) : \AdGrafik\GoogleMapsPHP\API\Overlays\Marker
Get zIndex
getZIndex() : integer
Properties
anchorPoint
anchorPoint : \AdGrafik\GoogleMapsPHP\API\Base\Point
animation
animation : \AdGrafik\GoogleMapsPHP\API\Overlays\string<\AdGrafik\GoogleMapsPHP\API\Overlays\Animation::BOUNCE|\AdGrafik\GoogleMapsPHP\API\Overlays\DROP>
Type(s)
\AdGrafik\GoogleMapsPHP\API\Overlays\string<\AdGrafik\GoogleMapsPHP\API\Overlays\Animation::BOUNCE|\AdGrafik\GoogleMapsPHP\API\Overlays\DROP>
clickable
clickable : boolean
draggable
draggable : boolean
icon
icon : string|array|\AdGrafik\GoogleMapsPHP\API\Overlays\Icon|\AdGrafik\GoogleMapsPHP\API\Overlays\Symbol
optimized
optimized : boolean
position
position : \AdGrafik\GoogleMapsPHP\API\Base\LatLng
raiseOnDrag
raiseOnDrag : boolean
crossOnDrag
crossOnDrag : boolean
shadow
shadow : string|array|\AdGrafik\GoogleMapsPHP\API\Overlays\Icon|\AdGrafik\GoogleMapsPHP\API\Overlays\Symbol
shape
shape : array|\AdGrafik\GoogleMapsPHP\API\Overlays\MarkerShape
visible
visible : boolean