Permalink
Browse files

Added support for all map control objects, zoom, map type, scale, str…

…eet view and rotate.
  • Loading branch information...
Bradley Cornford
Bradley Cornford committed Aug 1, 2017
1 parent 05561bf commit 394afc1e772161dbdc292259168e56f0ced3f33d
View
@@ -63,12 +63,17 @@ You can now configure Googlmapper in a few simple steps. Open `app/config/packag
- `locate` - Automatically center Google Maps around the users current location, when false, Google Maps will automatically center the map, e.g. true.
- `zoom` - Set the default zoom level for Google Maps, e.g. 8.
- `scrollWheelZoom` - Set the default scroll wheel zoom Google Maps, e.g. true.
- `zoomControl` - Set the default zoom control for Google Maps, e.g. true.
- `mapTypeControl` - Set the default map type control for Google Maps, e.g. true.
- `scaleControl` - Set the default scale control for Google Maps, e.g. true.
- `streetViewControl` - Set the default street view control for Google Maps, e.g. true.
- `rotateControl` - Set the default rotate control for Google Maps, e.g. true.
- `fullscreenControl` - Set the default fullscreen control for Google Maps, e.g. true.
- `type` - Set the default map type for Google Maps, e.g. ROADMAP, SATELLITE, HYBRID, TERRAIN.
- `ui` - Show the Google Maps default UI options, e.g. true.
- `markers.icon` - Set the default marker icon, e.g. img/icon.png.
- `markers.animation` - Set the default marker animation, e.g. NONE, DROP, BOUNCE.
- `autoclose` - Automatically close Information Windows of current marker when click on other markers, e.g. true.
- `markers.autoclose` - Automatically close Information Windows of current marker when other markers are clicked, e.g. true.
- `cluster` - Set if map marker clusters should be used.
- `clusters.icon` - Display custom images for clusters using icon path.
- `clusters.grid` - The grid size of a cluster in pixels.
@@ -242,22 +242,112 @@ public function setScrollWheelZoom($value);
public function getScrollWheelZoom();
/**
* Set map fullscreen control.
* Set map zoom control.
*
* @param boolean $value
*
* @throws MapperArgumentException
*
* @return void
*/
public function setFullscreenControl($value);
public function setZoomControl($value);
/**
* Get map fullscreen control.
* Get map zoom control.
*
* @return boolean
*/
public function getFullscreenControl();
public function getZoomControl();
/**
* Set map type control.
*
* @param boolean $value
*
* @throws MapperArgumentException
*
* @return void
*/
public function setMapTypeControl($value);
/**
* Get map type control.
*
* @return boolean
*/
public function getMapTypeControl();
/**
* Set map scale control.
*
* @param boolean $value
*
* @throws MapperArgumentException
*
* @return void
*/
public function setScaleControl($value);
/**
* Get map scale control.
*
* @return boolean
*/
public function getScaleControl();
/**
* Set map street view control.
*
* @param boolean $value
*
* @throws MapperArgumentException
*
* @return void
*/
public function setStreetViewControl($value);
/**
* Get map street view control.
*
* @return boolean
*/
public function getStreetViewControl();
/**
* Set map rotate control.
*
* @param boolean $value
*
* @throws MapperArgumentException
*
* @return void
*/
public function setRotateControl($value);
/**
* Get map rotate control.
*
* @return boolean
*/
public function getRotateControl();
/**
* Set map fullscreen control.
*
* @param boolean $value
*
* @throws MapperArgumentException
*
* @return void
*/
public function setFullscreenControl($value);
/**
* Get map fullscreen control.
*
* @return boolean
*/
public function getFullscreenControl();
/**
* Set map type.
Oops, something went wrong.

0 comments on commit 394afc1

Please sign in to comment.