- Legend to Symbols

-
Class nokia.maps.gfx.SvgPainter
Class Summary
The SVG painter renders a nokia.maps.gfx.IDL into a DOM node with
an SVG tag. This painter works with all browsers that support
SVG.
Extends
nokia.maps.gfx.Painter.
new nokia.maps.gfx.SvgPainter
()
Method Summary
abstract
createElement
(idl, [doc, [opacity]])
: Node
This method renders the supplied IDL object and returns a DOM node that can be added to the supplied document.
createMarkup
(idl)
: String
This method creates an SVG mark-up string from the received instance of
nokia.maps.gfx.IDL.
abstract
setOpacity
(element, opacity)
This method changes the global opacity of an element returned by the method
createElement().
abstract
updateElement
(idl, node, [opacity])
This method updates a DOM node that was previously returned by the method
createElement() to the caller-supplied IDL object.
Direct Inheritance
Method Detail
createMarkup
(idl)
: String
This method creates an SVG mark-up string from the received instance of
nokia.maps.gfx.IDL.
Parameters:
| {nokia.maps.gfx.IDL} | idl | An image description language object that is to be converted into a mark-up string. |
Returns:
| {String} | The SVG mark-up string |