updated ShapefileSample for new BitmapRegistry mechanism.