dev-master
9999999-dev
MIT
The Requires
2.7.x-dev
2.7.9999999.9999999-dev
MIT
The Requires
Wallogit.com
2017 © Pedro Peláez
Manage places and show them on a map., (*1)
composer require typicms/places
'providers' => [
/*
* TypiCMS Modules Service Providers.
*/
TypiCMS\Modules\Places\Providers\ModuleServiceProvider::class,
];
php artisan vendor:publish --provider="TypiCMS\Modules\Places\Providers\ModuleServiceProvider"
php artisan migrate
Set a Google Maps API key in your .env file. See Google Maps Platform., (*2)
Install @googlemaps/markerclusterer and :, (*3)
bun add @googlemaps/markerclusterer --dev bun add @types/google.maps --dev
/resources/js/public.js:import initMap from './public/map'; window.initMap = initMap;
/resources/scss/public.scss file:@import 'public/map';
Run bun run dev to compile the assets., (*4)
Connect to the admin panel, add some places, create a page linked to the module Places and visit this page to see the places on a map., (*5)
This module is part of TypiCMS, a multilingual CMS based on the Laravel framework., (*6)
MIT
MIT