private function doCircleEncode($type, CircleMarker $circle, Encoder $builder)
    {
        return sprintf(
            '%s = L.%s(%s);',
            $builder->encodeReference($circle),
            $type,
            $builder->encodeArguments(array($circle->getLatLng(), $circle, $circle->getOptions()))
        );
    }