onComplete is not defined, calling it cause a js error
Merge pull request #633 from camptocamp/fix-GoogleEarthView-ol-addin

fix js error with GoogleEarthView openlayers.addin