Ticket #1279 (closed bug: invalid)

Opened 5 years ago

Last modified 5 years ago

Vector layer doesn't zoom when plotted over tiled data

Reported by: ianmayo Owned by: euzuro
Priority: minor Milestone:
Component: Layer.WorldWind Version: 2.5
Keywords: Cc:
State:

Description

Summary The point-track layer displays a series of positions presented as a single line vector. This vector zooms & pans correctly when plotted over the WMS dataset, but does not update when following a zoom operation when plotted over the WorldWind dataset.

Platform FF2.0.0.11 under Ubuntu 7.10

Detailed Steps I've extended the point-track-markers example file to include a worldwind layer  http://dev.openlayers.org/sandbox/ianmayo/branches/app2/openlayers/examples/point-track-markers.html

If you load the xml/track1.xml datafile and pan/zoom - then everything works ok. If you then switch to the worldwind layer, zoom doesn't work. The tiled backdrop zooms in, but the vectored data doesn't. After a couple of pan operations the track and markers appear to become separated.

Change History

Changed 5 years ago by ahocevar

  • status changed from new to closed
  • resolution set to invalid

Ian, the problem in your example code is the setup for the WorldWind layer. To make it work, you have to set the map parameters like in the worldwind.html example:

map = new OpenLayers.Map('map', {
    'maxResolution': .28125,
    tileSize: new OpenLayers.Size(512, 512)
});

The WorldWind layer you chose does not work at zoom level 9, you have to zoom out at least to zoom level 6 to see the data.

Are you sure that you have updated your sandbox to the recent trunk version? Because I did not got the error you were encountering when I used your example code against the trunk.

I am closing this ticket because the issue is configuration related and not reproducable with the trunk version. Feel free to re-open it if I am missing something here.

Note: See TracTickets for help on using tickets.