Map pinning works.
Merge pull request #169 from shukbot/fixMapPinning

Map pinning works.