cmv / cmv-app

CMV - The Configurable Map Viewer - A community supported open source mapping framework built with the Esri JavaScript API and the Dojo Toolkit
https://demo.cmv.io/
MIT License
325 stars 278 forks source link

Update the Basemap of Google in cmv ver 2 #865

Closed GilbertLasnier closed 5 years ago

GilbertLasnier commented 6 years ago

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???

tmcgee commented 6 years ago

@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 commented 6 years ago

I am sure because I compare with the site of google to day, and I must be able to see all the roof in white ( they people received un subvention for changing our roof in white for the control of the temperature of the earth...and that kind of imagery is on the latest google map not on the 2015 forget the copyright the imagery is not uptodate and the zoom level is also restricted... Thanks for your very fast answer, Tim

Envoyé de mon iPad

Le 31 oct. 2018 à 14:36, Tim McGee notifications@github.com<mailto:notifications@github.com> a écrit :

@GilbertLasnierhttps://github.com/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",

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHubhttps://github.com/cmv/cmv-app/issues/865#issuecomment-434794887, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AGeGA2jbQ0LXcxbzY7eSalj3-RmUGRQgks5uqe2ZgaJpZM4YErYU.

tmcgee commented 6 years ago

@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.

GilbertLasnier commented 6 years ago

Sorry I answer with picture in th #619

GilbertLasnier commented 5 years ago

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...