OpenLayers.Renderer - OpenLayers

# OpenLayers. Renderer

This is the base class for all renderers.

This is based on a merger code written by Paul Spencer and Bertil Chapuis. It is largely composed of virtual functions that are to be implemented in technology-specific subclasses, but there is some generic code too.

The functions that are implemented here merely deal with the maintenance of the size and extent variables, as well as the cached ‘resolution’ value.

A note to the user that all subclasses should use getResolution() instead of directly accessing this.resolution in order to correctly use the cacheing system.

Summary

OpenLayers. Renderer | This is the base class for all renderers.
Constructor |
OpenLayers. Renderer |
Functions |
destroy |
supported | This should be overridden by specific subclasses

### Constructor

### OpenLayers. Renderer

#### Parameters

containerID | {String}
options | {Object} options for this renderer. See sublcasses for supported options.

### Functions

### destroy

> destroy: function()

### supported

> supported: function()

This should be overridden by specific subclasses

#### Returns

{Boolean} Whether or not the browser supports the renderer class

> destroy: function()

> supported: function()

This should be overridden by specific subclasses
Contains convenience functions for string manipulation.
Close