OpenLayers OpenLayers

Ticket #956 (closed feature: fixed)

Opened 2 years ago

Last modified 2 years ago

Create Larger Navigation Control for use in non-draggable maps

Reported by: openlayers Assigned to:
Priority: minor Milestone:
Component: general Version: 2.4
Keywords: Cc: mjr@phonecoop.coop
State:

Description (Last modified by crschmidt)

Maps like: http://dev.openstreetmap.org/~ojw/Browse/ have larger navigation controls. For maps that aren't draggable, these are useful. Create a control which creates these controls around the edge of the map for users who don't want the draggable map functionality.

Change History

09/03/07 19:48:26 changed by crschmidt

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

OpenLayers is a Javascript library for creating maps -- but there's nothing lacking in the library for creating static maps inside a div. Simply disable the MouseControls/Navigation controls, and create your own controls for map control.

More specific requirements are welcome, but I don't see anything here that isn't possible with the current library. Examples and specific requests are neccesary -- but be aware that if OpenLayers can already do it, it's likely to just be closed as invalid.

09/04/07 05:50:26 changed by openlayers

  • status changed from closed to reopened.
  • resolution deleted.
  • summary changed from non-JS support somehow to better non-slippy support.

Please can the suggested non-slippy navigation controls be available in the default interface (maybe some sort of flip-to-non-slippy control), instead of requiring each webmaster to create them anew?

09/04/07 05:53:46 changed by crschmidt

Again, I don't know what you're imagining or describing. We already have controls to click to navigate the map and zoom it. It seems to me that all you want is a map with the navigation control (which is the mouse movement control) turned off.

I'll leave this open for a response. *Please include a description or example*, so that it is possible to understand what you are looking for.

09/04/07 06:55:50 changed by openlayers

By the "the navigation control (which is the mouse movement control)" do you mean the dragging thing? Yes, I think I'm asking for that to be switched off, but I'm also asking for a navigation control mode similar to http://dev.openstreetmap.org/~ojw/Browse/ to be included as standard (preferably with diagonal movement controls too, like on streetmap.co.uk and a jump to zoom-level N control as well as the one-step-at-a-time), maybe hidden behind some toggle control. Those controls are much bigger, so much easier to click with poor motor control than the current small arrows.

09/04/07 08:23:36 changed by crschmidt

  • description changed.
  • summary changed from better non-slippy support to Create Larger Navigation Control for use in non-draggable maps.

Okay. Ticket title and description change made. Patches welcome.

09/10/07 12:23:29 changed by tschaub

No pretty graphics, but here's an example of how you could mock up something like the above example with OL. As Chris suggests, if you want support in non-JS environments, then OL is probably not the best choice.

If accessibility is the goal, try something like http://openlayers.org/dev/examples/accessible.html

07/04/08 01:47:45 changed by euzuro

  • status changed from reopened to closed.
  • state changed.
  • resolution set to fixed.

I think tim's example here is good enough to call this ticket fixed.

If someone can argue a valid reason for deliberately making a non-slippy version of OpenLayers with these special controls (as suggested by creator of this thread) as a built-in option, then please speak up and reopen this ticket.