Check out example codes for "creating a google maps api". It will help you in understanding the concepts better.

Code Example 1

You also have to get a key
go to https://hospitable.live to see how it works
a[href^="http://maps.google.com/maps"]{display:none !important}
a[href^="https://maps.google.com/maps"]{display:none !important}

Learn ReactJs, React Native from akashmittal.com