1
0
Fork 0
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:
George Hunt 2019-04-03 12:57:28 -07:00
parent 3646fd1a5d
commit afc77ed12f
4 changed files with 3 additions and 2 deletions

View file

@ -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:

View 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)

View file

@ -51,5 +51,6 @@
renderRegionList(false); renderRegionList(false);
}); });
</script> </script>
<script src="main.js"></script>
</body> </body>
</html> </html>