Ticket #2927 (new feature)

Opened 3 years ago

unnecessary requests when multiple layers added on map initialization

Reported by: tschaub Owned by:
Priority: minor Milestone: 2.13 Release
Component: Map Version: 2.10
Keywords: Cc:
State:

Description

Currently, when you create a map and add a batch of layers, if multiple layers have isBaseLayer: true, but only one has visibility: true, requests will go out for tiles in the first layer of the list even if visibility: false.

We should better handle map initialization with multiple layers where the first layer is not intended to be visible.

Note: See TracTickets for help on using tickets.