mirror of
				https://github.com/iiab/iiab.git
				synced 2025-03-09 15:40:17 +00:00 
			
		
		
		
	don't write file to menu def
This commit is contained in:
		
							parent
							
								
									c9e6c2103d
								
							
						
					
					
						commit
						1bd4ac5fba
					
				
					 1 changed files with 2 additions and 2 deletions
				
			
		|  | @ -146,8 +146,8 @@ def create_menu_def(region,default_name,intended_use='map'): | |||
|    menuDef["menu_item_name"] = default_name | ||||
|    menuDef["title"] = "OpenStreetMap: 18 Levels of Zoom for <b> " + item.get('title','ERROR') + '</b>' | ||||
|    menuDef["map_name"] = item['perma_ref'] | ||||
|    menuDef["file_name"] = lang + '-osm-omt_' + region + '_' + \ | ||||
|                       os.path.basename(item['url'])[:-4] | ||||
|    # the following is in the idx json | ||||
|    #menuDef["file_name"] = lang + '-osm-omt_' + region + '_' + os.path.basename(item['url'])[:-4] | ||||
|    menuDef["description"] = '<p>Resolution of the Whole World to 5 KM. OpenStreetMap data for <b>' + item.get('title','') + '</b> with details down to 5 Meters</p>' | ||||
|    menuDef["extra_html"] = "" | ||||
|    #menuDef["automatically_generated"] = "true" | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue