Upgrade to Laravel 9
This commit is contained in:
@@ -1,7 +1,7 @@
|
|||||||
# Maps for your Laravel application
|
# Maps for your Laravel application
|
||||||
|
|
||||||
[](https://gitlab.com/gonoware/laravel-maps)
|
[](https://gitlab.com/gonoware/laravel-maps)
|
||||||
[]()
|
[]()
|
||||||
[](https://packagist.org/packages/gonoware/laravel-maps)
|
[](https://packagist.org/packages/gonoware/laravel-maps)
|
||||||
[](https://gitlab.styleci.io/repos/8146646)
|
[](https://gitlab.styleci.io/repos/8146646)
|
||||||
[](https://packagist.org/packages/gonoware/laravel-maps)
|
[](https://packagist.org/packages/gonoware/laravel-maps)
|
||||||
@@ -19,8 +19,6 @@ Supported map services:
|
|||||||
|
|
||||||
> Note: Yandex Maps API does not work in Chrome.
|
> Note: Yandex Maps API does not work in Chrome.
|
||||||
|
|
||||||
For Laravel 5.5 use version [1.0.3](https://gitlab.com/gonoware/laravel-maps/tree/v1.0.3)
|
|
||||||
|
|
||||||
## Features
|
## Features
|
||||||
| | Google Maps | OpenStreetMap | Bing Maps | MapQuest | Yandex Maps | MapKit |
|
| | Google Maps | OpenStreetMap | Bing Maps | MapQuest | Yandex Maps | MapKit |
|
||||||
|---|:---:|:---:|:---:|:---:|:---:|:---:|
|
|---|:---:|:---:|:---:|:---:|:---:|:---:|
|
||||||
@@ -37,8 +35,6 @@ This package can be installed through Composer.
|
|||||||
```bash
|
```bash
|
||||||
composer require gonoware/laravel-maps
|
composer require gonoware/laravel-maps
|
||||||
```
|
```
|
||||||
Laravel 5.5 uses Package Auto-Discovery, so doesn't require you to manually add
|
|
||||||
the ServiceProvider.
|
|
||||||
|
|
||||||
Publish the compiled assets to `public/vendor/maps` with one of these
|
Publish the compiled assets to `public/vendor/maps` with one of these
|
||||||
commands:
|
commands:
|
||||||
|
|||||||
@@ -35,12 +35,12 @@
|
|||||||
],
|
],
|
||||||
"type": "library",
|
"type": "library",
|
||||||
"require": {
|
"require": {
|
||||||
"php": "^7.2|^7.2.5",
|
"php": "^8.1",
|
||||||
"illuminate/support": "^6.0|^7.0"
|
"illuminate/support": "^9.0"
|
||||||
},
|
},
|
||||||
"require-dev": {
|
"require-dev": {
|
||||||
"mockery/mockery": "^1.0|^1.3.1",
|
"mockery/mockery": "^1.4.4",
|
||||||
"phpunit/phpunit": "^8.0|^8.5"
|
"phpunit/phpunit": "^9.5.10"
|
||||||
},
|
},
|
||||||
"autoload": {
|
"autoload": {
|
||||||
"psr-4": {
|
"psr-4": {
|
||||||
@@ -54,7 +54,7 @@
|
|||||||
},
|
},
|
||||||
"extra": {
|
"extra": {
|
||||||
"branch-alias": {
|
"branch-alias": {
|
||||||
"dev-master": "1.0.x-dev"
|
"dev-master": "2.0.x-dev"
|
||||||
},
|
},
|
||||||
"laravel": {
|
"laravel": {
|
||||||
"providers": [
|
"providers": [
|
||||||
|
|||||||
2311
composer.lock
generated
2311
composer.lock
generated
File diff suppressed because it is too large
Load Diff
14
package.json
14
package.json
@@ -2,15 +2,15 @@
|
|||||||
"private": true,
|
"private": true,
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"dev": "npm run development",
|
"dev": "npm run development",
|
||||||
"development": "cross-env NODE_ENV=development node_modules/webpack/bin/webpack.js --progress --hide-modules --config=node_modules/laravel-mix/setup/webpack.config.js",
|
"development": "mix",
|
||||||
"watch": "npm run development -- --watch",
|
"watch": "mix watch",
|
||||||
"watch-poll": "npm run watch -- --watch-poll",
|
"watch-poll": "mix watch -- --watch-options-poll=1000",
|
||||||
"prod": "rimraf public && yarn run production",
|
"hot": "mix watch --hot",
|
||||||
"production": "cross-env NODE_ENV=production node_modules/webpack/bin/webpack.js --no-progress --hide-modules --config=node_modules/laravel-mix/setup/webpack.config.js"
|
"prod": "npm run production",
|
||||||
|
"production": "mix --production"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"cross-env": "^6.0.3",
|
"laravel-mix": "^6.0.6",
|
||||||
"laravel-mix": "^5.0.1",
|
|
||||||
"leaflet-bing-layer": "^3.3.1",
|
"leaflet-bing-layer": "^3.3.1",
|
||||||
"resolve-url-loader": "^3.1.0",
|
"resolve-url-loader": "^3.1.0",
|
||||||
"sass": "^1.24.2",
|
"sass": "^1.24.2",
|
||||||
|
|||||||
2
public/css/index.css
vendored
2
public/css/index.css
vendored
@@ -1 +1 @@
|
|||||||
.gnw-map-service{position:relative;height:400px}.gnw-map-service__google{background:#e5e3df}.gnw-map-service__bing,.gnw-map-service__mapquest,.gnw-map-service__osm{background:#ddd}.gnw-map-service__yandex{background:#f3f1ed}.gnw-map-service__mapkit{background:#f8f4ec}.gnw-map{height:inherit}.gnw-map .mk-map-view>.syrup-canvas{margin-left:-50%}
|
.gnw-map-service{height:400px;position:relative}.gnw-map-service__google{background:#e5e3df}.gnw-map-service__bing,.gnw-map-service__mapquest,.gnw-map-service__osm{background:#ddd}.gnw-map-service__yandex{background:#f3f1ed}.gnw-map-service__mapkit{background:#f8f4ec}.gnw-map{height:inherit}.gnw-map .mk-map-view>.syrup-canvas{margin-left:-50%}
|
||||||
|
|||||||
4
public/js/index.js
vendored
4
public/js/index.js
vendored
File diff suppressed because one or more lines are too long
4
public/js/index.js.LICENSE.txt
Normal file
4
public/js/index.js.LICENSE.txt
Normal file
@@ -0,0 +1,4 @@
|
|||||||
|
/* @preserve
|
||||||
|
* Leaflet 1.9.2, a JS library for interactive maps. https://leafletjs.com
|
||||||
|
* (c) 2010-2022 Vladimir Agafonkin, (c) 2010-2011 CloudMade
|
||||||
|
*/
|
||||||
@@ -1,4 +1,4 @@
|
|||||||
{
|
{
|
||||||
"/js/index.js": "/js/index.js?id=1e6f34e45ce1f8e9666f",
|
"/js/index.js": "/js/index.js?id=6508504506f20e7f033c7de36683001a",
|
||||||
"/css/index.css": "/css/index.css?id=81569dd7736e102f4342"
|
"/css/index.css": "/css/index.css?id=56062e68c820fdf21c3c4ec98fbe553b"
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user