8fbad8b7b1
Adding an interactive map with a geocoding search bar. We use leaflet with the openstreetmap.fr tiles. As for the geocoding part, we use komoot's photon API for the time being.
7 lines
151 B
Python
7 lines
151 B
Python
from flask import Flask, render_template
|
|
|
|
app = Flask(__name__)
|
|
|
|
@app.route("/", methods=['GET'])
|
|
def getMap():
|
|
return render_template("map.html")
|