Fix cumulative error on drag
Update API to new style
Merge pull request #472 from camptocamp/fix-googleearth-cumulative-error

Fix googleearth cumulative error