Commit Graph

633 Commits

Author SHA1 Message Date
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
fredj
a111808e06 replace Pixel argument with simple object (Map.getLonLatFromPixel) 2012-01-14 14:11:24 +01:00
Pierre GIRAUD
a719de7e93 Fixing typo and documentation mistakes. No functional changes. 2012-01-13 17:12:14 +01:00
Pierre GIRAUD
78714f6de4 Adding some documentation to the locationupdated documentation. No functional change. 2012-01-13 12:12:35 +01:00
Xavier Mamano
5cbdd27706 Docs: Set many links as {<...>} 2012-01-12 20:03:40 +01:00
fredj
cbfb68f397 Change all 'Parameter:' to 'Parameters:' in documentation. Non functional change 2012-01-12 09:32:49 +01:00
fredj
4fcd28fe08 Change some 'Parameter' to 'Property' in documentation. Non functional change 2012-01-12 09:30:51 +01:00
fredj
4769e119a0 Correct spelling in documentation. Non functional change. 2012-01-12 09:12:07 +01:00
ahocevar
f4c951c3ce Merge pull request #132 from jorix/Docs-issues
Docs issues
2012-01-11 13:55:27 -08:00
Peter Robins
1b031bcd26 Control/Split isEligible() should check feature has a geometry 2012-01-09 11:13:36 +00:00
Peter Robins
9453d0ce7c Revised version for checking geometry splittable 2012-01-08 20:08:36 +00:00
Peter Robins
5f6bd6acee Revised version for checking geometry splittable 2012-01-08 20:04:35 +00:00
Peter Robins
0296a46de8 Control/Split should work w/o MultiLineString 2012-01-08 14:36:30 +00:00
Xavier Mamano
b7dee9ca6d Some problems in the documentation detected using "closure_verify" 2012-01-07 19:29:41 +01:00
Tim Schaub
b26efd6beb Merge pull request #126 from tomhughes/url-rewrite
Add an interception point to allow image URLs to be rewritten
2012-01-03 14:13:00 -08:00
tschaub
b844a3b11b Happy New Year!
Updating copyright to 2012.
2012-01-03 09:01:10 -07:00
Tom Hughes
63fb2d4b04 Add an interception point to allow image URLs to be rewritten
Make all attempts to get a URL for an image go through a single
routine, OpenLayers.Util.getImageLocation, which is given the actual
image name.

