Skip to content

Commit

Permalink
Merge pull request #27 from fknipp/zoom-with-defaultLng
Browse files Browse the repository at this point in the history
Fixing issue #26 zoom only set with autlocate: true
  • Loading branch information
mpowaga committed May 12, 2015
2 parents 45d6f1f + af449ea commit e127d2c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/client/autoform-map.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,7 @@ Template.afMap.rendered = ->
@data.map.setCenter location
else
@data.map.setCenter new google.maps.LatLng @data.options.defaultLat, @data.options.defaultLng
@data.map.setZoom @data.options.zoom

if @data.atts.searchBox
input = @find('.js-search')
Expand Down

0 comments on commit e127d2c

Please sign in to comment.