PHP code example of 760524mkfa00 / laravelgooglemaps

1. Go to this page and download the library: Download 760524mkfa00/laravelgooglemaps library. Choose the download type require.

2. Extract the ZIP file and open the index.php.

3. Add this code to the index.php.
    
        
<?php
require_once('vendor/autoload.php');

/* Start to develop here. Best regards https://php-download.com/ */

    

760524mkfa00 / laravelgooglemaps example snippets


Editing Polygons:

Add the following css for deleting vertices on right click

.delete-menu {
    position: absolute;
    background: white;
    padding: 3px;
    color: #666;
    font-weight: bold;
    border: 1px solid #999;
    font-family: sans-serif;
    font-size: 12px;
    box-shadow: 1px 3px 3px rgba(0, 0, 0, 0.3);
    margin-top: -10px;
    margin-left: 10px;
    cursor: pointer;
}

.delete-menu:hover {
    background: #eee;
}
bash
composer config:publish 760524mkfa00/laravelgooglemaps
php artisan migrate