This allows users to replace that routine with an enhanced version
which can rewrite the full URL, for example to go through the rails
asset pipeline when using OpenLayers with rails.
2011-12-31 12:19:10 +00:00
Tom Hughes
533ee475ee Improve documentation of regular versus irregular transformation 2011-12-31 12:08:22 +00:00
Tom Hughes
1b6eb38d46 Make irregular transforms work on rotated features
Rework support for irregular transforms to handle features
which have been rotated correctly.
2011-12-31 12:08:21 +00:00
Tom Hughes
a46707e727 Add support for irregular transformations to TransformFeature
Give the TransformFeature control an irregular mode where dragging a
handle just extends that side rather than growing the shape symmetrically
about the centre.
2011-12-31 12:08:21 +00:00
Éric Lemoine
45a6e24299 Panel iconOn and iconOff do not behave correctly if application-specific classes are set in the control 2011-12-14 15:49:19 +01:00
fredj
e6a1830da8 move the buttons sizing to CSS 2011-12-12 17:16:04 +01:00
Éric Lemoine
513dd16be3 deprecated LayerSwitcher roundedCorner option 2011-12-09 00:10:29 +01:00
ahocevar
c311aa69ea Default pixel tolerance of 2.
This avoids requests to be aborted during hover due to the cursor change caused in some browsers by applying the olCursorWait class.
2011-11-30 20:36:54 +01:00
Xavier Mamano
d89819c3f2 #3580 ZoomBox: missing API documentation. 2011-11-20 12:25:01 +01:00
Éric Lemoine
629e14d3c7 PinchZoom.updateContainerOrigin renamed to updateContainerCenter 2011-11-10 21:40:46 +01:00
Éric Lemoine
e6f2b0e294 fix bug where center of fingers is not preserved on pinch zoom 2011-11-10 21:35:38 +01:00
tschaub
b7c826e796 Remove MouseDefaults and MouseToolbar. 2011-11-08 18:32:55 -07:00
Tim Schaub
824160ecb0 Merge pull request #30 from fredj/unneeded
remove unneeded activate and deactivate functions
2011-10-27 12:09:20 -07:00
Tim Schaub
3e9015879c Correcting typos in comments, no functional change (closes #15). 2011-10-19 15:05:19 -06:00
fredj
6c0f11da67 remove unneeded activate and deactivate functions 2011-10-17 15:00:16 +02:00
Marc Jansen
760d5a584c Reverse QUERY_LAYERS order in GetFeatureInfo requests. r=bartvde (closes #3253) 2011-10-09 15:53:12 +02:00
tschaub
c743d3e8a5 Passing renderer options to the sketch layer.
The draw feature control should pass preferred render and other renderer options to the sketch handler.
2011-09-29 17:26:23 -06:00
Bart van den Eijnden
8edb26d579 Revert "DragFeature control should trigger afterfeaturemodified, r=crschmidt (closes #3277)"
This reverts commit a46489db1a.
2011-09-28 10:31:32 +02:00
Bart van den Eijnden
6936acd7c7 ArgParser does not deal well with fractionalZoom, r=fredj (closes #3515) 2011-09-23 15:36:18 +02:00
Bart van den Eijnden
a46489db1a DragFeature control should trigger afterfeaturemodified, r=crschmidt (closes #3277) 2011-09-23 14:47:07 +02:00
Frédéric Junod
501b42228a remove event type list from Events (lazy listener initialization) p=tschaub,me r=erilem (closes #2555)
git-svn-id: http://svn.openlayers.org/trunk/openlayers@12384 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2011-09-17 19:09:40 +00:00
ahocevar
98be6e313b Making sketch handlers work over the dateline by using layer.getLonLatFromViewPortPx instead of map.getLonLatFromPixel. Thanks bartvde for the unit and acceptance tests. r=bartvde (closes #2787)
git-svn-id: http://svn.openlayers.org/trunk/openlayers@12346 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2011-09-08 17:53:44 +00:00
bartvde
85455619ec filter on snapping target does not work for all filter types, r=ahocevar (closes #3468)
git-svn-id: http://svn.openlayers.org/trunk/openlayers@12255 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2011-08-17 13:47:08 +00:00
bartvde
c587865bb1 deleting a vertex does not set feature.modified, this is a regression since in OL 2.10 a WFS transaction would include all fields, but 2.11 is smarter in the sense that it filters out fields that have not changed in the Transaction XML, which in this case, i.e. deleting a vertex, results in no geometry in the WFS transaction, r=tschaub (pullup #3463)
git-svn-id: http://svn.openlayers.org/trunk/openlayers@12248 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2011-08-15 16:26:34 +00:00
Marc Jansen
0020e79412 API documentation improvement. No functional change.
git-svn-id: http://svn.openlayers.org/trunk/openlayers@12200 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2011-07-29 09:45:29 +00:00
ahocevar
912c1d5c1b click handling in the DragFeature control only for touch devices. p=jorix, r=me (closes #3428)
git-svn-id: http://svn.openlayers.org/trunk/openlayers@12181 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2011-07-23 20:12:02 +00:00
ahocevar
2293987d57 adding a feature.modified property, making the ModifyFeature control set it and the WFST format check for it so only modified attributes and a modified geometry need to be included in an Update transaction. r=bartvde (closes #3400)
git-svn-id: http://svn.openlayers.org/trunk/openlayers@12149 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2011-07-04 08:37:55 +00:00
Tim Schaub
0b26fa9a5e Making it so dictionary keys are the English values for strings displayed in the UI.
By making dictionary keys be sensible strings, we make it so the i18n function returns something legible when there are no dictionaries included in a build.  This means that strings from the Graticule, Permalink, LayerSwitcher, and Scale controls will be displayed in English without having to include the English dictionary (as is the case in our full build).

Note that if you use the OpenLayers.i18n method in your applications, five of the dictionary keys have changed.  Use the following replacements:

 * "permalink" -> "Permalink"
 * "overlays" -> "Overlays"
 * "baseLayer" -> "Base Layer"
 * "scale" -> "Scale = 1 : ${scaleDenom}"
 * "graticule" -> "Graticule"

r=ahocevar (closes #3364)



git-svn-id: http://svn.openlayers.org/trunk/openlayers@12127 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2011-06-24 20:12:12 +00:00
Tim Schaub
1951eb3815 Clarifying that the TouchNavigation control can be used without a standard Navigation control (closes #3350).
git-svn-id: http://svn.openlayers.org/trunk/openlayers@12122 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2011-06-22 06:30:45 +00:00
Tim Schaub
2cf3f62d1b Methods for programmatically manipulating sketches while digitizing features. r=bartvde (closes #3343)
git-svn-id: http://svn.openlayers.org/trunk/openlayers@12103 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2011-06-17 18:59:16 +00:00
Tim Schaub
995d612caa More robust array type check. p=mwootendev, r=me (closes #2959)
git-svn-id: http://svn.openlayers.org/trunk/openlayers@12095 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2011-06-16 19:16:25 +00:00