Skip to content

Commit

Permalink
Final bump of Mapbox GL JS version.
Browse files Browse the repository at this point in the history
Note added about lack of future updates due to Mapbox's anti-FOSS stance.
  • Loading branch information
mpetroff committed Dec 8, 2020
1 parent b148fda commit 5613930
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 2 deletions.
4 changes: 2 additions & 2 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<meta charset="utf-8"/>
<title>Print Maps</title>
<meta name="viewport" content="initial-scale=1,maximum-scale=1,user-scalable=no"/>
<link rel="stylesheet" href="https://api.tiles.mapbox.com/mapbox-gl-js/v1.10.1/mapbox-gl.css"/>
<link rel="stylesheet" href="https://api.tiles.mapbox.com/mapbox-gl-js/v1.13.0/mapbox-gl.css"/>
<link rel="stylesheet" href="css/bootstrap.min.css"/>
<link rel="stylesheet" href="css/style.css"/>
</head>
Expand Down Expand Up @@ -192,7 +192,7 @@ <h4 class="modal-title">Print Maps Error</h4>

</div>

<script type="text/javascript" src="https://api.tiles.mapbox.com/mapbox-gl-js/v1.10.1/mapbox-gl.js"></script>
<script type="text/javascript" src="https://api.tiles.mapbox.com/mapbox-gl-js/v1.13.0/mapbox-gl.js"></script>
<script type="text/javascript" src="//cdn.jsdelivr.net/canvas-toblob/0.1/canvas-toBlob.min.js"></script>
<script type="text/javascript" src="//cdn.jsdelivr.net/npm/[email protected]/FileSaver.min.js"></script>
<script type="text/javascript" src="//cdn.jsdelivr.net/npm/[email protected]/dist/jspdf.min.js"></script>
Expand Down
7 changes: 7 additions & 0 deletions readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,13 @@ elements that print along with the map. Print Maps changes that by leveraging
[Mapbox GL JS](https://github.com/mapbox/mapbox-gl-js) to render print
resolution maps in the browser.

## Future updates

Due to Mapbox's new [anti-FOSS stance](https://github.com/mapbox/mapbox-gl-js/releases/tag/v2.0.0),
Mapbox GL JS will not be updated past v1.13. Please reach out to Mapbox to
express your displeasure with this stance. Maintenance on this repository will
continue as long as fixes can be made without updating Mapbox GL JS.

## Options

* Inches or millimeters
Expand Down

0 comments on commit 5613930

Please sign in to comment.