popup getLatLng method added to the reference