Skip to content

Illegal invocation $apply when using watchPosition #21

@BerendWeij

Description

@BerendWeij

I am using the google maps example. Angular 1.4.3 gives me several 'illegal invocation' errors.

TypeError: Illegal invocation
at equals (angular.js:1039)
at equals (angular.js:1039)
at Scope.parent.$get.Scope.$digest (angular.js:15677)
at Scope.parent.$get.Scope.$apply (angular.js:15951)
at retVal.watchPosition.options.watchId.$window.navigator.geolocation.watchPosition.$rootScope.$apply.retVal.position.error (ngGeolocation.js:43)

Do you know how to solve this?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions