From 8518fb830217e216b36222e46a267a12d0da5ac8 Mon Sep 17 00:00:00 2001 From: Nafies Luthfi Date: Fri, 21 Dec 2018 07:07:27 +0800 Subject: [PATCH] Update config file section in README.md --- README.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index e60c89b..252ed91 100644 --- a/README.md +++ b/README.md @@ -38,7 +38,7 @@ $ php artisan tinker ### Leaflet config -We have a `config/leaflet.php` file in this project. Set our zoom_level, and map center default coordinate here. +We have a `config/leaflet.php` file in this project. Set default **zoom level** and **map center** coordinate here (or in `.env` file). ```php 13, 'detail_zoom_level' => 16, - 'map_center_latitude' => '-3.313695', - 'map_center_longitude' => '114.590148', + 'map_center_latitude' => env('MAP_CENTER_LATITUDE', '-3.313695'), + 'map_center_longitude' => env('MAP_CENTER_LONGITUDE', '114.590148'), ]; ``` -> Please not that this is not an official or required config file from Leaflet JS, it is just a custom config for this project. +> Please note that this is not an official or required config file from Leaflet JS, it is just a custom config for this project. ## Testing