Commit Graph

3379 Commits

Author SHA1 Message Date
fredj 3cfd21c318 group the img.style changes 2011-12-12 15:05:51 +01:00
fredj ee37617c21 Only set img.style.position once 2011-12-12 13:48:57 +01:00
fredj 64b21b4e86 Remove unused variable 2011-12-12 10:42:33 +01:00
Éric Lemoine 00cfe7b226 Merge pull request #99 from elemoine/deprecate-rico
Deprecate Popup.AnchoredBubble and Rico
2011-12-08 22:54:38 -08:00
Éric Lemoine 4abaa7d553 Merge remote branch 'upstream/master' 2011-12-09 00:13:27 +01:00
Éric Lemoine 3deeff74f5 comment noop code and make google compiler happy 2011-12-09 00:12:49 +01:00
Éric Lemoine 513dd16be3 deprecated LayerSwitcher roundedCorner option 2011-12-09 00:10:29 +01:00
Éric Lemoine 46e15b5359 make OpenLayers.Feature create OpenLayers.Popup.Anchored as opposed to OpenLayers.Popup.AnchoredBubble by default 2011-12-09 00:08:28 +01:00
Éric Lemoine 519335026f deprecate AnchoredBubble 2011-12-09 00:02:44 +01:00
towa48 a1b6644b2a Prevent duplicate node title in SVG renderer. 2011-12-08 12:11:39 +03:00
Frédéric Junod 5fda8835da Merge pull request #82 from fredj/2897
don't create div for image tile when no gutter is used. p=ahocevar,pgiraud,elemoine,fredj
2011-12-07 23:03:26 -08:00
Frédéric Junod e97961321c Merge pull request #96 from fredj/3404
SelectFeature stops selecting features after a right click on the map. r=ahocevar
2011-12-07 08:03:27 -08:00
ahocevar fa1845693b Fixing a typo. 2011-12-07 16:38:07 +01:00
ahocevar b6df3d871b It turns out we really want to retile sometimes.
The reason is that we want to avoid moveGriddedTiles to run through hundreds of cycles to shift tiles until we reach the new bounds. But containsBounds does not work if extents that cross the date line start on different worlds, so we use intersectsBounds where we can pass the world bounds to handle this case.
2011-12-07 15:55:22 +01:00
Frédéric Junod 6725ee1940 Merge pull request #95 from fredj/2708
getFeatureIdFromEvent return value. r=elemoine
2011-12-07 06:28:49 -08:00
fredj b11b33e3ab SelectFeature stops selecting features after a right click on the map 2011-12-07 15:03:39 +01:00
ahocevar f79520cf9d Don't set zoomOffset - maxResolution and numZoomLevels is enough. r=fredj (closes http://trac.osgeo.org/openlayers/ticket/3550) 2011-12-07 14:53:53 +01:00
fredj 03b8406746 Canvas.getFeatureIdFromEvent: return undefined instead of null 2011-12-07 12:08:04 +01:00
fredj 71fbfff02a return undefined instead of false from getFeatureIdFromEvent 2011-12-07 11:59:53 +01:00
fredj d20802369f code simplification 2011-12-07 11:52:04 +01:00
fredj 315c37a075 getFeatureIdFromEvent returns a feature id or undefined, fix getFeatureIdFromEvent docstring 2011-12-07 11:50:58 +01:00
fredj d715a94b0f remove double declaration
(yes, code duplication sucks)
2011-12-07 11:33:34 +01:00
fredj 9cfa5f562e Don't update the map size on 'movestart' 2011-12-07 09:40:54 +01:00
Frédéric Junod 63cdcaeaac Merge pull request #86 from fredj/addLayer-exception
Instead of throwing an exception, return false if the layer can't be added to the map. r=bbinet,tschaub
2011-12-07 00:33:26 -08:00
fredj 8c74e616df Remove undefined variables 2011-12-05 09:39:30 +01:00
Xavier Mamano fb8a7a5adc Apply the patch:
https://github.com/ilinsky/xmlhttprequest/commit/9f1d0fd49b0583073c1ca19e220dc13fe0f509b4
2011-12-03 18:13:40 +01:00
ahocevar 08af94cf84 We never need to retile when the zoom didn't change. 2011-12-03 00:13:44 +01:00
ahocevar 84b30d3699 Don't rely on the bounds of the top-right tile.
When the grid crosses the dateline, the top-right tile is in a different world than the bottom-left one. Instead, use the grid size and tile width/height to calculate the top-right coordinate.
2011-12-03 00:05:26 +01:00
ahocevar c15631ae3e Remove code that never gets called.
OpenLayers.Map has no wrapDateLine property.
2011-12-02 23:57:39 +01:00
fredj 1135c771b7 Instead of throwing an exception, return false if the layer can't be added to the map. 2011-12-01 16:13:35 +01:00
Tim Schaub 3844b91cd6 Avoiding closure compiler warnings.
These comments are not parsed by Natural Docs and result in unnecessary warnings from closure compiler.
2011-11-30 22:25:38 -08: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
fredj efdd9d0eb2 don't create div for image tile when no gutter is used 2011-11-30 14:19:36 +01:00
fredj 6f78dc4c8f Remove call to deprecated events.addEventType function 2011-11-30 09:29:24 +01:00
Xavier Mamano ec1a44a9f2 before instead of after 2011-11-29 18:29:47 +01:00
Frédéric Junod e960c1929d Merge pull request #76 from fredj/surface-removal
Remove Geometry.Surface, r=tschaub
2011-11-28 07:50:56 -08:00
fredj dc991e6f85 Remove Geometry.Surface 2011-11-28 12:41:47 +01:00
ahocevar c3fa0875dc toString implementation for Filter.
If Format.CQL is not included in the build, toString from Object will be used.
2011-11-28 12:25:28 +01:00
fredj 250e686375 Layer.KaMap cleanup
Remove unused units and resolution properties
Simplify Grid.initialize call
2011-11-24 16:21:49 +01:00
Frédéric Junod c3b7c06118 Merge pull request #72 from fredj/unneeded-initialize
Remove unneeded initialize functions, r=elemoine
2011-11-24 02:28:36 -08:00
fredj 3252fb134d Remove unneeded initialize functions 2011-11-24 09:17:27 +01:00
fredj 4cab9139f2 Remove unneeded requires 2011-11-24 08:59:55 +01:00
Frederic Junod 7f2c06c5b7 move Protocol.SQL into deprecated.js 2011-11-21 19:10:26 +01:00
Frederic Junod 8360ddefe3 Merge branch 'upstream-master' into gears 2011-11-21 18:54:48 +01:00
Frédéric Junod 2f802750a3 Merge pull request #65 from fredj/deprecated.js
move Layer.Yahoo and Layer.GML into deprecated.js r=tschaub
2011-11-21 09:40:31 -08:00
fredj 735f49cca0 move Protocol.SQL.Gears into deprecated.js 2011-11-21 12:23:05 +01:00
Xavier Mamano d89819c3f2 #3580 ZoomBox: missing API documentation. 2011-11-20 12:25:01 +01:00
fredj f0d93d1e85 Merge branch 'upstream-master' into deprecated.js 2011-11-18 13:51:19 +01:00
ahocevar 4b0e45b369 adding comment that the reproject option is deprecated and getBoundsFromLayer is defined in deprecated.js, as suggested by @elemoine. 2011-11-18 13:48:07 +01:00
ahocevar 4d8cd08b91 removing Lang.js and Tile.js dependencies, as suggested by @fredj. 2011-11-18 13:43:06 +01:00