I have embeded the OSM in an demo webpage http://www.hig.se/~xioliu/openstreetmap.html. Now I want to do some customization.
- If I want to get the current map bound MinX, MinY, MaxX, MaxY, which OSM API can do it?
- If I want to add a text or a point symbol, or a line symbol to current map, how can I do it?
- If I want to add rewrite the right-click event on the current map, rather than the IE right-click menu, what can I do?
I have looked through the OSM API,
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.