Add new property 'controlSize'

This commit is contained in:
sucotronic
2019-02-19 13:01:13 +01:00
parent 90961b6110
commit 3298532c5b
2 changed files with 9 additions and 0 deletions
+1
View File
@@ -4,6 +4,7 @@ let mapOptions: google.maps.MapOptions = {
backgroundColor: "#fff",
center: { lat: -25.363, lng: 131.044 },
clickableIcons: true,
controlSize: 30,
draggable: true,
fullscreenControl: true,
fullscreenControlOptions: {
+8
View File
@@ -93,6 +93,14 @@ declare namespace google.maps {
* interest, also known as a POI. By default map icons are clickable.
*/
clickableIcons?: boolean
/**
* Size in pixels of the controls appearing on the map. This value must be
* supplied directly when creating the Map, updating this value later may
* bring the controls into an undefined state. Only governs the controls
* made by the Maps API itself. Does not scale developer created custom
* controls.
*/
controlSize?: number;
/** Enables/disables all default UI. May be overridden individually. */
disableDefaultUI?: boolean;
/** Enables/disables zoom and center on double click. Enabled by default. */