fix(center): solved a bug with the autoDiscover property.

As reported by @avances123 here:
https://github.com/tombatossals/angular-leaflet-directive/issues/324