@@ -40,7 +40,7 @@ import {MarkerManager} from '../services/managers/marker-manager';
4040 inputs : [
4141 'longitude' , 'latitude' , 'zoom' , 'disableDoubleClickZoom' , 'disableDefaultUI' , 'scrollwheel' ,
4242 'backgroundColor' , 'draggableCursor' , 'draggingCursor' , 'keyboardShortcuts' , 'zoomControl' ,
43- 'styles' , 'usePanning' , 'streetViewControl' , 'fitBounds'
43+ 'styles' , 'usePanning' , 'streetViewControl' , 'fitBounds' , 'scaleControl'
4444 ] ,
4545 outputs : [ 'mapClick' , 'mapRightClick' , 'mapDblClick' , 'centerChange' , 'idle' , 'boundsChange' ] ,
4646 host : { '[class.sebm-google-map-container]' : 'true' } ,
@@ -150,6 +150,11 @@ export class SebmGoogleMap implements OnChanges, OnInit {
150150 */
151151 fitBounds : LatLngBoundsLiteral | LatLngBounds = null ;
152152
153+ /**
154+ * The initial enabled/disabled state of the Scale control. This is disabled by default.
155+ */
156+ scaleControl : boolean = false ;
157+
153158 /**
154159 * Map option attributes that can change over time
155160 */
@@ -213,7 +218,8 @@ export class SebmGoogleMap implements OnChanges, OnInit {
213218 keyboardShortcuts : this . keyboardShortcuts ,
214219 zoomControl : this . zoomControl ,
215220 styles : this . styles ,
216- streetViewControl : this . streetViewControl
221+ streetViewControl : this . streetViewControl ,
222+ scaleControl : this . scaleControl
217223 } ) ;
218224
219225 // register event listeners
0 commit comments