Skip to content

Commit bbb8b58

Browse files
committed
feat: add pan button and fix while-draw-cancel-persist issue
1 parent d7b1795 commit bbb8b58

File tree

3 files changed

+35
-11
lines changed

3 files changed

+35
-11
lines changed

ckanext/spatial/public/css/easy-button.css

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,4 +53,12 @@
5353
width: 30px;
5454
height: 30px;
5555
line-height: 30px;
56+
}
57+
58+
.zoom-to-home-active .fa-home {
59+
font-size: 1rem;
60+
}
61+
62+
.pan-active .fa-hand {
63+
font-size: 1rem;
5664
}
Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
window.__named_places = {
2+
"Cities": "TX_Cities.json",
3+
"Counties": "TX_Counties.json",
24
"Flood Planning Regions": "Flood_Planning_Regions.json",
3-
"Major River Basins": "Major_River_Basins.json",
4-
"River Authorities": "River_Authorities.json",
55
"Groundwater Conservation Districts": "GW_Conservation_Districts.json",
6-
"Minor Aquifers": "Minor_Aquifers.json",
7-
"Cities": "TX_Cities.json",
8-
"Water Planning Regions": "Water_Planning_Regions.json",
96
"Major Aquifers": "Major_Aquifers.json",
7+
"Major River Basins": "Major_River_Basins.json",
8+
"Minor Aquifers": "Minor_Aquifers.json",
109
"Public Water Systems": "Public_Water_Systems.json",
11-
"Counties": "TX_Counties.json",
12-
"Statewide": "Statewide.json"
10+
"River Authorities": "River_Authorities.json",
11+
"Statewide": "Statewide.json",
12+
"Water Planning Regions": "Water_Planning_Regions.json"
1313
};

ckanext/spatial/public/js/spatial_query.js

Lines changed: 20 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)