jbdemonte / gmap3

jQuery plugin to create Google maps
http://gmap3.net
668 stars 198 forks source link

setCenter #87

Closed pawelbrachaczek closed 8 years ago

pawelbrachaczek commented 8 years ago

How I can center map after click on marker (lat, long of the marker)?

Ok, it's work:

$map.gmap3().get(0).setCenter(new google.maps.LatLng(val.latitude,val.longitude))