Skip to content

Commit 5bbb92e

Browse files
committed
fix(google-maps): add myLocationButtonEnabled setter
1 parent d64290b commit 5bbb92e

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

packages/google-maps/index.android.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -627,6 +627,10 @@ export class UISettings implements IUISettings {
627627
return this.native.isMyLocationButtonEnabled();
628628
}
629629

630+
set myLocationButtonEnabled(value) {
631+
this.native.setMyLocationButtonEnabled(value);
632+
}
633+
630634
get indoorLevelPickerEnabled(): boolean {
631635
return this.native.isIndoorLevelPickerEnabled();
632636
}

packages/google-maps/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@nativescript/google-maps",
3-
"version": "1.4.0",
3+
"version": "1.4.1",
44
"description": "Google Maps SDK",
55
"main": "index",
66
"typings": "index.d.ts",

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy