Skip to content

Commit

Permalink
Fixing issue #26 zoom only set with autlocate: true
Browse files Browse the repository at this point in the history
  • Loading branch information
fknipp committed May 7, 2015
1 parent fbeb7e6 commit af449ea
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 af449ea

Please sign in to comment.