Ticket #2576 (new feature)

Opened 3 years ago

Passed in imageBounds parameter is not made use of.

Reported by: Zed Owned by: tschaub
Priority: minor Milestone: 2.13 Release
Component: Layer.Image Version: 2.9 RC2
Keywords: Cc:
State:

Description

Using OpenLayers/Layer/Image.js to animate different weather radar images at different locations ie new location = new radar = new animation.

The imageBounds must be set for each new animation. To set the bound I needed to do the following. It appears the imageBounds passed into the moveTo function is not used to update the property extent, so it has to be done with an extra line of code.

radarL.extent = imageBounds;);

radarL.moveTo(imageBounds, true, false);

My apologies for not making code changes - I don't feel qualified enough to do so.

Note: See TracTickets for help on using tickets.