Skip to content

Commit

Permalink
ESM; updated deps
Browse files Browse the repository at this point in the history
  • Loading branch information
zdila committed Dec 30, 2024
1 parent c47746a commit 93382ae
Show file tree
Hide file tree
Showing 57 changed files with 1,369 additions and 11,814 deletions.
2 changes: 0 additions & 2 deletions .npmrc

This file was deleted.

1 change: 0 additions & 1 deletion freemap-mapserver.d.ts

This file was deleted.

6 changes: 3 additions & 3 deletions index.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { startMapserver } from "freemap-mapserver";
import { mapnikConfig, generateFreemapStyle } from "./style";
import { initIcons } from "./style/routes";
import { legend } from "./legend";
import { mapnikConfig, generateFreemapStyle } from "./style/index.js";
import { initIcons } from "./style/routes.js";
import { legend } from "./legend.js";

initIcons().then(() => {
startMapserver(mapnikConfig, generateFreemapStyle, legend);
Expand Down
1 change: 0 additions & 1 deletion legend.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1460,7 +1460,6 @@ export const legend = {
],
};

module.exports = { legend };
// .layer('placenames', { type: 'csv', inline: `
// id|name|type|wkt
// 1|Test 123|town|Point(21.219835 48.655111)
Expand Down
Loading

0 comments on commit 93382ae

Please sign in to comment.