Ticket #2479 (closed feature: fixed)
Map.getResolution needs a fallback to 1st layer in allOverlays mode
|Reported by:||ahocevar||Owned by:|
In allOverlays mode, when useInRange for a layer is true (e.g. because it is configured with a maxExtent, that layer will be invisible if it is the 1st layer added to the map.
Attached is a testcase that shows the issue, plus a patch that fixes it.
Tests pass, please review.