Commit Graph

789 Commits

Author SHA1 Message Date
Marc Jansen
3dfa3fd157 Changed ZoomOut control to inherit from OpenLayers.Control.Button. 2012-04-17 08:11:48 +02:00
Marc Jansen
029bdaccde The ZoomToMaxExtent control should extend the OpenLayers.Control.Button
and not OpenLayers.Control.
2012-04-13 09:59:44 +02:00
Frederic Junod
1a59e47737 Move handlerOptions to the Control prototype. 2012-04-11 12:46:20 +02:00
Tim Schaub
24d421a449 Merge branch '2.12' of git://github.com/openlayers/openlayers 2012-04-04 14:50:53 -10:00
Tim Schaub
2582e762b7 Avoid undefined url. 2012-04-03 16:49:23 -10:00
Paul Spencer
943efd66b0 Merge pull request #370 from pagameba/overviewmap
OverviewMap custom div bug.
2012-03-30 05:18:05 -07:00
Éric Lemoine
e0b93c2e45 The OpenLayers code is published under the 2-clause BSD license 2012-03-30 08:33:55 +02:00
Éric Lemoine
650df2a8f1 change copyright header in every OpenLayers js file 2012-03-29 22:14:56 +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
Éric Lemoine
d680cb45a0 force a reflow after pinch 2012-03-23 22:10:16 +01:00
ahocevar
8d42f33a28 Fixing typo which causes CacheRead to fail when CacheWrite is active 2012-03-21 23:21:24 +01:00
Frederic Junod
5557693df1 Confusing use of '!'. 2012-03-19 09:13:01 +01:00
Frederic Junod
2de2fe2563 Unnecessary and missing semicolon. 2012-03-19 09:13:01 +01:00
Marc Jansen
0cc81202a1 Add missing requires directive for OpenLayers.Format.WMSGetFeatureInfo. 2012-03-15 08:20:11 +01:00
Tim Schaub
a462be52a8 Removing unused bind var.
Thanks @jorix for catching this.
2012-03-13 23:08:28 -06:00
Antoine Abt
bed3edeb46 Merge pull request #281 from ejn/master
Improve iconOn/iconOff class name matching in Panel.js; add unit tests
2012-03-13 00:37:54 -07:00
ahocevar
6b5dba3f93 Merge pull request #301 from ahocevar/offline
Adding CacheRead and CacheWrite controls. r=@elemoine,@fredj
2012-03-12 08:29:00 -07:00
ahocevar
bd262fce41 Addressing @elemoine's review comments.
Now the application no longer needs to care about the tile origin, because the CacheWrite control modifies the url if the CORS image loading is disabled and it is from a different origin. This only requires OpenLayers.ProxyHost to be properly configured. Also local storage keys use the original url instead of the proxied url, to make the CacheRead control work without proxy settings.
No deferred exceptions are thrown any more. Instead, OpenLayers.Console is used to show an error message for security exceptions.
We now check for OpenLayers.Tile.Image, because other tile types (e.g. UTFGrid) are not supported (yet).
To make the same origin handling in the CacheWrite control easier, OpenLayers.Request now exposes the same origin logic from request.issue as a separate function, so it can also be used by other components.
2012-03-11 22:15:34 +01:00
ahocevar
3d8a9168f0 Always set the tile url.
This avoids false positives in the url check in CacheWrite::cache when the CacheRead control is also active.
2012-03-09 19:07:54 +01:00
Tim Schaub
1a444589e0 Merge pull request #274 from tschaub/utfgrid
UTFGrid Tile, Layer, and Control.  This adds support for responsive handling of interactions with large numbers of features represented by UTFGrids.
2012-03-09 08:49:30 -08:00
Emanuele Ziglioli
197c8053fa Added extra dependencies: StyleMap.js and Layer/Vector.js. See:
https://github.com/openlayers/openlayers/pull/303#issuecomment-4401757
2012-03-09 09:51:24 +13:00
Emanuele Ziglioli
46191897cb Added missing dependency 2012-03-09 08:54:51 +13:00
ahocevar
e366722375 Note about terms of service. 2012-03-08 18:37:45 +01:00
ahocevar
f18ac9911b Adding CacheRead and CacheWrite controls.
These controls read from and write to the browser's offline storage. Example with a seeding tool included.
2012-03-08 14:18:44 +01:00
Éric Lemoine
3b860ca4d7 Merge pull request #168 from jorix/Docs-issues3
Some problems in the documentation
2012-03-06 00:05:52 -08:00
Tim Schaub
cf30e71b9f Merge branch 'master' of github.com:openlayers/openlayers into utfgrid 2012-03-06 00:06:15 -07:00
Tim Schaub
8d6bddf0ac A simple zoom control with zoom in/out links.
The zoom control allows for zoom in/out links that can be styled with CSS.

