diff options
| author | Hsieh Chin Fan <pham@topo.tw> | 2024-10-17 10:27:25 +0800 |
|---|---|---|
| committer | Hsieh Chin Fan <pham@topo.tw> | 2024-10-17 10:27:25 +0800 |
| commit | e4f01ea8f7817fa738ea9012fa217a2b9eca88aa (patch) | |
| tree | c81aecb02707cf404fbf50f33e0ce9e08f6c35e9 /addon | |
| parent | 62b7af8ce0ccbad26cd00be24cc2cf1e817b8581 (diff) | |
feat: add other default renderers
Diffstat (limited to 'addon')
| -rw-r--r-- | addon/index.mjs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/addon/index.mjs b/addon/index.mjs index 7f33fc5..092adc4 100644 --- a/addon/index.mjs +++ b/addon/index.mjs | |||
| @@ -28,7 +28,7 @@ const simpleRender = window.mapclay.renderWith(config => ({ | |||
| 28 | XYZ: 'https://tile.openstreetmap.jp/styles/osm-bright/512/{z}/{x}/{y}.png', | 28 | XYZ: 'https://tile.openstreetmap.jp/styles/osm-bright/512/{z}/{x}/{y}.png', |
| 29 | ...config, | 29 | ...config, |
| 30 | aliases: { | 30 | aliases: { |
| 31 | use: { Leaflet }, | 31 | use: window.mapclay.renderers, |
| 32 | ...(config.aliases ?? {}), | 32 | ...(config.aliases ?? {}), |
| 33 | }, | 33 | }, |
| 34 | })) | 34 | })) |