kekscom / osmbuildings

OSM Buildings Classic 2.5D
http://osmbuildings.org
BSD 2-Clause "Simplified" License
505 stars 140 forks source link

Displaying large objects at low zoom levels #117

Closed flightltd closed 4 years ago

flightltd commented 4 years ago

Hi,

I am successfully displaying large 3D catchment areas but only at zoom level 15 and above and I wish to display them down to levels 4 or 5. I saw in another issue that there is a MIN_ZOOM setting in constants.js but I can't locate this file. Could you please direct me to it?

Many thanks.

HNQX commented 4 years ago

has the same tb,plz help

jocelyn-cazes commented 4 years ago

For OSMBuildings-Leaflet.js (2.5D), find the G var originally set to 15, change to desired. For OSMBuildings.js (3D) find the MIN_ZOOM var originally set to 15, change to desired. & Enjoy.