File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -19,8 +19,8 @@ First, [create a Mapbox account](https://account.mapbox.com/auth/signup/) to get
1919Download [ mapkick.js] ( https://unpkg.com/mapkick ) and add in the ` <head> ` of your HTML file:
2020
2121``` html
22- <link href =" https://api.mapbox.com/mapbox-gl-js/v2.12 .0/mapbox-gl.css" rel =" stylesheet" />
23- <script src =" https://api.mapbox.com/mapbox-gl-js/v2.12 .0/mapbox-gl.js" ></script >
22+ <link href =" https://api.mapbox.com/mapbox-gl-js/v3.15 .0/mapbox-gl.css" rel =" stylesheet" />
23+ <script src =" https://api.mapbox.com/mapbox-gl-js/v3.15 .0/mapbox-gl.js" ></script >
2424<script src =" mapkick.js" ></script >
2525<script >
2626 mapboxgl .accessToken = " YOUR-TOKEN"
@@ -32,8 +32,8 @@ Download [mapkick.js](https://unpkg.com/mapkick) and add in the `<head>` of your
3232Download [ mapkick.js] ( https://unpkg.com/mapkick ) and add in the ` <head> ` of your HTML file:
3333
3434``` html
35- <link href =" https://unpkg.com/maplibre-gl@2.4.0 /dist/maplibre-gl.css" rel =" stylesheet" />
36- <script src =" https://unpkg.com/maplibre-gl@2.4.0 /dist/maplibre-gl.js" ></script >
35+ <link href =" https://unpkg.com/maplibre-gl@5.7.1 /dist/maplibre-gl.css" rel =" stylesheet" />
36+ <script src =" https://unpkg.com/maplibre-gl@5.7.1 /dist/maplibre-gl.js" ></script >
3737<script src =" mapkick.js" ></script >
3838<script >
3939 Mapkick .options = {style: " https://demotiles.maplibre.org/style.json" }
Original file line number Diff line number Diff line change 66
77 < script src ="../dist/mapkick.min.js "> </ script >
88
9- < link href ="https://api.mapbox.com/mapbox-gl-js/v2.12 .0/mapbox-gl.css " rel ="stylesheet " />
10- < script src ="https://api.mapbox.com/mapbox-gl-js/v2.12 .0/mapbox-gl.js "> </ script >
9+ < link href ="https://api.mapbox.com/mapbox-gl-js/v3.15 .0/mapbox-gl.css " rel ="stylesheet " />
10+ < script src ="https://api.mapbox.com/mapbox-gl-js/v3.15 .0/mapbox-gl.js "> </ script >
1111 < script src ="access-token.js "> </ script >
1212
1313 <!--
1717 -->
1818
1919 <!--
20- <link href="https://unpkg.com/maplibre-gl@2.4.0 /dist/maplibre-gl.css" rel="stylesheet" />
21- <script src="https://unpkg.com/maplibre-gl@2.4.0 /dist/maplibre-gl.js"></script>
20+ <link href="https://unpkg.com/maplibre-gl@5.7.1 /dist/maplibre-gl.css" rel="stylesheet" />
21+ <script src="https://unpkg.com/maplibre-gl@5.7.1 /dist/maplibre-gl.js"></script>
2222 <script>
2323 Mapkick.options = {style: "https://demotiles.maplibre.org/style.json"}
2424 </script>
You can’t perform that action at this time.
0 commit comments