Revert "Revert "use a map view instead of an image""

This reverts commit 9efd4733fb204bf186411018607f14b6bd11bafa.
Revert "Revert "update demo""

This reverts commit 540155e1116ec002ec5c69bec8a324c733f95c0d.
Revert "update demo"

This reverts commit 7a085c9b697db2c237493e48d6b9a518aa8bd6e2.
Adding support for a custom view