Skip to content
This repository was archived by the owner on Nov 30, 2018. It is now read-only.
This repository was archived by the owner on Nov 30, 2018. It is now read-only.

[master][develop] Refresh is expecting coordinates? {in-progress} #230

Closed
@jeppebemad

Description

@jeppebemad

First of all, thanks for the work on this module!

I'm trying to get my map to refresh, but I've found that the $watch function for refresh() is expecting coordinates. See below:

        scope.$watch("refresh()", function(newValue, oldValue) {
          var coords;
          if (newValue && !oldValue) {
            coords = new google.maps.LatLng(newValue.latitude, newValue.longitude);

Is this a bug or am I missing something? Cheers.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions