forked from MapComplete/MapComplete
		
	Fixed the build, turns out the maps-svg was too complicated
This commit is contained in:
		
							parent
							
								
									a9e823d051
								
							
						
					
					
						commit
						c3e8a18789
					
				
					 4 changed files with 37 additions and 9284 deletions
				
			
		|  | @ -46,13 +46,13 @@ export class AllKnownLayouts { | ||||||
|         new PersonalLayout(), |         new PersonalLayout(), | ||||||
|         //    new Natuurpunt(),
 |         //    new Natuurpunt(),
 | ||||||
|         AllKnownLayouts.GenerateCycloFix(), |         AllKnownLayouts.GenerateCycloFix(), | ||||||
|         AllKnownLayouts.GenerateBuurtNatuur(), |  | ||||||
|         FromJSON.LayoutFromJSON(bookcases), |         FromJSON.LayoutFromJSON(bookcases), | ||||||
|         FromJSON.LayoutFromJSON(aed), |         FromJSON.LayoutFromJSON(aed), | ||||||
|         FromJSON.LayoutFromJSON(toilets), |         FromJSON.LayoutFromJSON(toilets), | ||||||
|         FromJSON.LayoutFromJSON(artworks), |         FromJSON.LayoutFromJSON(artworks), | ||||||
|         FromJSON.LayoutFromJSON(cyclestreets), |         FromJSON.LayoutFromJSON(cyclestreets), | ||||||
|         FromJSON.LayoutFromJSON(ghostbikes), |         FromJSON.LayoutFromJSON(ghostbikes), | ||||||
|  |         AllKnownLayouts.GenerateBuurtNatuur(), | ||||||
|         FromJSON.LayoutFromJSON(nature), |         FromJSON.LayoutFromJSON(nature), | ||||||
|         FromJSON.LayoutFromJSON(maps), |         FromJSON.LayoutFromJSON(maps), | ||||||
| 
 | 
 | ||||||
|  |  | ||||||
										
											
												File diff suppressed because it is too large
												Load diff
											
										
									
								
							| Before Width: | Height: | Size: 297 KiB After Width: | Height: | Size: 3.9 KiB | 
|  | @ -125,11 +125,13 @@ function createIcon(iconPath: string, size: number) { | ||||||
|         readFileSync(newname); |         readFileSync(newname); | ||||||
|         return newname; // File already exists - nothing to do
 |         return newname; // File already exists - nothing to do
 | ||||||
|     } catch (e) { |     } catch (e) { | ||||||
| 
 |         // Errors are normal here if this file exists
 | ||||||
|     } |     } | ||||||
| 
 | 
 | ||||||
|     console.log("Creating icon ", name, newname) |     console.log("Creating icon ", name, newname) | ||||||
| 
 | 
 | ||||||
|  |     try{ | ||||||
|  |          | ||||||
|     svg2img(iconPath, |     svg2img(iconPath, | ||||||
|         // @ts-ignore
 |         // @ts-ignore
 | ||||||
|         {width: size, height: size, preserveAspectRatio: true}) |         {width: size, height: size, preserveAspectRatio: true}) | ||||||
|  | @ -139,6 +141,11 @@ function createIcon(iconPath: string, size: number) { | ||||||
|         }).catch((error) => { |         }).catch((error) => { | ||||||
|         console.log("ERROR while writing" + iconPath, error) |         console.log("ERROR while writing" + iconPath, error) | ||||||
|     }); |     }); | ||||||
|  |      | ||||||
|  |     }catch(e){ | ||||||
|  |         console.error("Could not read icon",iconPath,"due to",e) | ||||||
|  |     } | ||||||
|  |      | ||||||
|     return newname; |     return newname; | ||||||
| } | } | ||||||
| 
 | 
 | ||||||
|  |  | ||||||
							
								
								
									
										40
									
								
								wikiIndex
									
										
									
									
									
								
							
							
						
						
									
										40
									
								
								wikiIndex
									
										
									
									
									
								
							|  | @ -40,26 +40,6 @@ | ||||||
| | | | | ||||||
| }} | }} | ||||||
| 
 | 
 | ||||||
| {{Software |  | ||||||
| |name           = buurtnatuur |  | ||||||
| |author         = Pieter Vander Vennet |  | ||||||
| |web            = https://pietervdvn.github.io/MapComplete/buurtnatuur.html |  | ||||||
| |repo           = https://github.com/pietervdvn/MapComplete |  | ||||||
| |platform       = web |  | ||||||
| |code           = Typescript;HTML;CSS |  | ||||||
| |languages      = nl |  | ||||||
| |genre          = display;editor |  | ||||||
| |screenshot     = MapComplete_Screenshot.png |  | ||||||
| |description    = A MapComplete theme: Met deze tool kan je natuur in je buurt in kaart brengen en meer informatie geven over je favoriete plekje |  | ||||||
| |map        = yes |  | ||||||
| |findLocation            = yes |  | ||||||
| |findNearbyPOI           = yes |  | ||||||
| |addPOI          = yes |  | ||||||
| |editPOI         = yes |  | ||||||
| |editTags        = yes |  | ||||||
| | |  | ||||||
| }} |  | ||||||
| 
 |  | ||||||
| {{Software | {{Software | ||||||
| |name           = bookcases | |name           = bookcases | ||||||
| |author         = MapComplete | |author         = MapComplete | ||||||
|  | @ -180,6 +160,26 @@ | ||||||
| | | | | ||||||
| }} | }} | ||||||
| 
 | 
 | ||||||
|  | {{Software | ||||||
|  | |name           = buurtnatuur | ||||||
|  | |author         = Pieter Vander Vennet | ||||||
|  | |web            = https://pietervdvn.github.io/MapComplete/buurtnatuur.html | ||||||
|  | |repo           = https://github.com/pietervdvn/MapComplete | ||||||
|  | |platform       = web | ||||||
|  | |code           = Typescript;HTML;CSS | ||||||
|  | |languages      = nl | ||||||
|  | |genre          = display;editor | ||||||
|  | |screenshot     = MapComplete_Screenshot.png | ||||||
|  | |description    = A MapComplete theme: Met deze tool kan je natuur in je buurt in kaart brengen en meer informatie geven over je favoriete plekje | ||||||
|  | |map        = yes | ||||||
|  | |findLocation            = yes | ||||||
|  | |findNearbyPOI           = yes | ||||||
|  | |addPOI          = yes | ||||||
|  | |editPOI         = yes | ||||||
|  | |editTags        = yes | ||||||
|  | | | ||||||
|  | }} | ||||||
|  | 
 | ||||||
| {{Software | {{Software | ||||||
| |name           = nature | |name           = nature | ||||||
| |author         =  | |author         =  | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue