public function render(MarkerShape $markerShape)
    {
        return sprintf(
            '%s = new google.maps.MarkerShape(%s);'.PHP_EOL,
            $markerShape->getJavascriptVariable(),
            json_encode(array('type' => $markerShape->getType(), 'coords' => $markerShape->getCoordinates()))
        );
    }