Closed karandatwani92 closed 1 year ago
GOOGLE_PLACES_KEY
Thus address_google & google_map field & columns are missing
address_google
google_map
if (env('GOOGLE_PLACES_KEY')) { $fields[] = [ // Address_google 'name' => 'address_google', 'label' => 'Address_google '.backpack_pro_badge(), 'type' => 'address_google', 'fake' => true, 'store_as_json' => true, 'tab' => 'Time and space', ]; } if (env('GOOGLE_PLACES_KEY')) { $this->crud->addField([ // Address_google 'name' => 'address_google', 'label' => 'Address_google '.backpack_pro_badge(), 'type' => 'address_google', 'fake' => true, 'store_as_json' => true, 'tab' => 'Time and space', ]); $this->crud->addField([ 'name' => 'location', 'label' => 'Google_map '.backpack_pro_badge(), 'type' => 'google_map', 'fake' => true, 'tab' => 'Time and space', ]); }
Yup - that is intentional. We cannot let users use our API key, as it could cost us. And leaking the API key would open it up to abuse.
The demo doesn't have
GOOGLE_PLACES_KEY
.Thus
address_google
&google_map
field & columns are missing