GoogleMapsLogo
Google Maps' own logo, crediting places Okami shows without Google's map — the address suggestions under AddressField. Google's grey version for a plain light background, from its attribution assets, unchanged.
The logo
import { GoogleMapsLogo } from "@/components/shared/google-maps-logo";
<GoogleMapsLogo />Crediting suggestions
PlacesCredit sets it at the foot of AddressField's suggestions, inside their popup, in the clear space Google asks for: 10px left, right and above, 5px below.
Pele Barber
import { PlacesCredit } from "@/components/shared/address-field";
<PlacesCredit />Guidelines
- Google's Places policies: places shown without its map are credited with this logo wherever it fits; the words “Google Maps” only where it can't.
- Never recoloured, reshaped or redrawn. Its grey is a theme token (--color-google-grey), as the G's four are.
- 16px tall (Google allows 16 to 19), its width by its own proportions; on Okami's plain light glass, so the version without an outline.
- Named “Google Maps” to a screen reader, in every language: its box carries
translate="no".
API
| Prop | Type | Default | Description |
|---|---|---|---|
| …props | SVGProps<SVGSVGElement> | — | An svg's props. 16px tall by default (h-4 w-auto); an image named Google Maps. |