######################################################################
## Class "Painter"
######################################################################
VisnabPainter.gen <- setRefClass("VisnabPainter",
fields = list(zoomLevel = "numeric"))
## accesors
## addLayer
## Should have the ability to
## 1. Transform automatically when the layer is added(limits)
## compute limits itself, then compare limits to it's parent,
## basically most time, it's object's rootLayer.
## So the assumption here is that:
## 1) we transform them on the same scale
## 2)
## 2. How to add events?
## assume it has extra column to store the color
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.