Make tree tiles appear faster on load
Make tree tiles appear faster on load

1) We were adding layers before setting the initial zoom level, causing Leaflet to request tiles at zoom level 2 which we weren't using. Solved by setting initial zoom level before adding layers.

2) Tiler requests for the UTF grid were all being made before tiler requests for visible tiles, delaying the appearance of visible tiles. Solved by delaying adding the UTF grid layer. On my 40,000-tree instance this doesn't appear to prevent clicking on a tree as soon as it appears. We'll see how it works with Edmonton's 250,000 trees.

clever-crow-consulting/otm-core,clever-crow-consulting/otm-core,recklessromeo/otm-core,maurizi/otm-core,recklessromeo/otm-core,clever-crow-consulting/otm-core,RickMohr/otm-core,RickMohr/otm-core,recklessromeo/otm-core,recklessromeo/otm-core,clever-crow-consulting/otm-core,maurizi/otm-core,RickMohr/otm-core,maurizi/otm-core,RickMohr/otm-core,maurizi/otm-core