Skip to content

Commit

Permalink
Template Updates
Browse files Browse the repository at this point in the history
  • Loading branch information
PartTimeJS committed Aug 4, 2020
1 parent 5932389 commit 7741115
Show file tree
Hide file tree
Showing 5 changed files with 284 additions and 0 deletions.
25 changes: 25 additions & 0 deletions configs/z_maptiles/Flo-Templates/location.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
{
"style": "klokantech-basic",
"latitude": #(lat),
"longitude": #(lon),
"zoom": #(zoom),
"width": 400,
"height": 400,
"scale": 2,
"markers": [
{
"url": "#(url)",
"latitude": #(lat),
"longitude": #(lon),
"width": 400,
"height": 400
},
{
"url": "#(url2)",
"latitude": #(lat),
"longitude": #(lon),
"width": 400,
"height": 400
}
]
}
93 changes: 93 additions & 0 deletions configs/z_maptiles/Flo-Templates/nest.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,93 @@
{
"style": "klokantech-basic",
"latitude": #(lat),
"longitude": #(lon),
"zoom": 15,
"width": 400,
"height": 220,
"scale": 2,
"markers": [
#if(gyms != nil):
#for(pg in gyms):
#if(index(pg, 2) == 0):
{
"url": "https://raw.githubusercontent.com/whitewillem/PMSF/develop/static/forts/shield/Uncontested.png",
"latitude": #index(pg, 0),
"longitude": #index(pg, 1),
"width": 20,
"height": 20,
"y_offset": -8
},
#endif
#if(index(pg, 2) == 1):
{
"url": "https://raw.githubusercontent.com/whitewillem/PMSF/develop/static/forts/shield/Mystic.png",
"latitude": #index(pg, 0),
"longitude": #index(pg, 1),
"width": 20,
"height": 20,
"y_offset": -8
},
#endif
#if(index(pg, 2) == 2):
{
"url": "https://raw.githubusercontent.com/whitewillem/PMSF/develop/static/forts/shield/Valor.png",
"latitude": #index(pg, 0),
"longitude": #index(pg, 1),
"width": 20,
"height": 20,
"y_offset": -8
},
#endif
#if(index(pg, 2) == 3):
{
"url": "https://raw.githubusercontent.com/whitewillem/PMSF/develop/static/forts/shield/Instinct.png",
"latitude": #index(pg, 0),
"longitude": #index(pg, 1),
"width": 20,
"height": 20,
"y_offset": -8
},
#endif
#endfor
#endif
#if(stops != nil):
#for(ps in stops):
{
"url": "#(url3)",
"latitude": #index(ps, 0),
"longitude": #index(ps, 1),
"width": 20,
"height": 20,
"y_offset": -8
},
#endfor
#endif
{
"url": "#(url2)",
"latitude": #(lat),
"longitude": #(lon),
"width": 45,
"height": 45
},
{
"url": "#(url)",
"latitude": #(lat),
"longitude": #(lon),
"width": 40,
"height": 40
}
],
"polygons": [
{
"fill_color": "#87ceeb60",
"stroke_color": "#000000",
"stroke_width": 1,
"path": [
#for(coord in polygon):
#if(index!=0):,#endif[#index(coord, 0), #index(coord, 1)]
#endfor
]
}
]
}
50 changes: 50 additions & 0 deletions configs/z_maptiles/Flo-Templates/pokemon.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
{
"style": "klokantech-basic",
"latitude": #(lat),
"longitude": #(lon),
"zoom": 15,
"width": 500,
"height": 275,
"scale": 1,
"markers": [
#if(stops != nil):
#for(ps in stops):
{
"url": "#index(ps,2)",
"latitude": #index(ps,0),
"longitude": #index(ps,1),
"width": 18,
"height": 18,
"y_offset": -7
},
#endfor
#endif
#if(gyms != nil):
#for(pg in gyms):
{
"url": "#index(pg, 2)",
"latitude": #index(pg, 0),
"longitude": #index(pg, 1),
"height": 20,
"width": 20,
"y_offset": -8
},
{
"url": "#index(pg, 3)",
"latitude": #index(pg, 0),
"longitude": #index(pg, 1),
"height": 20,
"width": 20,
"y_offset": -24
},
#endfor
#endif
{
"url": "#(url)",
"latitude": #(lat),
"longitude": #(lon),
"width": 45,
"height": 45
}
]
}
58 changes: 58 additions & 0 deletions configs/z_maptiles/Flo-Templates/quests.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,58 @@
{
"style": "klokantech-basic",
"latitude": #(lat),
"longitude": #(lon),
"zoom": 15,
"width": 400,
"height": 220,
"scale": 2,
"markers": [
#if(stops != nil):
#for(ps in stops):
{
"url": "#index(ps,2)",
"latitude": #index(ps,0),
"longitude": #index(ps,1),
"width": 18,
"height": 18,
"y_offset": -7
},
#endfor
#endif
#if(gyms != nil):
#for(pg in gyms):
{
"url": "#index(pg, 2)",
"latitude": #index(pg, 0),
"longitude": #index(pg, 1),
"height": 20,
"width": 20,
"y_offset": -8
},
{
"url": "#index(pg, 3)",
"latitude": #index(pg, 0),
"longitude": #index(pg, 1),
"height": 18,
"width": 18,
"y_offset": -24
},
#endfor
#endif
{
"url": "#(url)",
"latitude": #(lat),
"longitude": #(lon),
"width": 50,
"height": 50
},
{
"url": "#(url2)",
"latitude": #(lat),
"longitude": #(lon),
"width": 40,
"height": 40,
"y_offset": -40
}
]
}
58 changes: 58 additions & 0 deletions configs/z_maptiles/Flo-Templates/raids.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,58 @@
{
"style": "klokantech-basic",
"latitude": #(lat),
"longitude": #(lon),
"zoom": 15,
"width": 500,
"height": 275,
"scale": 1,
"markers": [
#if(stops != nil):
#for(ps in stops):
{
"url": "#index(ps,2)",
"latitude": #index(ps,0),
"longitude": #index(ps,1),
"width": 18,
"height": 18,
"y_offset": -7
},
#endfor
#endif
#if(gyms != nil):
#for(pg in gyms):
{
"url": "#index(pg, 2)",
"latitude": #index(pg, 0),
"longitude": #index(pg, 1),
"height": 20,
"width": 20,
"y_offset": -8
},
{
"url": "#index(pg, 3)",
"latitude": #index(pg, 0),
"longitude": #index(pg, 1),
"height": 20,
"width": 20,
"y_offset": -24
},
#endfor
#endif
{
"url": "#(url)",
"latitude": #(lat),
"longitude": #(lon),
"width": 50,
"height": 50
},
{
"url": "#(url2)",
"latitude": #(lat),
"longitude": #(lon),
"width": 55,
"height": 55,
"y_offset": -40
}
]
}

0 comments on commit 7741115

Please sign in to comment.