How do i get the google map extension for App inventor 2

There is no free Google Map extension in App Inventor.

You might want to try:

Free guide that does not rely on an extension: