From 7caece7cf820a591073bcc071d47c325409067c9 Mon Sep 17 00:00:00 2001 From: Abdullah Ghanem <3bdullah.ghanem@gmail.com> Date: Wed, 13 Dec 2023 00:55:01 +0200 Subject: [PATCH] update readme --- README.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 2e26e23..fe06704 100644 --- a/README.md +++ b/README.md @@ -30,9 +30,9 @@ GMAPS_API_KEY=############################ Add the use declaration to your resource and use the fields: ```php -use Ghanem\GoogleMap\TRMap; +use Ghanem\GoogleMap\GHMap; -TRMap::make('Map'), // Google Map with address picker +GHMap::make('Map'), // Google Map with address picker ``` ![Image of character counter](docs/screenshot-fields.png) @@ -42,7 +42,7 @@ TRMap::make('Map'), // Google Map with address picker Add custom latitude, longitude and zoom values for starting point ```php -TRMap::make('Map') +GHMap::make('Map') ->latitude('latitude_field_name') ->longitude('longitude_field_name') ->zoom('zoom'), @@ -51,7 +51,7 @@ TRMap::make('Map') Hide latitude and longitude field ```php -TRMap::make('Map') +GHMap::make('Map') ->hideLatitude() ->hideLongitude(), ```