diff --git a/leaflet-providers.js b/leaflet-providers.js
index 0b9b38ef..ef2a4c5e 100644
--- a/leaflet-providers.js
+++ b/leaflet-providers.js
@@ -778,7 +778,69 @@
}
}
}
- }
+ },
+ OneMapSG: {
+ url: 'https://maps-{s}.onemap.sg/v3/Default/{z}/{x}/{y}.png',
+ options: {
+ minZoom: 11,
+ maxZoom: 18,
+ bounds: [[1.56073, 104.11475], [1.16, 103.502]],
+ attribution:
+ '
New OneMap | Map data © contributors, Singapore Land Authority'
+ },
+ variants: {
+ Default: {
+ url: 'https://maps-{s}.onemap.sg/v3/Default/{z}/{x}/{y}.png',
+ options: {
+ minZoom: 11,
+ maxZoom: 18,
+ bounds: [[1.56073, 104.11475], [1.16, 103.502]],
+ attribution:
+ '
New OneMap | Map data © contributors, Singapore Land Authority'
+ }
+ },
+ Night: {
+ url: 'https://maps-{s}.onemap.sg/v3/Night/{z}/{x}/{y}.png',
+ options: {
+ minZoom: 11,
+ maxZoom: 18,
+ bounds: [[1.56073, 104.11475], [1.16, 103.502]],
+ attribution:
+ '
New OneMap | Map data © contributors, Singapore Land Authority'
+ }
+ },
+ Original: {
+ url: 'https://maps-{s}.onemap.sg/v3/Original/{z}/{x}/{y}.png',
+ options: {
+ minZoom: 11,
+ maxZoom: 18,
+ bounds: [[1.56073, 104.11475], [1.16, 103.502]],
+ attribution:
+ '
New OneMap | Map data © contributors, Singapore Land Authority'
+ }
+ },
+ Grey: {
+ url: 'https://maps-{s}.onemap.sg/v3/Grey/{z}/{x}/{y}.png',
+ options: {
+ minZoom: 11,
+ maxZoom: 18,
+ bounds: [[1.56073, 104.11475], [1.16, 103.502]],
+ attribution:
+ '
New OneMap | Map data © contributors, Singapore Land Authority'
+ }
+ },
+ LandLot: {
+ url: 'https://maps-{s}.onemap.sg/v3/LandLot/{z}/{x}/{y}.png',
+ options: {
+ minZoom: 11,
+ maxZoom: 18,
+ bounds: [[1.56073, 104.11475], [1.16, 103.502]],
+ attribution:
+ '
New OneMap | Map data © contributors, Singapore Land Authority'
+ }
+ }
+ }
+ }
};
L.tileLayer.provider = function (provider, options) {