Fix bug with pointToLayer
Merge branch 'hotfix/0.3.1' into develop