Skip to content

Commit

Permalink
fix(examples): update dependencies and directories
Browse files Browse the repository at this point in the history
  • Loading branch information
curtisy1 committed May 31, 2023
1 parent d6df165 commit db13181
Show file tree
Hide file tree
Showing 4 changed files with 1,227 additions and 663 deletions.
6 changes: 3 additions & 3 deletions examples/unpkg/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,15 @@
<meta charset="utf-8" />
<title>Leaflet OSRM Example</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no" />
<link rel="stylesheet" href="https://unpkg.com/leaflet@1.7.1/dist/leaflet.css" />
<link rel="stylesheet" href="https://unpkg.com/leaflet@1.9.4/dist/leaflet.css" />
<link rel="stylesheet" href="https://unpkg.com/leaflet-control-geocoder/dist/Control.Geocoder.css" />
<link rel="stylesheet" href="../../dist/leaflet-routing-machine.css" />
<link rel="stylesheet" href="index.css" />
</head>
<body>
<div id="map" class="map"></div>
<script src="https://unpkg.com/leaflet@1.7.1/dist/leaflet.js"></script>
<script src="../../build/umd/index.js"></script>
<script src="https://unpkg.com/leaflet@1.9.4/dist/leaflet.js"></script>
<script src="../../dist/umd/index.js"></script>
<script src="https://unpkg.com/leaflet-control-geocoder/dist/Control.Geocoder.js"></script>
<script src="index.js"></script>
</body>
Expand Down
2 changes: 1 addition & 1 deletion examples/webpack/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import 'leaflet-control-geocoder';
import 'leaflet/../leaflet.css';
import 'leaflet-control-geocoder/dist/Control.Geocoder.css';

import { RoutingControl, ErrorControl } from '../../build/esm/index';
import { RoutingControl, ErrorControl } from '../../dist/esm/index';

import instructionStub from 'osrm-text-instructions';
const osrmTextInstructions = instructionStub('v5');
Expand Down
Loading

0 comments on commit db13181

Please sign in to comment.