+ /** After activating the plugin by clicking on the icon, zoom to the selected zoom level, even when keepCurrentZoomLevel is true. Set to 'false' to disable this feature. */
+ initialZoomLevel: false,
+ /**
+ * This callback can be used to override the viewport tracking
+ * This function should return a LatLngBounds object.
+ *
+ * For example to extend the viewport to ensure that a particular LatLng is visible:
+ *
+ * getLocationBounds: function(locationEvent) {
+ * return locationEvent.bounds.extend([-33.873085, 151.219273]);
+ * },
+ */
+ getLocationBounds: function (locationEvent) {
+ return locationEvent.bounds;
+ },