Commit Graph

3973 Commits

Author SHA1 Message Date
Tim Schaub
faaa2cec1f Using compiled regexp to replace dots.
Though split and join appear to be more efficient in Chrome, a compiled regexp looks to be a safer bet across the board.  See http://jsperf.com/dotless (and http://jsperf.com/dotless-nop for the NOP).
2012-04-18 09:46:24 -04:00
Tim Schaub
163caf0e8d Underscore in canvas hit detection. 2012-04-18 09:40:27 -04:00
Tim Schaub
8533edd19b Toward dotless identifiers. 2012-04-18 09:39:58 -04:00
Bart van den Eijnden
a96d32d284 rename to dateRegEx and provide default value in api docs 2012-04-17 17:39:37 +02:00
Bart van den Eijnden
f07660e8c5 implement @ahocevar's suggestion instead 2012-04-17 15:57:51 +02:00
Bart van den Eijnden
90a8ac9c71 allow for negative years in dates 2012-04-17 14:23:56 +02:00
Éric Lemoine
bfd6be634f if maxResolution is "auto" calculate maxResolution based on maxExtent and map size, else calculate maxResolution based on maxExtent and tile size 2012-04-11 17:45:34 +02:00
Frédéric Junod
6adac12fab Merge pull request #405 from fredj/handler-options
Move handlerOptions to the Control prototype.
2012-04-11 05:08:54 -07:00
Éric Lemoine
6a039fd700 Merge branch '2.12' 2012-04-11 12:58:06 +02:00
Frederic Junod
1a59e47737 Move handlerOptions to the Control prototype. 2012-04-11 12:46:20 +02:00
Bart van den Eijnden
59cc18d85b fix Bing attribution issue reported by PitneyBowes 2012-04-10 14:31:20 +02:00
Éric Lemoine
ae75fdacd7 Revert "Merge pull request #116 from elemoine/redraw"
This reverts commit 7a5b469192, reversing
changes made to a719de7e93.

Conflicts:

	tests/Tile/Image.html
2012-04-07 21:07:03 +02:00
Éric Lemoine
58e86a37f5 Revert "Declare zoomChanged."
This reverts commit b910a5f4d0.
2012-04-07 21:02:24 +02:00
Éric Lemoine
4df1104b7a Revert "Merge pull request #312 from elemoine/redraw"
This reverts commit 7f94945244, reversing
changes made to dfa70fafac.

Conflicts:

	lib/OpenLayers/Layer/Vector.js
