-
Notifications
You must be signed in to change notification settings - Fork 47
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
AngularGM no longer works with Oct. 11, 2015 update to 3.22 release of Google Maps API #83
Comments
I see this issue too. |
I found the solution, the problem is with the object LatLng. With version 3.22 it was changed its structure and $scope.center = new google.maps.LatLng (lat, lng) is no longer executed. angular.module('simple-map', ['AngularGM']) $scope.updateCenter = function(lat, lng) { |
Great thanks @frankcrisa I will try to get a fix out this weekend. On Wed, Nov 4, 2015 at 5:15 AM, frankcrisa notifications@github.com wrote:
|
@frankcrisa works for me, thanks! |
I pushed a fix for this, which involved changing the contract of gm-center to deal in google.maps.LatLngLiteral objects instead of google.maps.LatLng objects. I'll go through the process of putting out a new version when I get another chance. |
As in title:
AngularGM directive no longer works with the 3.22 (exp) update as of Oct. 11, 2015. The AngularGM demo page is also currently broken: http://dylanfprice.github.io/angular-gm/1.0.2/examples/#!/map/
Unfortunately the release notes (https://developers.google.com/maps/documentation/javascript/releases#322) for exp are only current to Sept. 22, 2015 so I'm not sure what changed in this update.
The problem is at least with changing the value of center in the gm-center attribute, although it seems like the initial location specified in gm-map-options is also ignored.
The text was updated successfully, but these errors were encountered: