using view instead of layout id for GeoObject

Developers can now use view instead of layout id. Using this approach,
developers can now set the View's attributes and display as GeoObject.