Update example.cpp to put polygon in feature layer.

Crashes when adding feature to feature layer, because layer's renderer is null