CloudMade/Leaflet — Issue #437: Open Popup with latlng
Author: dacami
Created: 2012-01-15 12:49:00+00:00
State: open

Hey!
I want to open a Popup on the Map from outside with the lat/lng coordinates.

I have a function "zoomto":

$('.zoomto').click(function(){

/*I get the lat/lon from a list of the Circle Markers from beside the map */

var lat = $(this).val().split(',')[0];
var lon = $(this).val().split(',')[1];

var latlng = new L.LatLng(lat, lon);
map.panTo(latlng);
map.setZoom(15);
/* At this point I would like to open the Popup of the Circle Marker with the same latlng */
});

Hope that anybody could help me.
Thanking you in anticipation!