How to create a small map?

I want to create a small map that has the function of radar.

But i don’t know how to make it.

Who can told me what should i do it, or what should i refer in the API?

Thanks a lot.

Here’s the answer. It’s one of the most discussed topics.