Commit Graph

1076 Commits

Author SHA1 Message Date
Éric Lemoine
d574f09e6a rely on the Flickr APIs in the strategy-paging example 2012-03-28 14:13:31 +02:00
Éric Lemoine
74a34ec14b rely on the Flickr APIs in the strategy-bbox example 2012-03-28 14:13:08 +02:00
Peter Robins
1a59ade32a Improve proj4js examples docs 2012-03-27 15:53:01 +01:00
Antoine Abt
eb74d93d48 Merge pull request #355 from tonio/blue
Zoom control, back to blue
2012-03-27 00:03:25 -07:00
Antoine Abt
87763af644 add css transition for mobile examples 2012-03-26 22:19:00 +02:00
Antoine Abt
8f3f5d1366 blue’s back — Zoom control refresh 2012-03-26 21:53:11 +02:00
Éric Lemoine
1febb44376 Merge pull request #342 from mpriour/multiple-builds
Add specific light build example and tag eligible 'light' build examples
2012-03-22 02:13:32 -07:00
Matt Priour
a38e4ecc9a Remove light tag from wms-long-url example 2012-03-22 04:01:28 -05:00
Éric Lemoine
d563084745 fix the layerLoadMonitoring.html example, refs #342 2012-03-22 07:04:13 +01:00
Matt Priour
2ba9c5ffda Remove 'light' tag from some examples it doesn't work for 2012-03-20 23:18:41 -05:00
Matt Priour
6eee5025f2 Add light tag to examples that could use the light build 2012-03-20 22:29:58 -05:00
Matt Priour
386dacffb3 Add a specific example which uses the OpenLayers.light.debug.js library, instead of the normal full multi-file debug version used for most examples 2012-03-20 20:16:03 -05:00
tschaub
0feefaa4bc Moving attribution from the middle of the map.
I believe this should be the default.  In rare cases where people want it somewhere in the middle of the map, they should provide custom css.
2012-03-20 16:43:33 -06:00
tschaub
c02d5a4dbf Correct URL for sencha css and js. 2012-03-20 16:42:56 -06:00
Antoine Abt
ffa71c0d1a update doc in mobile navigation 2012-03-19 14:47:02 +01:00
Antoine Abt
d81f0796d4 fixes mobile examples which were using ZoomPanel 2012-03-19 14:42:34 +01:00
ahocevar
ed45ab66e3 Merge pull request #331 from ahocevar/331
gutter and maxGetUrlLength broken. r=@elemoine
2012-03-19 03:23:44 -07:00
Frédéric Junod
c6374606bc Merge pull request #327 from fredj/jshint
jshint. r=tschaub
2012-03-19 03:07:09 -07:00
Éric Lemoine
a0e53931e4 Merge branch '2.12' 2012-03-19 10:32:28 +01:00
ahocevar
f32bfa2240 Making backbuffer work again for tiles with frame. 2012-03-19 10:10:40 +01:00
Frederic Junod
1a5d491dae CSS: remove unit when value is 0 2012-03-19 09:49:13 +01:00
Frederic Junod
5e0c064359 Extra comma. 2012-03-19 09:13:01 +01:00
Frederic Junod
2de2fe2563 Unnecessary and missing semicolon. 2012-03-19 09:13:01 +01:00
Antoine Abt
2b41c8926b Merge pull request #321 from tonio/zoomdefault
Make Zoom control be default instead of PanZoom.
2012-03-19 00:50:53 -07:00
Antoine Abt
b10e6707e6 fixes button stay «active» on mobile, in default theme, and mobile example stylesheet 2012-03-18 20:43:33 +01:00
Antoine Abt
457f0285b5 better readability of button with text-shadow 2012-03-18 20:42:25 +01:00
Éric Lemoine
926283fa69 Merge branch '2.12' 2012-03-18 14:09:25 +01:00
ahocevar
472e400078 Adding "mobile" tag to offline storage exmaples. 2012-03-18 13:18:58 +01:00
Éric Lemoine
853ad096bb remove the osmarander layer from spherical-mercator.html, as the osmarander tiles (tah.openstreetmap.org) are no longer available 2012-03-17 15:20:31 +01:00
Bart van den Eijnden
b6dff22e3b Merge branch '2.12' 2012-03-16 15:02:37 +01:00
tschaub
fb631ac0ba Updating zoom style for mobile examples.
Sticking with sans-serif gives a more uniform experience on desktop Webkit, Safari on iOS, and the default Android browser.

Using `-webkit-tap-highlight-color` gets rid of the blue highlight when clicking on the map tiles or zoom control.
2012-03-15 17:59:16 -06:00
Frederic Junod
46309b5265 Fix proj4js script.src 2012-03-15 17:13:10 +01:00
Tim Schaub
9070c2e3dd Cosmetic typo fix thanks @probins. 2012-03-15 01:26:00 -06:00
Antoine Abt
ee7efdeb08 trailing spaces 2012-03-14 20:25:07 +01:00
Antoine Abt
23b0971c2f update mobile example to use Zoom control. update build config file 2012-03-14 20:25:07 +01:00
ahocevar
81b67db101 Patch from http://trac.osgeo.org/openlayers/ticket/3307.
Uses a remote GeoServer now, which is added to the allowed hosts for proxy.cgi.
2012-03-14 17:12:06 +01:00
ahocevar
da3a07fbde Using OpenLayers.Console if window.console is unavailable. 2012-03-13 11:38:45 +01: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
5f48e546bc Simplified example. 2012-03-09 19:07:20 +01:00
ahocevar
51a11e053f Additional simple examples for just CacheRead and CacheWrite.
* Abort seeding immediately when cache is full.
* Abort seeding immediately when CORS image requests are not supported.
2012-03-09 19:06:10 +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
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
Frederic Junod
0566b0a5bb Add examples/osm-grayscale.html (see #297)
Thanks to @ahocevar for the help on the firefox issue.
2012-03-07 10:35:06 +01:00
Tim Schaub
46054b8543 Correctly getting tile data for a location.
The UTFGrid layer's `getTileInfo` method was not correctly handling dateline wrapping (and was a bit more complicated than it needed to be).  Since it would be useful to all grid layers to be able to retrieve a tile and pixel offset for any map location, this functionality deserves to be on the Grid layer.

The WMTS layer currently exposes a `getTileInfo` method that is used within the layer and by the WMTSGetFeatureInfo control.  This method could be renamed to `getRemoteTileInfo` or something to differentiate it from a method that gets locally cached tile info.  Until that change is made, the method on the Grid layer will be called `getGridData`.
2012-03-06 16:06:15 -07:00
Tim Schaub
0e4953efdd Simplify. 2012-03-06 00:08:20 -07: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
Marc Jansen
0cd3b6553e Be consistent when aliasing OpenLayers.Util.getElement in examples. 2012-03-05 22:36:28 +01:00
Marc Jansen
5c2c39c9dd Fix the examples that used our '$' method. 2012-03-05 22:27:43 +01:00