widget/OL.php
protected function generateExpression()
	{
		if (isset($this->properties))
			$properties = Json::encode($this->properties);
		else
			$properties = '';
		return "new ol.$this->class($properties)";
	}
protected function generateExpression()
	{
		if (isset($this->properties))
			$properties = Json::encode($this->properties);
		else
			$properties = '';
		return "new ol.$this->class($properties)";
	}
Generates the JavaScript expression that correspond with this object's $class and $properties.
@return string