Commit f079ac6
committed
Use nodeResolve() in rollup to import node_modules by name
Refactor / remove global L.symbol use to use
imported symbol of same name from "leaflet" import.
Update module specifiers to include ".js" where it is a file
in this project for consistency.
Update package.json to use specific forks of
proj4leaflet (module version), leaflet-locatecontrol (module version)
Get import of proj4leaflet from specific branch of maps4html/proj4leaflet
fork, which may never get merged upstream, but keeps differences in a
git repo, at least, instead of in the build script.
Update some tests to import the leaflet module directly
Create window.L.GridLayer, .L.DomUtil so that protomaps-leaflet will work.
Add rollup alias plugin to allow rollup to resove import of 'leaflet' to
correct file (Leaflet lacks a "module" key as of 1.9.4). This
allows us to not have to modify what's in node_modules.
Get import of proj4 from the module code that ships with that project.
The maps4html/proj4leaflet fork works with proj4 code as shipped.
Update "module","main" keys with correct path
relative to dist/ subdirectory
Use npm-installed esm version of leaflet-locatecontrol1 parent 56a8791 commit f079ac6
File tree
61 files changed
+1453
-1517
lines changed- src
- mapml
- control
- elementSupport
- extents
- inputs
- layers
- features
- handlers
- layers
- utils
- proj4leaflet
- proj4
- test
- e2e
- core
- elements
- layer-
- map-feature
- map-layer
- map-link
- layers
- mapml-viewer
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
61 files changed
+1453
-1517
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | | - | |
3 | | - | |
4 | | - | |
5 | | - | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
6 | 7 | | |
7 | 8 | | |
8 | 9 | | |
| |||
50 | 51 | | |
51 | 52 | | |
52 | 53 | | |
53 | | - | |
54 | | - | |
55 | | - | |
56 | | - | |
57 | | - | |
58 | | - | |
59 | | - | |
60 | | - | |
61 | | - | |
62 | | - | |
63 | | - | |
64 | | - | |
65 | | - | |
66 | | - | |
67 | | - | |
68 | | - | |
69 | | - | |
70 | | - | |
71 | | - | |
72 | | - | |
73 | | - | |
74 | | - | |
75 | | - | |
76 | | - | |
77 | 54 | | |
78 | 55 | | |
79 | 56 | | |
| |||
87 | 64 | | |
88 | 65 | | |
89 | 66 | | |
90 | | - | |
91 | | - | |
92 | | - | |
93 | | - | |
94 | | - | |
95 | | - | |
96 | | - | |
97 | | - | |
98 | 67 | | |
99 | 68 | | |
100 | 69 | | |
101 | 70 | | |
102 | 71 | | |
103 | | - | |
104 | | - | |
105 | | - | |
106 | | - | |
107 | | - | |
108 | | - | |
109 | | - | |
110 | | - | |
111 | | - | |
| 72 | + | |
112 | 73 | | |
113 | 74 | | |
114 | 75 | | |
| |||
173 | 134 | | |
174 | 135 | | |
175 | 136 | | |
176 | | - | |
| 137 | + | |
177 | 138 | | |
178 | 139 | | |
179 | 140 | | |
| |||
192 | 153 | | |
193 | 154 | | |
194 | 155 | | |
195 | | - | |
196 | | - | |
197 | | - | |
198 | | - | |
199 | | - | |
200 | | - | |
201 | | - | |
202 | | - | |
203 | | - | |
204 | | - | |
205 | | - | |
| 156 | + | |
| 157 | + | |
| 158 | + | |
| 159 | + | |
| 160 | + | |
| 161 | + | |
| 162 | + | |
| 163 | + | |
| 164 | + | |
| 165 | + | |
| 166 | + | |
| 167 | + | |
| 168 | + | |
| 169 | + | |
| 170 | + | |
| 171 | + | |
| 172 | + | |
| 173 | + | |
| 174 | + | |
| 175 | + | |
| 176 | + | |
| 177 | + | |
206 | 178 | | |
207 | 179 | | |
208 | 180 | | |
| |||
0 commit comments