Ticket #1280 (new feature)

Opened 5 years ago

Last modified 5 years ago

Identify control

Reported by: enjahova Owned by:
Priority: minor Milestone: Addins
Component: Control Version: 2.5
Keywords: identify Cc:
State:

Description

Identify Control: Takes a user defined function that it calls back with OpenLayers.Pixel when the map is clicked.

Switch Control: Basic toggle control that takes user defined on() and off() functions that it calls back when toggled on and off

ZoomOut Control: Zooms out one level on click. Centers on the click location

Attachments

Identify.patch Download (4.8 KB) - added by enjahova 5 years ago.
Identify control + test

Change History

Changed 5 years ago by enjahova

Identify control + test

  Changed 5 years ago by bartvde

See also ticket:1187 which was just committed to trunk which allows the ZoomBox control to be used for zooming out. On click it zooms out centered on the click, but the user can also draw a box to determine the zoom out factor.

In general I would recommend opening up 1 ticket per feature.

in reply to: ↑ description   Changed 5 years ago by enjahova

  • keywords toggle zoomout removed
  • summary changed from Identify, Switch, ZoomOut controls to Identify control

Replying to enjahova:

Identify Control: Takes a user defined function that it calls back with OpenLayers.Pixel when the map is clicked. Switch Control: Basic toggle control that takes user defined on() and off() functions that it calls back when toggled on and off ZoomOut Control: Zooms out one level on click. Centers on the click location

I made a new ticket for the Switch control:  http://trac.openlayers.org/ticket/1283

I also won't bother with the Zoomout control with bartvde's excellent patch

  Changed 5 years ago by euzuro

  • milestone set to Addins

My gut here says that maybe these are AddIns?

Please move back if this is not the case.

Note: See TracTickets for help on using tickets.