forked from MapComplete/MapComplete
		
	Fix summary URL
This commit is contained in:
		
							parent
							
								
									8390b9c541
								
							
						
					
					
						commit
						7dc4755a1d
					
				
					 2 changed files with 3 additions and 3 deletions
				
			
		| 
						 | 
				
			
			@ -114,7 +114,7 @@ export class SummaryTileSource extends DynamicTileSource {
 | 
			
		|||
    ): Store<Feature<Point>[]> {
 | 
			
		||||
        const [z, x, y] = Tiles.tile_from_index(tileIndex)
 | 
			
		||||
        let coordinates = Tiles.centerPointOf(z, x, y)
 | 
			
		||||
        const url = `${cacheserver}/${layersSummed}/${z}/${x}/${y}.json`
 | 
			
		||||
        const url = `${cacheserver}/summary/${layersSummed}/${z}/${x}/${y}.json`
 | 
			
		||||
        const count = UIEventSource.FromPromiseWithErr(Utils.downloadJson(url))
 | 
			
		||||
        return count.mapD((count) => {
 | 
			
		||||
            if (count["error"] !== undefined) {
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue