inocan-group / vue3-google-map

A set of composable components for easy use of Google Maps in your Vue 3 projects.
https://vue3-google-map.com
MIT License
283 stars 57 forks source link

Theme don't work ? #20

Closed stephanedemotte closed 3 years ago

stephanedemotte commented 3 years ago

Hello. i try to use theme but nothing change in the map

I'm using it like this

  <GoogleMap
    :theme="'ultraLight"
    :zoom="17"
    api-key="***MYAPIKEY***">
  </GoogleMap>

I'm doing something wrong or it's a bug ?

Thank !!

stephanedemotte commented 3 years ago

Ok got it

  <GoogleMap
    :styles="[themeARRAY]"
    :zoom="17"
    api-key="***MYAPIKEY***">
  </GoogleMap>
serginhosis commented 3 years ago

I can't understand, themes not work to me. Can you help-me @HusamIbrahim ?

HusamElbashir commented 3 years ago

@serginhosis Sorry that part of the documentation needs to be updated as it doesn't reflect the latest API. Please refer to this example as it has been updated to reflect the latest .. https://github.com/inocan-group/vue3-google-map/blob/develop/docs/examples/ThemesExample.vue Please note that there's currently a bug where you can't import our selected themes and have to provide your own. It will be fixed soon in the next bugfix release.