E-Malte
(Malte)
4
Probably OpenLayers can help here:
As far as I know a Vector Layer in OpenLayers is embedded SVG as well. It can get its data directly from osm-files, geojson, and a couple of other formats and has options for styling, mouse events and so on.
EDIT: Look at this example: http://openlayers.org/dev/examples/osm-layer.html
it retrieves its data from a (in this case cached) osm-file, and on click it also displays the tags of the element. As the tags are saved in variables it shouldn’t be any problem to fill text-input-fields with it.
Malte