Commit Graph

5397 Commits

Author SHA1 Message Date
Tim Schaub 9a3b723ba4 Making it safe to destroy a permalink.
Previously, a map could not be destroyed if it included a permalink control without an "element".  In addition, a permalink control could not be destroyed if it didn't have a reference to a map.
2012-03-03 14:42:43 -07:00
Tim Schaub 935d621113 Testing that the permalink works with map options.
The permalink/argparser combo doesn't properly handle map configurations where layers and a map location are provided (see #270).
2012-03-03 14:30:03 -07:00
Peter Robins bcba6bb0fd Map: make options.center compatible with permalink 2012-03-03 17:06:14 +00:00
tschaub 66e8fafdf2 Correcting example typo. Thanks @probins. 2012-03-02 18:38:42 -07:00
tschaub 59578931c2 Making testing in IE a tiny bit less painful.
The super handy quick filter that Marc added in 57c16b7345 was causing a bit of trouble in IE.  First, `input` was undefined where it was used as a misspelling for `window`.  After that, IE choked on the nice CSS3 selector when filtering the test list.  It turns out we don't need to be as selective and can treat all anchor elements within the table rows as candidates.
2012-03-02 18:29:25 -07:00
Éric Lemoine 9b2e46d9c5 Merge pull request #189 from jorix/popup-bug_onImageLoad
A popup can be destroyed before obtaining the images of `contentDiv`.
2012-03-02 14:34:24 -08:00
Éric Lemoine 26be40a1bd Merge pull request #186 from jorix/Build-monitor-errors
Build: Monitor the errors from the merge process.
2012-03-02 14:33:31 -08:00
Marc Jansen 1ef5cfd9a0 fix link to NaturalDocs 2012-03-02 21:30:05 +01:00
ahocevar 39962a6179 Using v3.6 of the GMaps v3 API everywhere. 2012-03-02 11:02:22 +01:00
Bart van den Eijnden 456a17b61c fix up test in Tile/Image/IFrame see https://github.com/openlayers/openlayers/commit/221d7caf70ace66041c41fc8c62412932e367f4e#commitcomment-1032985 2012-03-02 09:40:58 +01:00
tschaub 9b3a78ed5e Fixing the build by adding missing var.
An undeclared variable snuck in with 930206fb57.  This breaks builds using closure compiler.  Another reason to set up a CI server and a builds@ list.
2012-03-01 17:00:26 -07:00
tschaub 5a355f3760 Attribution update. 2012-03-01 16:33:50 -07:00
Tim Schaub 485317567e Merge pull request #266 from tschaub/permalink
Making map construction work with permalink.
2012-03-01 15:11:10 -08:00
ahocevar 930206fb57 Merge pull request #247 from probins/kmlatts
KML: write attributes; add option for kvp attributes
2012-03-01 14:30:11 -08:00
tschaub 4e9701caa8 Making map construction work with permalink.
If a map is configured with a permalink control and a center, the permalink control tries to work with the map center before setCenter is called.  This sequence assumes that the map center will already be a LonLat.  This fails if the map is constructed with a coordinate array.  Safer move is to convert center to LonLat before controls are added.
2012-03-01 13:47:42 -07:00
tschaub 31219c90f5 Adding XYZ example using MapBox tiles. 2012-03-01 13:13:35 -07:00
Peter Robins eb47d97774 KML: write attributes; add option for kvp attributes 2012-03-01 12:56:38 +00:00
Pierre GIRAUD 6d5544ca96 Merge pull request #264 from pgiraud/osm
Use the 3 available sub-domains for OSM by default
2012-03-01 03:00:07 -08:00
Pierre GIRAUD 45daaf5dd2 Use the 3 available sub-domains for OSM by default 2012-03-01 11:54:07 +01:00
Bart van den Eijnden 726b9dead8 Merge pull request #262 from bartvde/forloops
protect for in loops with hasOwnProperty (r=@elemoine,@marcjansen)
2012-03-01 01:09:19 -08:00
Tim Schaub de68e00a58 Merge pull request #263 from jorix/always_requires
Avoid using the [first] section.  Specify dependencies in the lib.
2012-02-29 19:31:15 -08:00
Bart van den Eijnden e3cc96dbfb protect for in loops with hasOwnProperty 2012-02-29 18:43:55 +01:00
Xavier Mamano fe33e29000 If using OpenLayers namespace must have at least one requirement. 2012-02-29 17:07:41 +01:00
ahocevar d7a3ecac08 Merge pull request #259 from ahocevar/259
Don't overwrite params, and use params in Layer.ArcGISCache. r=@elemoine
2012-02-29 07:55:53 -08:00
ahocevar fa30c1da5c Don't overwrite params, and use params in Layer.ArcGISCache 2012-02-29 16:52:31 +01:00
Bart van den Eijnden 85b997fa0e Merge pull request #258 from bartvde/textplacement
PointPlacement and LinePlacement are choices, so don't output both (r=@ahocevar)
2012-02-29 05:54:00 -08:00
Bart van den Eijnden 2421ed6da3 add comments to the test (suggestion by @ahocevar) 2012-02-29 14:53:20 +01:00
Bart van den Eijnden 0e1a30b3cd PointPlacement and LinePlacement are choices, so don't output both 2012-02-29 14:42:11 +01:00
Éric Lemoine 8273f153dc Merge pull request #223 from camptocamp/access_panelbutton
make it possible to create accessible panel buttons
2012-02-29 04:39:57 -08:00
Éric Lemoine 98ff5473a6 add tests for buttonclick.getPressedButton 2012-02-29 13:36:07 +01:00
Éric Lemoine 6a43fcaefc change buttonclick.getPressedButton depth value from 5 to 3, this allows buttons with grand children (2 levels) 2012-02-29 13:34:47 +01:00
ahocevar 8ea3b1bd3e Merge pull request #255 from ahocevar/255
LayerSwitcher broken when rendered to custom div. r=@elemoine
2012-02-29 04:25:18 -08:00
Éric Lemoine 3f99354d8c Merge pull request #257 from probins/opacity
Make layer opacity api property
2012-02-29 04:00:06 -08:00
Peter Robins 55c18076d3 Make layer opacity api property 2012-02-29 10:40:20 +00:00
Bart van den Eijnden 2955302650 Merge pull request #256 from bartvde/vendoroptions
make vendorOptions an object instead of an array (r=@ahocevar)
2012-02-29 02:11:41 -08:00
Bart van den Eijnden b699afa57f make vendorOptions an object instead of an array, which makes it more convenient to prevent duplicate vendorOptions 2012-02-29 10:57:08 +01:00
ahocevar 557d7ab0d7 Fixing typo. 2012-02-29 10:49:40 +01:00
ahocevar d0c782ca74 Making LayerSwitcher work again outside viewport. 2012-02-29 10:40:45 +01:00
ahocevar b7eba35077 Notes on incorrect maxResolution of 156543.0339 and defaults coupled with projection 2012-02-29 08:11:14 +01:00
Éric Lemoine 00909404ab [Event.buttonclick] make buttonclick work if target element is a child of the clicked button 2012-02-29 00:56:52 +01:00
Xavier Mamano 9e48825205 Preserve the title and the className if they are set in createControlMarkup. 2012-02-28 22:28:33 +01:00
Éric Lemoine 3b7585be24 avoid useless deref 2012-02-28 22:28:33 +01:00
Éric Lemoine 0f0e60c336 [examples] more docs in the accessible-panel example 2012-02-28 22:28:33 +01:00
Éric Lemoine aedc96f030 [examples] add an accessible-panel example 2012-02-28 22:28:33 +01:00
Éric Lemoine e551fc672c [Event.buttonclick] make buttonclick work on RETURN/SPACE keydown 2012-02-28 22:28:33 +01:00
Éric Lemoine 5539f6e958 [Control.Panel] place code creating the control markup in a separate function 2012-02-28 22:28:33 +01:00
Éric Lemoine cb71eccb34 Merge pull request #252 from probins/doc
Remove doc/walkthru.html
2012-02-28 09:43:03 -08:00
Frédéric Junod e14347dbc3 Merge pull request #29 from fredj/map-original-options
Expose map original options. r=@elemoine
2012-02-28 07:07:31 -08:00
ahocevar 2e6fe7d330 Notes about wrapDateLine. 2012-02-28 15:07:03 +01:00
Éric Lemoine 3cc0b8f51c Merge pull request #253 from probins/readme
Fix broken link in readme
2012-02-28 05:03:17 -08:00