Commit Graph

6352 Commits

Author SHA1 Message Date
ahocevar 94fb14c378 Merge pull request #225 from drnextgis/master
Fix basic ESRI Map Cache Example
2012-02-15 22:39:35 -08:00
_DR_ 30ad3adb9d Fix Basic ESRI Map Cache Example 2012-02-16 08:50:17 +04:00
ahocevar 6b8ba43e20 Adding a scaled layer. 2012-02-15 22:00:54 +01:00
ahocevar 262e2d5bc0 Calculating maxResolution instead of having it in defaults. 2012-02-15 21:09:39 +01:00
Marc Jansen 67ea250cca Fix a Control.OverviewMap test that failed in Firefox 10.0.1 (Linux). 2012-02-15 14:11:54 +01: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 2ecec3ddc3 fix the Handler.Keyboard tests 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
Éric Lemoine 81e8b4200d improve the accessible.html example 2012-02-15 13:58:47 +01:00
Éric Lemoine e15dde0561 make the keyboard handler work on the map div as opposed to the document 2012-02-15 13:58:47 +01:00
ahocevar 2e423df3d2 Use the layer's projection.
In setMap, the layer gets the map's projection if it doesn't have its own. And since a layer can have a different SRS code than the map (but a compatible one, i.e. with OpenLayers.Projection.transforms[mapProj][layerProj] being OpenLayer.Projection.nullTransform), the axis order can be different.
2012-02-15 13:41:25 +01:00
Pierre GIRAUD cd41548c01 Merge pull request #221 from pgiraud/gpx
Fixing XML Validation failure
2012-02-15 04:33:18 -08:00
ahocevar 1b57783eb0 Merge pull request #3 from fredj/proj-defaults
Proj defaults
2012-02-15 04:23:47 -08:00
fredj 147b32b7e3 Don't compute limit if it's not needed 2012-02-15 12:33:14 +01:00
fredj cd3ffa2058 Simplify parent call (don't use intermediate array) 2012-02-15 12:32:25 +01:00
fredj a40ae7ef11 If sphericalMercator, use default values from Projection.defaults 2012-02-15 12:30:05 +01:00
Pierre GIRAUD cfaaa352f8 Update lib/OpenLayers/Format/GPX.js 2012-02-15 12:17:39 +01:00
Pierre GIRAUD 6608f5fd94 GPX Format - Adding the mandatory creator attribute 2012-02-15 11:58:52 +01:00
Pierre GIRAUD cb65b69556 The root element shouldn't be prefixed, this is not XML valid. (checked using xmllint --noout --schema http://www.topografix.com/GPX/1/1/gpx.xsd mygpx.gpx) 2012-02-15 11:50:55 +01:00
ahocevar 11966d231f New OpenLayers.Projection.defaults property.
This allows us to simplify the map and layer configuration, because now the projection also defines defaults for maxExtent, maxResolution and units.
This change also adds transforms for SRS aliases for EPSG:4326 and centralizes axis order information in OpenLayers.Projection.defaults.
2012-02-15 11:09:55 +01:00
Marc Jansen 79540f346d Reformatting of testfile prior to fixing failing test in Firefox 10.0.1.
No functional change.
2012-02-15 11:09:45 +01:00
Marc Jansen 436301c9ed Fix Format.XML test where a defined variable wasn't used. This resulted in an
"DOM Exception: INVALID_CHARACTER_ERR (5)" in Chrome 17.
2012-02-15 10:44:34 +01:00
Marc Jansen c776dac2c2 Make precision in test configurable. 2012-02-15 10:02:33 +01:00
Marc Jansen 5faea8e083 Fix Strategy.BBOX test that failed due to mixed precision of coordinates. 2012-02-15 09:54:58 +01:00
Marc Jansen 48a47b993a Fix a Format.WKT test that failed due to rounding / precision of values. 2012-02-15 09:38:57 +01:00
Marc Jansen 52931daf32 Fix spelling in test-function. No functional change. 2012-02-15 09:14:31 +01:00
Matthew Perry df3977e94c Set default mode to click and properly pass is default handler options 2012-02-14 11:17:16 -08:00
Matthew Perry bdf9e1b99e Just call read; don't store variable 2012-02-14 11:16:41 -08:00
ahocevar da3dc76a6d Making the delay for removing the backbuffer configurable.
This helps users who want to avoid having old and new tiles on the screen for transparent single tile layers.
r=@elemoine (closes #216)
2012-02-14 20:12:09 +01:00
ahocevar 5e734f20dc Merge pull request #179 from ahocevar/tile-queue
A tile queue that can be aborted. r=@elemoine,@fredj,@tonio
2012-02-14 10:59:12 -08:00
Éric Lemoine c5f25aa1de Merge pull request #217 from jorix/remove-library_cfg
Remove `library.cfg`
2012-02-14 10:47:09 -08:00
Xavier Mamano ab3325498e A configuration file based on a directive [exclude] is a anti-pattern, so is proposed to remove library.cfg. 2012-02-14 18:56:46 +01:00
ahocevar fe8a00d5c9 Support the culture attribute in the Bing Layer.
p=dcabasson, r=me (closes http://trac.osgeo.org/openlayers/ticket/3598)
2012-02-14 17:23:01 +01:00
Éric Lemoine 745400fa74 Merge pull request #173 from jorix/3505-ignore-space-requires
Build: ignore trailing space in @requires dependencies
2012-02-14 07:57:59 -08:00
Xavier Mamano cd8fa55b0e Build: ignore trailing space in @requires dependencies 2012-02-14 16:43:15 +01:00
fredj add094b284 tileSize property already defined in parent class (Layer.Grid) 2012-02-14 14:49:31 +01:00
fredj 692fe2dd12 Bounds.fromSize: size can be a simple object, update doc. 2012-02-14 14:32:15 +01:00
ahocevar d387add3e2 Note about size limitations. 2012-02-14 12:28:29 +01:00
Matthew Perry 867080a074 Option for loading utfgrid via jsonp 2012-02-13 16:56:35 -08:00
ahocevar fe0bc333ca Improving example documentation. 2012-02-14 00:16:12 +01:00
ahocevar ce71a5a3fd Google Static Maps API. Simple and limited to 1000 views. 2012-02-14 00:07:57 +01:00
Frederic Junod 2dabac734c Revert "Move the popup close box sizing to CSS"
Moving the box size to CSS broke `Popup.setSize()`; the function
expects a width for the padding computation. Because this function is
called before the div is added to the DOM, the size can't be
computed.

This reverts commit 134f24480a.
2012-02-13 19:59:59 +01:00
Éric Lemoine 16c30b8e6d Merge pull request #45 from twpayne/initial-bearing-to
Add OpenLayers.Spherical, including utility functions for calculations on the basis of a spherical earth, patch from @twpayne
2012-02-13 05:35:13 -08:00
Bart van den Eijnden 1f539470bb add box drawing to draw-feature control example so it is easier to find for people 2012-02-13 09:42:09 +01:00
Frédéric Junod d106aabacf Merge pull request #214 from fredj/popup-css
Move the popup close box sizing to CSS. r=ahocevar
2012-02-12 13:10:20 -08:00
Frederic Junod 134f24480a Move the popup close box sizing to CSS 2012-02-12 21:56:41 +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 5586368b73 Merge pull request #212 from oleg-poligon/patch-2
set GMaps API version to 3.6 in allOverlays Layer Example
2012-02-11 15:46:17 -08:00
oleg-poligon 718679a025 set GMaps API version to 3.6 in allOverlays Layer Example 2012-02-12 02:04:03 +04:00
ahocevar 8df3dffa8c Merge pull request #210 from ahocevar/attribution-template
Template for the Attribution control. r=@elemoine
2012-02-11 04:32:00 -08:00