Do not wrap dateline if projection.isGlobal() is false
Merge pull request #305 from bbinet/check-isglobal

Do not wrap dateline if projection.isGlobal() is false