Commit Graph

3769 Commits

Author SHA1 Message Date
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
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
ahocevar 2f4ca63a39 Merge pull request #297 from ahocevar/tileloadstart
tileloadstart event and fixed crossorigin handling. r=@fredj
2012-03-07 01:30:36 -08:00
Marc Jansen d122ebcf4e Merge pull request #286 from marcjansen/imgpath
Declare ImgPath property of OpenLayers in OpenLayers.js (r=@elemoine,@ahocevar)
2012-03-06 23:02:25 -08:00
ahocevar 81e7913075 Fixing crossorigin attribute handling. 2012-03-06 23:21:25 +01:00
Marc Jansen c9dbebf4aa ImgPath should not be an an APIProperty in SingleFile.js. 2012-03-06 20:34:46 +01:00
ahocevar a05eab29db Adding tileloadstart event to layer.
For this to be useful (i.e. so listeners can see/modify the tile url), a change in Tile.Image is required so we do not fire the loadstart event before we have the url to load.
2012-03-06 14:40:08 +01:00
ahocevar da3bbbe231 Merge pull request #293 from probins/defnav
Map: default controls should include TouchNavigation if present
2012-03-06 04:18:02 -08:00
Peter Robins 93028bbcf8 Map: defaults controls should include TouchNavigation if present 2012-03-06 11:47:27 +00:00
Éric Lemoine 539e2fc4db Merge pull request #241 from argson/master
Added translations for Polish language
2012-03-06 00:24:15 -08: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
Marc Jansen e8744edd24 Minor formatting of API doc comments. 2012-03-06 08:39:00 +01:00
Marc Jansen 36886a2bc5 Better documentation for the property ImgPath of OpenLayers. 2012-03-06 08:33:39 +01:00
Marc Jansen 3cee434199 Also add the declaration of ImgPath to SingleFile.js. 2012-03-06 08:08:09 +01: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
Éric Lemoine d5da1130b5 Merge pull request #207 from probins/script
Change Protocol/Script registry to object
2012-03-05 13:52:44 -08:00
Marc Jansen 768ad0108d Move the declaration of OpenLayers.ImgPath from Util.js to OpenLayers.js. 2012-03-05 21:00:05 +01: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
ahocevar abbf679ab6 Fixing typo in docs 2012-03-05 16:46:45 +01:00
ahocevar d6ffd60199 Merge pull request #283 from ahocevar/tileerror
New events: loaderror for Tile, tileerror for Layer.Grid. r=@bartvde
2012-03-05 06:10:22 -08:00
ahocevar fe63d0aa63 New events: loaderror for Tile, tileerror for Layer.Grid. 2012-03-05 14:20:01 +01:00
Peter Robins eb4bf5d438 OpenLayers.ImgPath should be API property 2012-03-05 13:13:51 +00: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
Bart van den Eijnden cf9cc27279 fix typo 2012-03-05 09:47:37 +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
Tim Schaub 6345e87f04 Merge pull request #276 from jorix/remove_unused_code
Remove unused snappingOptions.
2012-03-04 19:10:41 -08:00
Éric Lemoine c58f093615 Revert "Removing camelize method."
This reverts commit 43ef0920c2.
2012-03-04 23:22:21 +01:00
ahocevar ffac63045e Removing duplicate setCanvasStyle method.
Thanks @jorix for catching this (see #238).
2012-03-04 19:56:41 +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
É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
Éric Lemoine e576eba862 add missing statement-ending semi-colon, refs #272 2012-03-03 23:57:02 +01: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 bb76893abb Merge pull request #273 from tschaub/permalink
Make permalink destruction safe (r: @ahocevar).
2012-03-03 14:07:54 -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
Tim Schaub ac884a4de7 Merge pull request #270 from probins/argparsercenter
Make options.center compatible with permalink.
2012-03-03 13:37:26 -08:00
Éric Lemoine 9a116b21b9 Revert "protect for in loops with hasOwnProperty"
This reverts commit e3cc96dbfb.
2012-03-03 22:35:39 +01:00
Éric Lemoine 161b54b6f1 Revert "Fixing the extend method to work on IE."
This reverts commit 71276b5323.
2012-03-03 22:35:31 +01:00
ahocevar 221f299650 Using buttonclick event to avoid issues on touch devices. 2012-03-03 22:21:01 +01:00
ahocevar 9860d60518 Merge branch 'zoom' of https://github.com/tschaub/openlayers into zoom 2012-03-03 22:20:49 +01:00
ahocevar 47d0eb1013 Documenting params 2012-03-03 19:14:52 +01:00
Peter Robins bcba6bb0fd Map: make options.center compatible with permalink 2012-03-03 17:06:14 +00: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
Tim Schaub b9b471f57b Merge branch 'master' into zoom 2012-03-02 21:26:58 -07:00
tschaub 71276b5323 Fixing the extend method to work on IE.
In IE, events don't have a `hasOwnProperty` method.  Instead of trusting that the source objects have this method, we call the same on the Object prototype.  If we want to be safer about the `hasOwnProperty` calling done in e3cc96dbfb, we could create an `OpenLayers.Object.has` method that also used the Object prototype.
2012-03-02 16:54:59 -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
É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