This class is to be used by Topo2Background only and should not be called directly.
#Internal methods
Sets up internal references when the class is created
Loads the layout definition from the json payload. Calls renderLayout when complete. Returns a promise for consistency with Topo2Map
Creates and adds the sprite definitions for the layout to the dom
Returns width of the configured sprite layout
Returns height of the configured sprite layout
Renders a specific sprite to the dom using the sprite definitions and the configurations (width, height, fill, stroke , etc).
Renders the SVG layout with the correct viewport dimentions specified in the configuration
For Debugging purposes renders a background grid to the DOM