Note: This change was originally captured in #269.  It involves nice additions thanks @ahocevar.  The changes were unintentionally merged and then reverted with fb3caf1561, so the history of commits is not immediately apparent (though still likely there somewhere due to the magic of git).
2012-03-05 22:11:36 -07:00
ahocevar
fb3caf1561 Revert "Merge branch 'master' of github.com:openlayers/openlayers"
This reverts commit 12f191a690, reversing
changes made to 49b3dc85c2. See #269.
2012-03-05 18:56:50 +01:00
ejn
fbc3b5475d Improved regex, added tests 2012-03-05 12:14:56 +01:00
Xavier Mamano
bfb379f349 Fix some problems in the documentation. 2012-03-05 11:43:09 +01:00
Bart van den Eijnden
6204fe50c6 GetFeatureInfo requests should take EXCEPTIONS parameter from the WMS layer 2012-03-05 09:56:31 +01:00
Éric Lemoine
ba7e820adb Merge pull request #278 from elemoine/revert-camelize-removal
Revert camelize removal
2012-03-05 00:37:32 -08:00
Éric Lemoine
c58f093615 Revert "Removing camelize method."
This reverts commit 43ef0920c2.
2012-03-04 23:22:21 +01:00
Xavier Mamano
af8a483f10 "snappingOptions" option is not used neither in lib examples and evidence. 2012-03-04 17:01:06 +01:00
ahocevar
12f191a690 Merge branch 'master' of github.com:openlayers/openlayers 2012-03-04 11:25:10 +01:00
Tim Schaub
32db586fba Provide map and pixel location to callback. 2012-03-04 01:56:26 -07:00
Éric Lemoine
49b3dc85c2 Merge pull request #56 from jorix/3576-MeasureImm
#3576 Incorrect geometry passed to measurePartial
2012-03-03 23:59:54 -08:00
Tim Schaub
268b84286b Tests for UTFGrid layer and control. 2012-03-03 17:29:38 -07:00
Éric Lemoine
9242846954 Merge pull request #272 from elemoine/revert-hasownproperty
do not generalize use of hasOwnProperty
2012-03-03 14:54:48 -08:00
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
Éric Lemoine
9a116b21b9 Revert "protect for in loops with hasOwnProperty"
This reverts commit e3cc96dbfb.
2012-03-03 22:35:39 +01:00
ahocevar
221f299650 Using buttonclick event to avoid issues on touch devices. 2012-03-03 22:21:01 +01:00
Tim Schaub
c6650087cc Update zoom example to demonstrate custom style. 2012-03-02 23:51:39 -07:00
Tim Schaub
f45043967b Zoom control tests. 2012-03-02 22:52:18 -07:00
tschaub
0ce7674be6 Adding a simple zoom control.
This control generates simple zoom in/out links that can be styled with CSS.
2012-03-02 15:45:30 -07:00
Bart van den Eijnden
e3cc96dbfb protect for in loops with hasOwnProperty 2012-02-29 18:43:55 +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
ahocevar
d0c782ca74 Making LayerSwitcher work again outside viewport. 2012-02-29 10:40:45 +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