Skip to content

Commit e1a1cf7

Browse files
committed
1.9.0
1 parent b7df2c4 commit e1a1cf7

5 files changed

Lines changed: 836 additions & 1064 deletions

File tree

‎CHANGELOG.md‎

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,19 @@
11
# Leaflet.SyncView
22

3-
## 1.2.0 - TBC
3+
## 1.10.0 - TBC
44

5-
### Minor Changes
5+
## 1.9.0 - 2024-07-23
66

7-
- Replace jshint with eslint
7+
- Support [Leaflet](https://github.com/Leaflet/Leaflet) 1.9.4+
8+
- Support [jQuery](https://github.com/jquery/jquery) 3.7.1+
9+
- Add `npm run http-server` for simple debug with <http://localhost:8080/>
10+
- Replace jshint with eslint
811

912
## 1.1.0 - 2021-12-22
1013

11-
### Minor Changes
12-
13-
- Rename factory function in camelCase as `L.control.syncView`
14+
- Rename factory function in camelCase as `L.control.syncView`
1415

1516
## 1.0.0 - 2021-12-16
1617

17-
- Initial release for Leaflet 1.7.1
18-
- Design for [Drupal Leaflet Module](https://www.drupal.org/project/leaflet) integration
18+
- Initial release for Leaflet 1.7.1
19+
- Design for [Drupal Leaflet Module](https://www.drupal.org/project/leaflet) integration

‎README.md‎

Lines changed: 15 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -11,12 +11,12 @@ Design for [Drupal Leaflet Module](https://www.drupal.org/project/leaflet) integ
1111

1212
## Requirement
1313

14-
- [Leaflet](https://github.com/Leaflet/Leaflet) 1.7.1+
15-
- [jQuery](https://github.com/jquery/jquery) 3.6.0+
14+
- [Leaflet](https://github.com/Leaflet/Leaflet) 1.9.4+
15+
- [jQuery](https://github.com/jquery/jquery) 3.7.1+
1616

1717
## Demo
1818

19-
- <https://drustack.github.io/Leaflet.SyncView/>
19+
- <https://drustack.github.io/Leaflet.SyncView/>
2020

2121
## Usage
2222

@@ -27,9 +27,9 @@ This Leaflet control don't provide any visual element, but using jQuery for bidi
2727
<input type="text" class="longitude">
2828
<input type="text" class="zoom">
2929
</form>
30-
30+
3131
<div id="map"></div>
32-
32+
3333
<script>
3434
var map = L.map("map").setView([51.505, -0.09], 13);
3535
@@ -68,14 +68,18 @@ Or simply build everything once together:
6868

6969
npm run build
7070

71+
Start the simple static HTTP server with <http://localhost:8080/> for testing:
72+
73+
npm run http-server
74+
7175
## License
7276

73-
- Code released under [Apache License 2.0](LICENSE)
74-
- Docs released under [CC BY 4.0](http://creativecommons.org/licenses/by/4.0/)
75-
- SVG released under [CC BY 4.0](https://fontawesome.com/license/free)
77+
- Code released under [Apache License 2.0](LICENSE)
78+
- Docs released under [CC BY 4.0](http://creativecommons.org/licenses/by/4.0/)
79+
- SVG released under [CC BY 4.0](https://fontawesome.com/license/free)
7680

7781
## Author Information
7882

79-
- Wong Hoi Sing Edison
80-
- <https://twitter.com/hswong3i>
81-
- <https://github.com/hswong3i>
83+
- Wong Hoi Sing Edison
84+
- <https://twitter.com/hswong3i>
85+
- <https://github.com/hswong3i>

‎index.html‎

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,8 @@
2323
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no">
2424
<link rel="icon" href="dist/sync-solid.svg" sizes="any" type="image/svg+xml">
2525
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/github-fork-ribbon-css@0.2.3/gh-fork-ribbon.css">
26-
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap@5.1.3/dist/css/bootstrap.min.css">
27-
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/leaflet@1.7.1/dist/leaflet.css">
26+
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.3/dist/css/bootstrap.min.css">
27+
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/leaflet@1.9.4/dist/leaflet.css">
2828
<link rel="stylesheet" href="./dist/L.Control.SyncView.min.css">
2929
<style>
3030
#map {
@@ -62,9 +62,9 @@ <h1>Leaflet.SyncView</h1>
6262
</div>
6363
</div>
6464
</div>
65-
<script src="https://cdn.jsdelivr.net/npm/jquery@3.6.0/dist/jquery.min.js"></script>
66-
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.1.3/dist/js/bootstrap.bundle.min.js"></script>
67-
<script src="https://cdn.jsdelivr.net/npm/leaflet@1.7.1/dist/leaflet.js"></script>
65+
<script src="https://cdn.jsdelivr.net/npm/jquery@3.7.1/dist/jquery.min.js"></script>
66+
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.3/dist/js/bootstrap.bundle.min.js"></script>
67+
<script src="https://cdn.jsdelivr.net/npm/leaflet@1.9.4/dist/leaflet.js"></script>
6868
<script src="./dist/L.Control.SyncView.min.js"></script>
6969
<script>
7070
var map = L.map("map").setView([51.505, -0.09], 13);

0 commit comments

Comments
 (0)