#dash in map url

1 messages · Page 1 of 1 (latest)

pure harness
#

Has anyone else run into this in the Dashboard --> Map ?

Url path needs to contain a hyphen (-). Got {'show_in_sidebar': True, 'icon': 'mdi:map', 'title': '6005 North', 'require_admin': False, 'mode': 'storage', 'url_path': 'http://192.168.210.226:8000/maps/get_map/39'}

I am using a FastAPI to a custom server application for the map image.

Installation method Home Assistant OS
Core 2025.10.0
Supervisor 2025.09.3
Operating System 16.2
Frontend 20251001.0

Also, any thoughts about including a scale for the map e.g.
curl -X 'GET'
'http://192.168.210.226:8000/maps/get_map_bounds_3d/39'
-H 'accept: application/json'

{
"map_id": 39,
"map_name": "6005 Campus",
"bounds_3d": {
"min_x": 0,
"min_y": 0,
"min_z": 0,
"max_x": 254,
"max_y": 304,
"max_z": 36
},
"origin": {
"lat_origin": 31.523887634277344,
"lon_origin": 113.94305419921875
},
"format": "PNG"
}

mortal oar
#

That's not the right use of the URL field.