Re: [OpenMap Users] Panning with rendered tiles

From: Don Dietrick <dfdietrick_at_gmail.com>
Date: Fri, 1 Jun 2012 09:00:35 -0400

Hi Tom,

This isn't a configurable option in OpenMap. It would be hard to do based on the current way the layers are notified by the MapBean that the projection has changed. Currently, even with the PanMouseMode, the layers get told of a projection change when the mouse mode has stopped moving the map, and they all react asynchronously to that projection change.

To get this behavior, you'd have to tell the layer that the projection changed while the PanMouseMode is dragging the map, and have the layer update itself. I think you would need to limit the number of layers told about the projection change, to not burden the CPU calculating a bunch of projection changes at the same time. The MapTileLayer might be able to keep up with the changes, though.

Hope this helps,

- Don

=-=-=-=-=-=-=-=-=
Don Dietrick
_at_dfdietrick
=-=-=-=-=-=-=-=-=


On Wednesday, May 30, 2012 at 12:32 PM, Tom Hermann wrote:

> When I use the MousePanMode If I grab at the top left and drag to the bottom right I see the MapBean background color.
>
> I would like to see rendered map tiles instead of the MapBean background. Is this configurable in OpenMap, or do you have any hints for implementing this behavior?
>
> Thanks for any help!
> Tom Hermann
> Asynchrony Solutions
>
> --
> [To unsubscribe to this list send an email to "majdart_at_bbn.com (mailto:majdart_at_bbn.com)"
> with the following text in the BODY of the message "unsubscribe openmap-users"]
>
>




--
[To unsubscribe to this list send an email to "majdart_at_bbn.com"
with the following text in the BODY of the message "unsubscribe openmap-users"]
Received on Fri Jun 01 2012 - 09:02:23 EDT

This archive was generated by hypermail 2.3.0 : Tue Mar 28 2017 - 23:25:10 EDT