But it seems that the API functions are oversimplified, because I just can’t find the correponding method or examples. I am guessing that there must be more detailed instruction or exmaples, would you please give me any suggestion?
Any of your reply and advice are higly appreciated.
The OpenStreetMap API is a data-only API, not a web API. It is not meant for embedding on your webpages.
You should look at OpenLayers or CloudMade’s Web Maps Lite for what you want to do. Both of these can show OSM maps in a similar way to, say, Google Maps.
Damn! Gävle looks super now days, I like the river and park area.
As Richard says, Openstreetmap isn’t about making web mashup, but about creating maps of what is really there. Using the Datalayer, a custom Openstreetmap DB with the API you can bastardize OSM to do what you want but that’s too much coding for you… But an interesting concept…