Fail Geojson load silently
This commit is contained in:
		
							parent
							
								
									de3a4fc757
								
							
						
					
					
						commit
						3d0e8ae95d
					
				| @ -146,7 +146,7 @@ function load_geojson(name, url, iconname, iconcolor, active=1, style={}) { | |||||||
| 					geojson.addTo(mymap); | 					geojson.addTo(mymap); | ||||||
| 				return geojson; | 				return geojson; | ||||||
| 			} else { | 			} else { | ||||||
| 				alert("Error: Could not load geojson map layer (" + name + ")."); | 				console.log("Error: Could not load geojson map layer (" + name + ")."); | ||||||
| 			} | 			} | ||||||
| 		} | 		} | ||||||
| 	} | 	} | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user