2012-04-07 21:01:52 +02:00
Éric Lemoine
685eae7c04 Merge pull request #390 from elemoine/scriptlocation
_getScriptLocation regexp not robust enough
2012-04-04 21:43:08 -07:00
Tim Schaub
24d421a449 Merge branch '2.12' of git://github.com/openlayers/openlayers 2012-04-04 14:50:53 -10:00
Éric Lemoine
b1b4736315 make _getScriptLocation RegExp more robust, p=jpfiset, t,r=me 2012-04-04 20:30:50 +02:00
Tim Schaub
2582e762b7 Avoid undefined url. 2012-04-03 16:49:23 -10:00
Marc Jansen
326598a75c Merge pull request #361 from sdikiy/patch-1
accurate calculation of the centroid for small objects with large coordinates (p=sdikiy,r=marcjansen,sbrunner)
2012-04-03 11:58:57 -07:00
ahocevar
530952551f Merge pull request #382 from ahocevar/wps
WPS example and improvements. r=@marcjansen,@bartvde
2012-04-03 06:30:15 -07:00
Éric Lemoine
f870417a30 class name olLayerGridTile renamed olLayerGrid 2012-04-03 06:28:06 +02:00
Éric Lemoine
160ccef8d3 Merge branch '2.12' 2012-04-02 21:10:19 +02:00
Éric Lemoine
d650ba20d9 Layer.Grid - better docs for transitionEffect, removeBackBufferDelay, and className 2012-04-02 20:59:16 +02:00
Éric Lemoine
d8473f9249 make Layer.Grid.prototype.className an API property 2012-04-02 17:57:37 +02:00
Éric Lemoine
8c6466bf2a move transitionEffect to Layer.Grid.prototype, and discourage the use of transitionEffect:"resize" on non-opaque layers 2012-03-31 21:32:49 +02:00
Éric Lemoine
1e5f83593c removeBackBufferDelay defaults to 0 for singleTile layers 2012-03-31 21:23:21 +02:00
Éric Lemoine
86cd9c7bf7 add class to Layer.Grid layer div 2012-03-31 21:22:36 +02:00
ahocevar
c3fe359fa6 WPS example; support for BoundingBox in WPS format 2012-03-30 18:02:24 -07:00
Bart van den Eijnden
a00b565fcc Merge pull request #372 from bartvde/graphictext
setting graphic to false by default when reading a TextSymbolizer (r=@ahocevar)
2012-03-30 17:00:27 -07:00
Bart van den Eijnden
4b22a1e2d2 move logic into GeoServer profile as suggested by @ahocevar 2012-03-31 01:26:37 +02:00
sdikiy
0460bd2ae8 change getCentroid 2012-03-30 23:20:21 +03:00
Bart van den Eijnden
9a5364f309 add missing requires 2012-03-30 20:37:15 +02:00
Paul Spencer
943efd66b0 Merge pull request #370 from pagameba/overviewmap
OverviewMap custom div bug.
2012-03-30 05:18:05 -07:00
unknown
ecbf9966ba Merge branch 'master' into patch-1 2012-03-30 12:25:12 +03:00
Éric Lemoine
e35dfe1a5a Merge branch '2.12' 2012-03-30 08:44:59 +02:00
Éric Lemoine
e0b93c2e45 The OpenLayers code is published under the 2-clause BSD license 2012-03-30 08:33:55 +02:00
Bart van den Eijnden
33f8fa0aff add exception handling to WMSDescribeLayer Format 2012-03-29 23:22:31 +02:00
Éric Lemoine
650df2a8f1 change copyright header in every OpenLayers js file 2012-03-29 22:14:56 +02:00
Bart van den Eijnden
75c187d5a3 setting graphic to false by default when reading a TextSymbolizer, just like is done on other symbolizers 2012-03-29 22:13:24 +02:00
Paul Spencer
175423b3ba In the case of an overview map rendered into a user-provided div, the minimize and maximize divs are not created so we need to test for existence of them in the showToggle method. 2012-03-28 11:40:14 -04:00
sdikiy
8c93d477ba accurate calculation of the centroid for small objects with large coordinates 2012-03-27 16:12:31 +03:00
Peter Robins
720a815479 Improvements for projection docs 2012-03-27 14:07:58 +02:00
Frederic Junod
d1d5ab9930 Merge branch '2.12' 2012-03-27 09:31:53 +02:00
Éric Lemoine
d680cb45a0 force a reflow after pinch 2012-03-23 22:10:16 +01:00
Bart van den Eijnden
0dce0b9a5b Merge pull request #348 from bartvde/getcentroid
getCentroid should just return the first point if a linear ring only has less than three components (r=@tschaub)
2012-03-23 04:41:12 -07:00
Éric Lemoine
863011b2b7 set VERSION_NUMBER to Release 2.12-rc1 2012-03-22 18:59:14 +01:00
Bart van den Eijnden
955c83baa9 getCentroid should just return the first point if a linear ring only has less than three components 2012-03-22 12:59:55 +01:00
Bart van den Eijnden
965e269cfd minor change to Protocol.CSW to deal with the situation where the GeoExt ProtocolProxy is configured with setParamsAsOptions true 2012-03-22 11:09:38 +01:00
ahocevar
f84a2d0bc9 Merge branch '2.12' 2012-03-21 23:35:51 +01:00
ahocevar
8d42f33a28 Fixing typo which causes CacheRead to fail when CacheWrite is active 2012-03-21 23:21:24 +01:00