map: add func: set start and end
Merge pull request #17 from sherlock99/master

pull newest map to sherlock99
Merge pull request #3 from sherlock99/sherlock99

Sherlock99