logo

GoogleMap

Used to display a embeded GoogleMap iframe.

Props:

addressUrl

Description: Path containing Google Map URL. Type: String. Required.

size

Description: Image size. Type: "small" | "medium" | "large". Default: "medium".

Important:

You must to use addressUrl prop in the format: https://maps.google.com/maps?q=your_address_comes_here&output=embed. You can use https://google-map-generator.com/ to help you to generate the addressUrl in the correct format, otherwise your map will break.
Code <GoogleMap addressUrl='https://maps.google.com/maps?q=2880%20Broadway, %20New%20York&t=&z=13&ie=UTF8&iwloc=&output=embed' />

PabloSilvaDev - © Copyright 2022