E-Malte
(Malte)
30
The viewBox-Attribute is an attribute which can be applied to the svg-root-Element.
It’s used like: “<svg … viewBox=‘ ’ >…” where those coordinates are handled the same like in the rectangle. This viewBox-rectangle is then zoomed into the drawing area (either set by height and width on the svg-root-Element or otherwise the whole “drawable” browser-window).
SVG-Spec to viewBox with some examples: http://www.w3.org/TR/SVG/coords.html#ViewBoxAttribute
If I understood UTM correctly, could be probably used as the SVG-Transformation only includes:
I guess if one recalculates the matrix after every translation (moving) an scaling (zooming) of the map, it should be possible to display them without replacing the original coordinates.
Set CSS-Style: “display: none” to a specific class or id?
This should be possible by some programming work, but it couldn’t send its result to the server, as it just replies all elements in a current bounding box.
OpenLayers is applicable to draw OSM-files onto its Vector layer. Probably one can use it to display and modify the OSM-Data.
This (quite old) exaple shows the basics of what I mean: http://openlayers.org/dev/examples/osm-layer.html
But it’s not fully working anymore, as the referenced tiles are not available anymore, and it uses API 0.5…
Malte