mirror of
https://github.com/iiab/iiab.git
synced 2025-02-12 19:22:24 +00:00
Regions (#2480)
* missing link in mapli/assets for regions.json * wrong target * the download of regions.json was lost
This commit is contained in:
parent
8090f3bb29
commit
32348e58ef
1 changed files with 11 additions and 0 deletions
|
@ -15,6 +15,11 @@
|
||||||
url: "{{ map_catalog_url }}/map-catalog.json"
|
url: "{{ map_catalog_url }}/map-catalog.json"
|
||||||
dest: /etc/iiab/
|
dest: /etc/iiab/
|
||||||
|
|
||||||
|
- name: Download map catalog {{ iiab_map_url }}/assets/regions.json to {{ iiab_etc_path }}
|
||||||
|
get_url:
|
||||||
|
url: "{{ iiab_map_url }}/assets/regions.json" # http://download.iiab.io/content/OSM/vector-tiles/maplist/hidden
|
||||||
|
dest: "{{ iiab_etc_path }}"
|
||||||
|
|
||||||
- name: Check for existence of cities database
|
- name: Check for existence of cities database
|
||||||
stat:
|
stat:
|
||||||
path: "{{ vector_map_path }}/cities1000.sqlite"
|
path: "{{ vector_map_path }}/cities1000.sqlite"
|
||||||
|
@ -38,6 +43,12 @@
|
||||||
dest: "{{ vector_map_path }}/test-page/assets/map-catalog.json"
|
dest: "{{ vector_map_path }}/test-page/assets/map-catalog.json"
|
||||||
state: link
|
state: link
|
||||||
|
|
||||||
|
- name: Create a link to regions.json in {{ vector_map_path }}/maplist/assets
|
||||||
|
file:
|
||||||
|
src: "/etc/iiab/regions.json"
|
||||||
|
dest: "{{ vector_map_path }}/maplist/assets/regions.json"
|
||||||
|
state: link
|
||||||
|
|
||||||
- name: Download the JavaScript bundle with OpenLayers (main.js) for test page http://box/maps/maplist
|
- name: Download the JavaScript bundle with OpenLayers (main.js) for test page http://box/maps/maplist
|
||||||
# At this point, fetches from github.com/georgejhunt/maps from test branch
|
# At this point, fetches from github.com/georgejhunt/maps from test branch
|
||||||
get_url:
|
get_url:
|
||||||
|
|
Loading…
Reference in a new issue