Google Map API does not work on Map element

Hi I tried to put up Map on my local site. Put API from Google inside general setting Upfront, save it. Drag the Map element to the page. And the element it self keep disappearing after saving it. Keep asking for the API from Google. Please help. Thanks