We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I recently updated google maps to 0.21.0, afterwards de stylers of the map dont work anymore.
What I tried:
function getMapOptions() { return { styles: [ { featureType: 'poi.business', stylers: [ { visibility: 'off', }, ], }, { featureType: 'poi.government', stylers: [ { visibility: 'off', }, ], }, { featureType: 'poi.school', stylers: [ { visibility: 'off', }, ], }, { featureType: 'poi.medical', stylers: [ { visibility: 'off', }, ], }, { featureType: 'poi.place_of_worship', stylers: [ { visibility: 'off', }, ], }, ], }; } watch( () => googleMap.value?.ready, (ready) => { if (!ready) return; googleMap.value.map.setOptions(getMapOptions()); } );
and
<google-map v-if="mapHeight" ref="googleMap" mapId="googleMap" style="width: 100%; height: 100%" :styles="mapstyles"
mapstyles() { return [ ...(this.layer?.labels?.companies === false ? [...this.styleRemoveLabels] : []), ...(this.darkmode.value ?? useQuasar()?.dark.isActive ? [...this.styles] : []), ]; },
Darkmode is not working after the update, and the remove labels (POI companies) dont work anymore...
The text was updated successfully, but these errors were encountered:
No branches or pull requests
I recently updated google maps to 0.21.0, afterwards de stylers of the map dont work anymore.
What I tried:
and
Darkmode is not working after the update, and the remove labels (POI companies) dont work anymore...
The text was updated successfully, but these errors were encountered: