OpenLayers.Renderer.VML

Render vector features in browsers with VML capability.  Construct a new VML renderer with the OpenLayers.Renderer.VML constructor.

Note that for all calculations in this class, we use toFixed() to round a float value to an integer.  This is done because it seems that VML doesn’t support float values.

Inherits from

Summary
OpenLayers.Renderer.VMLRender vector features in browsers with VML capability.
Constructor
OpenLayers.Renderer.VMLCreate a new VML renderer.
Functions
destroyDeconstruct the renderer.
supportedDetermine whether a browser supports this renderer.
Constants
OpenLayers.Renderer.VML.LABEL_SHIFT{Object}

Constructor

OpenLayers.Renderer.VML

Create a new VML renderer.

Parameters

containerID{String} The id for the element that contains the renderer

Functions

destroy

destroy: function()

Deconstruct the renderer.

supported

supported: function()

Determine whether a browser supports this renderer.

Returns

{Boolean} The browser supports the VML renderer

Constants

OpenLayers.Renderer.VML.LABEL_SHIFT

{Object}

destroy: function()
Deconstruct the renderer.
supported: function()
Determine whether a browser supports this renderer.
Create a new VML renderer.
This is another virtual class in that it should never be instantiated by itself as a Renderer.
Close