A strong earthquake off Panama's Pacific coast has shaken the central part of the country, but it has gone largely unnoticed in the capital.