The data would need to be formatted with OpenLayers.Format.KML, which gives an array of OpenLayers.Feature.Vector. This is a sort of map type we currently don't support, though. It also has the disadvantage of having to load all data at once, instead of just the area one is looking at. Making those vectors tileable would be quite an effort though, as OpenLayers 2 doesn't seem to support this out of the box. This shouldn't be an issue for Luxembourg, but might become a problem for bigger countries or when more data needs to be loaded.
There's a KML feed of road works on the motorways of Luxembourg available at https://www.cita.lu/kml/chantiers_actuel.kml
The data would need to be formatted with
OpenLayers.Format.KML
, which gives an array ofOpenLayers.Feature.Vector
. This is a sort of map type we currently don't support, though. It also has the disadvantage of having to load all data at once, instead of just the area one is looking at. Making those vectors tileable would be quite an effort though, as OpenLayers 2 doesn't seem to support this out of the box. This shouldn't be an issue for Luxembourg, but might become a problem for bigger countries or when more data needs to be loaded.