OpenLayers JavaScript Mapping Library |
OpenLayers. Renderer.SVGInheritsSummary
setSize
Sets the size of the drawing surface. Parameters
getNodeType
Parameters
Returns{String} The corresponding node type for the specified geometry setStyle
Use to set all the style attributes to a SVG node. Takes care to adjust stroke width and point radius to be resolution-relative Parameters
drawPoint
This method is only called by the renderer itself. Parameters
drawCircle
This method is only called by the renderer itself. Parameters
drawLineString
This method is only called by the renderer itself. Parameters
drawPolygon
This method is only called by the renderer itself. Parameters
drawRectangle
This method is only called by the renderer itself. Parameters
drawCurve
This method is only called by the renderer itself. Parameters
drawSurface
This method is only called by the renderer itself. Parameters
|
destroy: function()
{Boolean} Whether or not the browser supports the SVG renderer
supported: function()
setExtent: function( extent )
Sets the size of the drawing surface.
setSize: function( size )
getNodeType: function( geometry )
Use to set all the style attributes to a SVG node.
setStyle: function( node, style, options )
createNode: function( type, id )
nodeTypeCompare: function( node, type )
{DOMElement} The specific render engine’s root element
createRenderRoot: function()
{DOMElement} The main root element to which we’ll add vectors
createRoot: function()
This method is only called by the renderer itself.
drawPoint: function( node, geometry )
This method is only called by the renderer itself.
drawCircle: function( node, geometry, radius )
This method is only called by the renderer itself.
drawLineString: function( node, geometry )
This method is only called by the renderer itself.
drawPolygon: function( node, geometry )
This method is only called by the renderer itself.
drawRectangle: function( node, geometry )
This method is only called by the renderer itself.
drawCurve: function( node, geometry )
This method is only called by the renderer itself.
drawSurface: function( node, geometry )
getShortString: function( point )