Does anyone know how to move the google maps ‘myLocationButton’, down to the highlighted location?
This image shows the desired location of the button.
loadMap() {
//let location = new LatLng(-34.9290, 138.6010);
this.map = new GoogleMap('map', {
'controls': {
'compass': true,
'myLocationButton': true,
'indoorPicker': true
},
'gestures': {
'scroll': true,
'tilt': true,
'rotate': true,
'zoom': true
},
'camera': {
target: {
lat: 43.0741904,
lng: -89.3809802
},
'tilt': 30,
'zoom': 15,
'bearing': 50
}
});
this.map.on(GoogleMapsEvent.MAP_READY).subscribe(() => {
console.log('Map is ready!');
});
}