OpenLayers OpenLayers

Ticket #41 (closed feature: wontfix)

Opened 3 years ago

Last modified 2 years ago

load slower map images in the background

Reported by: jrf Assigned to: euzuro
Priority: minor Milestone: 2.0 Release
Component: Layer Version:
Keywords: Cc:
State:

Description

I really like how the map at openlayers.org loads the fast map first and then lets the slower map load on top of it. Is it possible to detect when an image finishes loading? If so, then it could load the slow map at a lower z-index and then change the z-index to be on top after it loads...

Change History

05/20/06 10:17:32 changed by crschmidt

if ((img.complete != null) && (!img.complete)) {

05/20/06 20:42:07 changed by crschmidt

jrf: Can you please explain how you think a 'preferred' map should be added? also, should this only happen on the first load? When you drag the tiles around, should the 'slow' map drop to the bottom again?

I think this is a bigger UI/API issue than it might first seem. I don't see what's wrong with just loading a fast basemap, and then having a slower more accurate basemap load on top.

08/13/06 20:56:44 changed by euzuro

  • status changed from new to closed.
  • resolution set to wontfix.

08/16/06 01:01:26 changed by euzuro

  • milestone changed from 2.1 Release to 2.0 Release.