added popup methods, fixed case of latLng parameter in MouseEvent