sgruhier/typeahead-addresspicker

map.center and zoom not work

Closed this issue · 1 comments

kamov commented

Hi, the set of lat and lng not work, I mean that is always centered the center of map, and also zoom not work, this is my option:

    var addressPicker = new AddressPicker({
        map: {
            id: '#map',
            center: new google.maps.LatLng(46, 8)  // This not work
        },
        marker: {
            draggable: true,
            visible: true
        },
        zoomForLocation: 8, // not work
        reverseGeocoding: true
    });
kamov commented

fixed