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
If you want to styling your maps like https://developers.google.com/maps/documentation/javascript/styling, you can pass to GmapMap options prop the style array who you want to apply.
GmapMap
options
Like this:
<template> <div class="my-app-map"> <GmapMap ref="mapRef" :center="mapCenter" :zoom="15" map-type-id="roadmap" :options="mapOptions" style="height: 500px" /> </div> </template> <script> export default { name: 'MyAppMap', data() { return { mapOptions: { zoomControll: true, mapTypeControl: false, styles: [ { featureType: 'all', elementType: 'all', anotherConfigsToGoogleMapsStyle, } ], } } } } </script>
Done, your map has your personalized styles.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
If you want to styling your maps like https://developers.google.com/maps/documentation/javascript/styling, you can pass to
GmapMap
options
prop the style array who you want to apply.Like this:
Done, your map has your personalized styles.
The text was updated successfully, but these errors were encountered: