Update the Basemap of Google in cmv ver 2
GilbertLasnier opened this issue · 5 comments
I put the google base map in the cmv 2.0 base map...Its work very well, but i realize that the version of the picture is 2015, not like on the site of maps google, there is a way to find a more recent version of that google map...? Also there is a way to make transparencies on that base map or other...its nor a gis web services...
googleHybrid: {
title: 'googleHybrid',
basemap: new Basemap({
id: 'googleHybrid',
layers: [new BasemapLayer({
url: "https://mt${subDomain}.google.com/vt/lyrs=s,h&hl=en&gl=en&x=${col}&y=${row}&z=${level}&s=png",
copyright: "Google, 2015",
id: "googleHybrid",
subDomains: ["0", "1", "2", "3"],
type:"WebTiledLayer"
})
]
})
},
| CMV Version 2.0 |
Waiting for some ideas???
@GilbertLasnier Are you sure the actual images are from 2015 or are you seeing a 2015 copyright only because that is what you entered in the config:
copyright: "Google, 2015",
@GilbertLasnier When I zoom in close on a particular area using the above code, I see a copyright date of 2018 on the Google map tiles. I am not aware of any other method to access tiles that might use newer base imagery.
Sorry I answer with picture in th #619
its work now I just change zoom to 19 and after to 5
mapOptions: {
basemap: 'topo',
center: [0.0, 30.0],
zoom: 19,
zoom: 5,
sliderStyle: 'small'
/* lods: maplods */
},
If you want you must close tha case...