mirror of
https://github.com/iiab/iiab.git
synced 2025-03-09 15:40:17 +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-make-init.py
|
||||||
- iiab-update-map
|
- iiab-update-map
|
||||||
|
|
||||||
- name: Install the World Map to zoom 10
|
- name: Link to the World Map to zoom 6
|
||||||
shell: iiab-install-map-region
|
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
|
when: osm_vector_maps_enabled | bool
|
||||||
|
|
||||||
- name: Install /etc/nginx/osm-vector-maps-nginx.conf from template
|
- name: Install /etc/nginx/osm-vector-maps-nginx.conf from template
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue