kartoza / WRODataPlatform

WRC Water Research Observatory Data Platform
0 stars 3 forks source link

add Google satellite as alternative base map #29

Open gubuntu opened 2 years ago

gubuntu commented 2 years ago

In the map view, OSM is the default and only basemap.

The WRO team requested that Google Satellite be added as an alternative base map.

Please get a key for Google Maps via the WRO GCP account to enable this.

Mohab25 commented 2 years ago

@mikev3003 @Christiaan34 added a google maps base map with satellite view for bounds capture, looking to generalize the same map for the whole site. (the following gif is compressed twice to be uploaded to github, the actual spatial resolution of google satellite view is quite good) google maps for bounds capture (1) (1)

gubuntu commented 2 years ago

adding a google base map doesn't mean switching to the google maps api, just adding the base map to the current map (which is / was Leaflet, right?)

Mohab25 commented 2 years ago

@gubuntu we need to be able to draw over the map to capture boundaries, it's a part of the api

gubuntu commented 2 years ago

yes but you can also draw in Leaflet, why change the implementation? We generally avoid using the Google Maps or other proprietary APIs. In this case with the WRO on GCP, there might be an argument to be made to use