Tim Schaub
3de62b703a
Adding multi property to the DrawFeature control. If true, geometries will be cast to multi-part counterparts before features are added to the target layer. r=ahocevar ( closes #2542 )
...
git-svn-id: http://svn.openlayers.org/trunk/openlayers@10142 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2010-03-23 17:49:13 +00:00
Frédéric Junod
fe9aa59b91
remove unused mapRect variable, add missing semicolons, non-functional change
...
git-svn-id: http://svn.openlayers.org/trunk/openlayers@10128 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2010-03-19 13:34:45 +00:00
crschmidt
3304c6cb0e
"MousePosition control should support mouseOut event", r=bartvde,
...
initial patch cmoullet, (Closes #2404 )
git-svn-id: http://svn.openlayers.org/trunk/openlayers@10127 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2010-03-19 13:34:14 +00:00
Frédéric Junod
cca74e7635
fix semicolons and remove a global var
...
git-svn-id: http://svn.openlayers.org/trunk/openlayers@10126 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2010-03-19 13:22:56 +00:00
Éric Lemoine
76983744da
changes to WMSGetFeatureInfo so requests can be sent on click,
...
rightclick, and dblclick, r=bartvde (closes #2528 )
git-svn-id: http://svn.openlayers.org/trunk/openlayers@10117 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2010-03-19 09:35:53 +00:00
bartvde
c54dc76d15
when select feature control is destroyed and layers parameter was an array, the root container is not moved correctly, p=jorix, r=ahocevar,me ( closes #2502 )
...
git-svn-id: http://svn.openlayers.org/trunk/openlayers@10115 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2010-03-19 09:00:41 +00:00
Frédéric Junod
1757d4082e
deactivate on clear. r=bartvde ( closes #2471 )
...
git-svn-id: http://svn.openlayers.org/trunk/openlayers@10114 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2010-03-19 08:46:36 +00:00
ahocevar
e7b0857e31
Give the ScaleLine control a geodesic option. Setting this to true will provide an accurate scale bar in Spherical Mercator maps. r=bartvde ( closes #1890 )
...
git-svn-id: http://svn.openlayers.org/trunk/openlayers@10110 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2010-03-18 13:26:02 +00:00
bartvde
e061da04c9
fix bug in panzoombar slider, p=sowee, r=me ( closes #2384 )
...
git-svn-id: http://svn.openlayers.org/trunk/openlayers@10106 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2010-03-17 21:16:01 +00:00
bartvde
1d6c1f437e
change property zoomBarDiv to zoombarDiv to match the actual code in PanZoomBar, reported by Gerardo, non-functional change ( closes #2188 )
...
git-svn-id: http://svn.openlayers.org/trunk/openlayers@10105 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2010-03-17 20:46:47 +00:00
ahocevar
94c4837475
Fixed typo in LayerSwitcher. Thanks Pierre for the quick review response. r=pgiraud ( closes #2512 )
...
git-svn-id: http://svn.openlayers.org/trunk/openlayers@10096 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2010-03-09 09:59:09 +00:00
Frédéric Junod
662564957c
Move the control.div styling from the code to style.css. r=elemoine ( closes #2476 )
...
git-svn-id: http://svn.openlayers.org/trunk/openlayers@10070 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2010-02-16 08:21:25 +00:00
pgiraud
b165d015e1
adds a zoomBoxEnabled boolean option in Control.Navigation, r=ahocevar, ( Closes #2416 )
...
git-svn-id: http://svn.openlayers.org/trunk/openlayers@10067 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2010-02-15 13:08:28 +00:00
bartvde
5c03ebd729
change comment for maxFeatures in OpenLayers.Control.GetFeature
...
git-svn-id: http://svn.openlayers.org/trunk/openlayers@10065 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2010-02-15 10:30:40 +00:00
pgiraud
7179166603
adds a new getVisibility method in the Feature.Vector class, used in the SelectFeature control this method now allows us to tell the select feature box handler wether to select or not the features, r=ahocevar, ( Closes #2418 )
...
git-svn-id: http://svn.openlayers.org/trunk/openlayers@10064 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2010-02-15 09:05:49 +00:00
ahocevar
0af99e0de7
Give the GetFeature control a beforefeaturesselected and featuresselected event. p=komacke, r=me ( closes #2442 )
...
git-svn-id: http://svn.openlayers.org/trunk/openlayers@10035 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2010-02-09 12:30:02 +00:00
Tim Schaub
52f34e0baf
Improving the PanZoomBar behavior so that when you click on the bar after dragging to the top, the map doesn't re-zoom on mouse up. r=me ( closes #1861 )
...
git-svn-id: http://svn.openlayers.org/trunk/openlayers@10025 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2010-02-05 19:16:51 +00:00
ahocevar
cb0dffc045
Created a TransformFeature control and added a documentDrag option to the DragFeature control. r=elemoine ( closes #2433 )
...
git-svn-id: http://svn.openlayers.org/trunk/openlayers@9999 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2010-01-31 14:08:36 +00:00
Éric Lemoine
5edcc97240
cannot unselect on clickout when selecting by drawing a box, r=pgiraud ( closes #2204 )
...
git-svn-id: http://svn.openlayers.org/trunk/openlayers@9979 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2010-01-28 08:07:09 +00:00
Éric Lemoine
e562626f87
make OverviewMap.destroy more robust, r=fredj ( closes #2430 )
...
git-svn-id: http://svn.openlayers.org/trunk/openlayers@9957 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2010-01-22 07:35:22 +00:00
pgiraud
cca8894b91
added a slideFactor property in the PanPanel control patches from elemoine and me, r=bartvde ( closes #2320 )
...
git-svn-id: http://svn.openlayers.org/trunk/openlayers@9945 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2010-01-13 08:40:41 +00:00
Éric Lemoine
2619586558
add missing semi-colon, no functional change
...
git-svn-id: http://svn.openlayers.org/trunk/openlayers@9930 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2009-12-27 22:23:28 +00:00
Éric Lemoine
321a237d2f
overview map control destroys drag handler too late, r=ahocevar ( closes #2383 )
...
git-svn-id: http://svn.openlayers.org/trunk/openlayers@9902 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2009-12-17 08:23:38 +00:00
bartvde
fdb924ebfb
make WMSGetFeatureInfo Control WMS 1.3 compatible, r=ahocevar ( closes #2355 )
...
git-svn-id: http://svn.openlayers.org/trunk/openlayers@9879 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2009-12-09 19:08:55 +00:00
Tim Schaub
11924d0d0f
Only zoom by integer values with changes in the mouse wheel. r=bartvde ( closes #2376 )
...
git-svn-id: http://svn.openlayers.org/trunk/openlayers@9876 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2009-12-09 15:34:19 +00:00
bartvde
711d412f88
WMSGetFeatureInfo control: add support for mutiple WMS services, r=ahocevar ( closes #2091 )
...
git-svn-id: http://svn.openlayers.org/trunk/openlayers@9874 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2009-12-09 14:29:48 +00:00
Éric Lemoine
b655b14f01
NavigationHistory - move the code for getting the current state from an anonymous function to a method of the class, r=bartvde ( closes #2377 )
...
git-svn-id: http://svn.openlayers.org/trunk/openlayers@9867 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2009-12-09 11:51:55 +00:00
Tim Schaub
d9a982f169
Exposing the documentDrag property on the Navigation control. r=ahocevar ( closes #39 )
...
git-svn-id: http://svn.openlayers.org/trunk/openlayers@9805 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2009-11-18 05:42:17 +00:00
ahocevar
ebc5d7c021
added option to the MouseWheel handler to trigger up/down events only
...
when wheel is released. r=elemoine (closes #2345 )
git-svn-id: http://svn.openlayers.org/trunk/openlayers@9799 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2009-11-16 10:38:26 +00:00
ahocevar
c9df8f4d43
Added documentDrag option to the DragPan control and Drag handler.
...
When set to true, this allow pan-dragging while outside the map.
Thanks vmx for the initial patches. r=vmx, bartvde (closes #39 )
git-svn-id: http://svn.openlayers.org/trunk/openlayers@9791 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2009-11-10 11:14:28 +00:00
bartvde
e77a804559
add setLayer function to SelectFeature control so that we can change the layer attached to the control on the fly, r=ahocevar ( closes #2340 )
...
git-svn-id: http://svn.openlayers.org/trunk/openlayers@9789 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2009-11-08 16:58:33 +00:00
Éric Lemoine
1e87b26029
provide slideFactor default value in the doc, no functional change
...
git-svn-id: http://svn.openlayers.org/trunk/openlayers@9774 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2009-11-02 16:15:14 +00:00
pgiraud
6f17fa1c9a
give the radio buttons for the baselayers in the layer switcher control a name depending on the layerswitcher, this avoids problems with several maps and several layer switchers in the same page, r=bartvde ( Closes #2331 )
...
git-svn-id: http://svn.openlayers.org/trunk/openlayers@9772 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2009-11-02 12:24:03 +00:00
bartvde
d9fd39d547
make spatial filter configurable for OpenLayers.Control.GetFeature, p=rdewit, r=me ( closes #2325 )
...
git-svn-id: http://svn.openlayers.org/trunk/openlayers@9770 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2009-11-02 07:12:53 +00:00
bartvde
cf4c14a1e4
clean up duplicate code block from the fix for ticket 2256
...
git-svn-id: http://svn.openlayers.org/trunk/openlayers@9769 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2009-10-30 17:23:47 +00:00
bartvde
5119ffa50e
GetFeature doesn't handle Handler.Box case when result of user interaction is a pixel, patch by bjornharrtell, r=me ( closes #2256 )
...
git-svn-id: http://svn.openlayers.org/trunk/openlayers@9768 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2009-10-30 14:28:54 +00:00
Éric Lemoine
6839605b0f
theme LayerSwitcher with CSS, r=ahocevar, p=tmcw,me ( closes #1632 )
...
git-svn-id: http://svn.openlayers.org/trunk/openlayers@9767 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2009-10-29 15:45:27 +00:00
Éric Lemoine
ab42111aac
code cleanup - remove unused variables and declare local variables, p=avlee, r=me ( closes #2326 )
...
git-svn-id: http://svn.openlayers.org/trunk/openlayers@9766 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2009-10-27 12:15:22 +00:00
ahocevar
dbcab22339
fixed memory leak in the PanZoom control. Thanks rcoup for the patch and the test. p=rcoup, r=me ( closes #2323 )
...
git-svn-id: http://svn.openlayers.org/trunk/openlayers@9763 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2009-10-25 17:36:10 +00:00
ahocevar
ee737577f7
2170_anonfuncs.diff: created functions returning true and false instead of using anonymous functions all over. p=rcoup, r=me (see #2170 )
...
git-svn-id: http://svn.openlayers.org/trunk/openlayers@9759 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2009-10-24 09:23:24 +00:00
ahocevar
6d43a28da6
added Graticule control and Util.getFormattedLonLat function. Thanks madair for this excellent patch. p=madair, r=me ( closes #1083 )
...
git-svn-id: http://svn.openlayers.org/trunk/openlayers@9757 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2009-10-24 05:36:34 +00:00
bartvde
caff5d5261
give PanZoomBar control an option to force fixed zoomlevels even if the map has fractionalZoom, patch by marcjansen, r=me, ( closes #2288 )
...
git-svn-id: http://svn.openlayers.org/trunk/openlayers@9751 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2009-10-23 23:31:15 +00:00
Tim Schaub
bff91d251c
The attribution control no longer shows duplicate attribution text. r=crschmidt ( closes #2300 )
...
git-svn-id: http://svn.openlayers.org/trunk/openlayers@9731 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2009-10-08 17:00:40 +00:00
ahocevar
e13078b64a
removed duplicate definition of unselectAll. Thanks fredj for finding this one. r=tschaub ( closes #2229 )
...
git-svn-id: http://svn.openlayers.org/trunk/openlayers@9727 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2009-10-08 12:58:15 +00:00
Tim Schaub
d1cecf3be1
Adding an option to avoid duplicate attribution.
...
Thanks Marc Jansen for this nice contribution. Without wanting
to gush, I think this should be a model contribution because:
1. it is a simple change
2. with a nice example that clearly demonstrates the benefit
3. it includes tests!
4. and Marc wrote a note to the dev list with links to the ticket
r = me (closes #2266 )
git-svn-id: http://svn.openlayers.org/trunk/openlayers@9720 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2009-10-06 18:46:06 +00:00
bartvde
10398c5865
GetFeatureInfo control does not send required FORMAT parameter, r=tschaub ( closes #2201 )
...
git-svn-id: http://svn.openlayers.org/trunk/openlayers@9718 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2009-10-06 17:10:32 +00:00
Frédéric Junod
b9bcc0b7f8
use OpenLayers.Protocol.Response.success function, r=elemoine ( closes #2227 )
...
git-svn-id: http://svn.openlayers.org/trunk/openlayers@9623 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2009-08-19 06:34:54 +00:00
ahocevar
01d4330c81
In standalone mode, allow only dragging of sketch vertices or the point
...
selected for modification. Thanks tschaub for the improved patch.
r=tschaub (closes #2219 )
git-svn-id: http://svn.openlayers.org/trunk/openlayers@9613 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2009-08-05 23:33:26 +00:00
Tim Schaub
6f18a6abd0
Stopping double clicks on the panel control. Thanks for the patch sbenthall. r=me ( closes #2069 )
...
git-svn-id: http://svn.openlayers.org/trunk/openlayers@9594 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2009-07-29 04:20:57 +00:00
ahocevar
1f3d495a12
fixed docs for clickTolerance, which also affects hover requests. Non-functional change.
...
git-svn-id: http://svn.openlayers.org/trunk/openlayers@9593 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2009-07-28 14:39:58 +00:00