mirror of
https://github.com/iiab/iiab.git
synced 2025-02-15 04:32:11 +00:00
if maps enabled, download 20MB satellite and link to installer osm
This commit is contained in:
parent
118010b619
commit
809de60eb7
1 changed files with 11 additions and 2 deletions
|
@ -181,8 +181,17 @@
|
|||
- iiab-make-init.py
|
||||
- iiab-update-map
|
||||
|
||||
- name: Install the World Map to zoom 10
|
||||
shell: iiab-install-map-region
|
||||
- name: Link to the World Map to zoom 6
|
||||
file:
|
||||
src: '{{ vector_map_path }}/installer/planet_z0-z6_2019.mbtiles'
|
||||
dest: '{{ vector_map_path }}/viewer/tiles/planet_z0-z6_2019.mbtiles'
|
||||
state: link
|
||||
when: osm_vector_maps_enabled | bool
|
||||
|
||||
- name: Copy the map abbreviated satellite images
|
||||
get_url:
|
||||
url: "{{ map_catalog_url }}/satellite_z0-z6_v3.mbtiles"
|
||||
dest: '{{ vector_map_path }}/viewer/tiles/satellite_z0-z6_v3.mbtiles'
|
||||
when: osm_vector_maps_enabled | bool
|
||||
|
||||
- name: Install /etc/nginx/osm-vector-maps-nginx.conf from template
|
||||
|
|
Loading…
Reference in a new issue