Map on mobile cannot go beyond zoom level 18

Hi,

I am using onemap for one of our projects. I have an issue with the zoom levels supported by One map on mobile and desktop.

This is my code to set the max zoom and min zoom for basemap:

basemap = L.tileLayer(‘https://maps-{s}.onemap.sg/v3/Grey/{z}/{x}/{y}.png’, {
detectRetina: true,
attribution: ‘Map data © contributors, Singapore Land Authority’,
maxZoom: 19,
maxNativeZoom: 19,
minZoom: 11,
continuousWorld:false,
noWrap:true,
reuseTiles:false
});

On desktop, I am able to zoom until zoom level 19, but on mobile the zoom cannot go beyond level 18.

I am trying to show and hide layers based on the zoom level. It works as expected on desktop, but on mobile because of the zoom level issue, the layer that needs to be shown on level 19 is not added on the map.

Please let me know if I need to use some different settings for mobile.

Thanks,
Priyesh Tungare

@PriyeshT I have sent a reply to you via email. We have to understand your enquiry further.