I'm trying to set use a link on the page to pan and zoom to a specific array of coordinates (where I have a marker already dropped, and gmap3 initialized). When I click the link, the Javascript fires (I get the alert), but nothing happens in my map. Please help. Here is my code:
$(".phila").click(function(){
alert("hello");
$("#map").gmap3({
action:'panTo',
args:[39.952335, -75.163789]
});
});
Edit: now I am getting an error in the console saying "Uncaught Error: panTo: latLng must be of type LatLng"