from taipy.gui import Gui
from taipy.designer import Page

line = {
    "type": "FeatureCollection",
    "features": [
        {
            "type": "Feature",
            "geometry": {
                "type": "LineString",
                "coordinates": [[2.295, 48.8738], [2.321125, 48.865487]],
            },
            "properties": {"style": {"color": "#FF0000", "weight": 4, "opacity": 1}},
        }
    ],
    "properties": {
        "description": '<span style="color: #FF0000">Champs-\u00c3\u2030lys\u00c3\u00a9es</span>'
    },
}


page = Page("osm_geojson_line.xprjson")
Gui(page).run(design=True)
