Akifcan / googlemaps-vue-3

Google maps javascript api library for vue.js 3
15 stars 2 forks source link

How to add a tile layer? #1

Open ffischer1984 opened 4 years ago

ffischer1984 commented 4 years ago

Is it possible to add a tile layer?

Akifcan commented 4 years ago

hello, now i added tile layer option

just pass the tileUrl and layerId as a option

const googleMapOption = {
    apiKey: 'YOUR_API_KEY',
    tileUrl: 'YOUR_TILE_URL', //optional
    layerId: 'YOUR_LAYER_ID' //optional (require if tileUrl exists)
}