WARNING: This server is unstable and will be retired in the next days. If you want to keep this forum available, please request immediately a migration on the Nabble Support forum. Forums that don't receive any migration request will be deleted forever.

Panning with rendered tiles

View: New views
2 Messages — Rating Filter:   Alert me  

Parent Message unknown Panning with rendered tiles

by Tom Hermann :: Rate this Message:

| View Threaded | Show Only this Message

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@..."
with the following text in the BODY of the message "unsubscribe openmap-users"]

Re: Panning with rendered tiles

by Don Dietrick-2 :: Rate this Message:

| View Threaded | Show Only this Message

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
@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@..."
with the following text in the BODY of the message "unsubscribe openmap-users"]