ahocevar
221f299650
Using buttonclick event to avoid issues on touch devices.
2012-03-03 22:21:01 +01:00
Tim Schaub
c6650087cc
Update zoom example to demonstrate custom style.
2012-03-02 23:51:39 -07:00
Tim Schaub
f45043967b
Zoom control tests.
2012-03-02 22:52:18 -07:00
tschaub
0ce7674be6
Adding a simple zoom control.
...
This control generates simple zoom in/out links that can be styled with CSS.
2012-03-02 15:45:30 -07:00
Bart van den Eijnden
e3cc96dbfb
protect for in loops with hasOwnProperty
2012-02-29 18:43:55 +01:00
Éric Lemoine
8273f153dc
Merge pull request #223 from camptocamp/access_panelbutton
...
make it possible to create accessible panel buttons
2012-02-29 04:39:57 -08:00
ahocevar
d0c782ca74
Making LayerSwitcher work again outside viewport.
2012-02-29 10:40:45 +01:00
Xavier Mamano
9e48825205
Preserve the title and the className if they are set in createControlMarkup.
2012-02-28 22:28:33 +01:00
Éric Lemoine
3b7585be24
avoid useless deref
2012-02-28 22:28:33 +01:00
Éric Lemoine
5539f6e958
[Control.Panel] place code creating the control markup in a separate function
2012-02-28 22:28:33 +01:00
Éric Lemoine
43809ea330
Merge pull request #222 from camptocamp/access_keyboardcontrol
...
KeyboardDefaults control improvements
2012-02-28 03:02:19 -08:00
ahocevar
c2b8f9cdb5
Merge pull request #64 from tmcw/no-camel
...
Removing camelize method.
2012-02-28 00:05:58 -08:00
tschaub
2b5ade2dde
Adding back events documentation.
...
When the list of event types became unconstrained in 501b42228a , we lost the documentation for events that are triggered. This change adds the list of events triggered to the API docs for events properties.
2012-02-16 10:36:34 -07:00
Éric Lemoine
c0b02b278a
add an observeElement option to Handler.Keyboard and Control.KeyboardDefaults to control the DOM element on which key events are observed
2012-02-15 13:58:48 +01:00
Éric Lemoine
cbebcd0bf6
make the KeyboardDefaults control prevent browser default after handling a key press
2012-02-15 13:58:48 +01:00
ahocevar
3fae6c0d29
Merge pull request #195 from ahocevar/layerswitcher-simplified
...
No additional events registered on the LayerSwitcher. r=@fredj.
2012-02-12 03:32:20 -08:00
ahocevar
6385be7ffe
Template for the Attribution control.
...
This allows to add map specific copyright, or copyright required for tools like geocoders that are used in the context of the map.
2012-02-11 12:34:40 +01:00
fredj
6daecd677d
New createVertices option for Control.ModifyFeature
2012-02-09 14:12:52 +01:00
fredj
657b47abb0
Update Control.OverviewMap.getOverviewPxFromLonLat input type
...
'lonlat' parameter can be either a OpenLayers.LonLat instance or a
simple javascript object with a 'lon' and 'lat' properties.
2012-02-02 16:35:30 +01:00
ahocevar
a278986442
No additional events registered on the LayerSwitcher.
...
With the buttonclick event, we can also handle clicks on layer names and checkboxes/radiobuttons when they get the olButton class. To make this work on iOS, we have to add a check in buttonclick.js to handle the case where the event occurred on a text element (nodeType === 3).
2012-02-02 00:02:51 +01:00
fredj
4e73df0115
Set Control.TransformFeature handle role (rotate) into attributes.
2012-01-27 11:42:24 +01:00
fredj
717e13fb44
transformFeature() already call drawHandles
2012-01-27 11:42:24 +01:00
Éric Lemoine
2f66031603
remove multiple variable declarations in Control/KeyboardDefaults.js, non functional change
2012-01-25 10:54:39 +01:00
fredj
1d422dbc73
Remove unsetFeature call in Control.TransformFeature.deactivate
2012-01-24 15:13:19 +01:00
fredj
d9de788b3b
Don't create unneded local variable (box)
2012-01-24 15:13:19 +01:00
fredj
eceaf1a319
Add more properties to destroy in destroy()
2012-01-24 15:13:19 +01:00
fredj
cea7b3e55c
Set Control.TransformFeature handle role (resize) into attributes.
2012-01-24 15:13:18 +01:00
ahocevar
dc03537132
Merge pull request #167 from ahocevar/button-controls-improved
...
Fixing PanZoomBar and Panel issues after #164 . r=@elemoine
2012-01-24 05:17:00 -08:00
fredj
2bd9721fd8
remove tabs
2012-01-24 12:13:41 +01:00
ahocevar
def2085915
vertexRenderIntent for all sketch modes.
...
Fixed whitespace from original patch.
p=mosesonline, r=me (closes http://trac.openlayers.org/ticket/3581 )
2012-01-23 14:39:06 +01:00
ahocevar
ae55f1a70c
Adding boxselectionstart and boxselectionend events.
...
Whitespace fixed from patch, and removed docs for beforefeatureselected and featureselected events because they are fired on the layer, not the control.
p=mosesonline, r=me (closes http://trac.osgeo.org/openlayers/ticket/3538 )
2012-01-23 14:30:36 +01:00
ahocevar
ed88941280
Incorporating review comments from @jorix.
2012-01-22 21:30:41 +01:00
ahocevar
e7107b96cb
Fixing PanZoomBar and Panel issues after #164 .
...
For PanZoomBar, this fixes the slider behavior. Now the buttonclick listener argument also includes a buttonXY property, and PanZoomPanel does not need an Events instance for the zoombarDiv any more.
For Panel, this fixes events for panels outside the map. Just setting the element on the Events instance was no longer enough after e70569b2bb . Events::attachToElement is now used, and it needed to be modified to also work if the Events instance had no element previously.
Finally, I renamed the button property of the buttonclick listener argument to buttonElement, to not confuse it with the browser event button property, and added some more tests and documentation.
2012-01-22 21:30:40 +01:00
ahocevar
3b96046669
Making GetFeatureInfo work with SLD defined layers.
...
Closes http://trac.osgeo.org/openlayers/ticket/3609 . p=h0nIg, r=me
2012-01-21 13:45:11 +01:00
ahocevar
d9cc0c08ed
Check for outsideViewport - we may not have a parentNode yet.
2012-01-20 16:08:02 +01:00
ahocevar
e09ee34f23
Incorporate remaining review comments from @bartvde.
2012-01-20 14:18:15 +01:00
ahocevar
05de2b5109
Don't let button controls interfer with handlers.
...
This change involves removal of the map's eventsDiv and introduces an OpenLayers.Events.buttonclick component that adds a buttonclick event which makes sure that only events that are not related to clicking a button propagate. This allows button controls to be on the map's viewPortDiv again.
2012-01-20 03:37:11 +01:00
drnextgis
b10e380afd
Update lib/OpenLayers/Control/Split.js
2012-01-19 14:48:25 +07:00
Frédéric Junod
1cbd88d230
Merge pull request #137 from fredj/simple-objects
...
Replace Size and Pixel instances with simple objects. r=elemoine,probins,tschaub
2012-01-18 04:12:02 -08:00
Pierre GIRAUD
6c5ed6361f
Merge pull request #154 from pgiraud/unselectfeature
...
unselectFeature should be API
2012-01-18 00:20:52 -08:00
Peter Robins
ca6d93712a
Suggested addition to Kinetic documentation
2012-01-17 11:41:22 +00:00
Pierre GIRAUD
059a400ab3
unselectFeature should be API
2012-01-17 09:27:36 +01:00
fredj
42fcb70347
Coding standards: variable names to camel case
2012-01-16 09:20:05 +01:00
Frederic Junod
4e703abc0c
Fix OpenLayers.Control.GetFeature.selectBox apidoc
2012-01-15 18:14:31 +01:00
Frederic Junod
098899d165
Fix OpenLayers.Control.OverviewMap.getLonLatFromOverviewPx apidoc
2012-01-15 18:13:27 +01:00
fredj
d3cc8e93ae
replace LonLat with simple object (OverviewMap.getLonLatFromOverviewPx, internal function)
2012-01-14 14:11:25 +01:00
fredj
8d11b169d3
OverviewMap.getOverviewPxFromLonLat: return simple object instead of OpenLayers.Pixel
2012-01-14 14:11:25 +01:00
fredj
1e6f56fe82
replace Pixel argument with simple object (OverviewMap.getLonLatFromOverviewPx)
2012-01-14 14:11:25 +01:00
fredj
07e3fa9624
replace Size instances with simple object
2012-01-14 14:11:25 +01:00
fredj
4844baf666
replace Pixel argument with simple object (Pixel.offset)
2012-01-14 14:11:24 +01:00