mirror of
https://github.com/iiab/iiab.git
synced 2025-02-13 19:52:06 +00:00
some fixes for stuff moving around
This commit is contained in:
parent
3646fd1a5d
commit
afc77ed12f
4 changed files with 3 additions and 2 deletions
|
@ -1,7 +1,7 @@
|
||||||
- name: Fetch the catalog for osm maps
|
- name: Fetch the catalog for osm maps
|
||||||
get_url:
|
get_url:
|
||||||
url: "{{ iiab_osm_url }}/assets/regions.json"
|
url: "{{ iiab_osm_url }}/assets/regions.json"
|
||||||
dest: '{{ doc_root }}/common/assets'
|
dest: '{{ osm_vector_path }}/assets'
|
||||||
|
|
||||||
- name: Make sure the osm-vector directory exists
|
- name: Make sure the osm-vector directory exists
|
||||||
file:
|
file:
|
||||||
|
|
|
@ -56,7 +56,7 @@ def main():
|
||||||
|
|
||||||
def get_map_catalog():
|
def get_map_catalog():
|
||||||
global map_catalog
|
global map_catalog
|
||||||
input_json = osm_vector_idx_dir + '/regions.json'
|
input_json = map_doc_root + '/assets/regions.json'
|
||||||
with open(input_json,'r') as regions:
|
with open(input_json,'r') as regions:
|
||||||
reg_str = regions.read()
|
reg_str = regions.read()
|
||||||
map_catalog = json.loads(reg_str)
|
map_catalog = json.loads(reg_str)
|
||||||
|
|
|
@ -51,5 +51,6 @@
|
||||||
renderRegionList(false);
|
renderRegionList(false);
|
||||||
});
|
});
|
||||||
</script>
|
</script>
|
||||||
|
<script src="main.js"></script>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
|
Loading…
Reference in a new issue