mirror of
https://github.com/iiab/iiab.git
synced 2025-02-13 11:42:08 +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
|
||||
get_url:
|
||||
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
|
||||
file:
|
||||
|
|
|
@ -56,7 +56,7 @@ def main():
|
|||
|
||||
def get_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:
|
||||
reg_str = regions.read()
|
||||
map_catalog = json.loads(reg_str)
|
||||
|
|
|
@ -51,5 +51,6 @@
|
|||
renderRegionList(false);
|
||||
});
|
||||
</script>
|
||||
<script src="main.js"></script>
|
||||
</body>
|
||||
</html>
|
||||
|
|
Loading…
Reference in a new issue