Commit Graph

1100 Commits

Author SHA1 Message Date
Tim Schaub
e1dffacdde Providing a method to get data from the layer.
I think it should be the job of the layer to retrieve data for a given location (instead of the control).  The first part of this change creates a `getData` method on the layer and updates the control to use this method.

The second part of this change removes the assumption that the data returned will be an simple object representing feature attributes.  The UTFGrid specification doesn't say anything about the structure of property values in the optional data member.  The examples given in the spec use string values.  The default callback previously assumed that the data could be rendered in a two column table.  I think it would make more sense not to make this assumption.  With this change, the user must always provide a callback to do anything with returned data.
2012-02-25 17:33:32 -07:00
Tim Schaub
6284e44d2e Making the UTFGrid examples more like the rest. 2012-02-25 16:18:43 -07:00
Tim Schaub
f4465c516d Merge branch 'master' into utfgrid 2012-02-25 16:08:11 -07:00
ahocevar
85498cb23f Removing imageOffset and using getImageSize.
This fixes a regression that was introduced with the Tile.Image overhaul. See http://trac.osgeo.org/openlayers/ticket/3625.
2012-02-21 15:06:32 +01:00
fredj
0727f5558a Remove maxExtent, maxResolution and units options. See #219 2012-02-16 13:55:53 +01:00
ahocevar
2fe882f4d8 Merge pull request #219 from ahocevar/proj-defaults
New OpenLayers.Projection.defaults property. r=@tschaub,@fredj
2012-02-16 01:29:29 -08:00
fredj
b3ad241055 Use jQuery Mobile 1.0.1 Release 2012-02-16 09:42:46 +01:00
fredj
1cc8770476 Use OpenLayers.Projection.defaults values. 2012-02-16 09:20:41 +01: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
É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
81e8b4200d improve the accessible.html example 2012-02-15 13:58:47 +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
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
ahocevar
d387add3e2 Note about size limitations. 2012-02-14 12:28:29 +01: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
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
oleg-poligon
718679a025 set GMaps API version to 3.6 in allOverlays Layer Example 2012-02-12 02:04:03 +04:00
fredj
6daecd677d New createVertices option for Control.ModifyFeature 2012-02-09 14:12:52 +01:00
Matthew Perry
5857af5fec Adding multi grid html 2012-02-08 12:04:09 -08:00
Matthew Perry
5d00c76c92 Updated examples with another showing multiple grid support 2012-02-08 11:36:50 -08:00
Matthew Perry
0cf589b337 Hide bullets 2012-02-07 16:05:31 -08:00
Matthew Perry
0a74cb45f8 Filled out the html example page 2012-02-07 12:21:03 -08:00
Matthew Perry
4e84a7113d Fix event handling.. no need to detect lastXY 2012-02-07 11:23:04 -08:00
Matthew Perry
47222a9401 Adding example utfgrid json files 2012-02-07 11:22:29 -08:00
Matthew Perry
54e9fdb784 Initial example html/js page 2012-02-07 10:02:19 -08:00
fredj
742ada16bf Allow testing of specific renderers via '?renderer=<name>' 2012-02-01 11:18:17 +01:00
ahocevar
e77b06dbc4 Using stripped down stylesheet in example. 2012-01-30 09:43:25 +01:00
ahocevar
ef85f43d21 A tile queue that can be aborted.
This saves server requests, and because we use OpenLayers.Animation, setting img.src on a tile should not freeze iOS any more, so we can hopefully get rid of scheduleMoveGriddedTiles.
2012-01-28 15:30:20 +01:00
fredj
becb7af745 Update the transform-feature example to show how the 'role' attribute can be used 2012-01-27 12:35:26 +01:00
fredj
cea7b3e55c Set Control.TransformFeature handle role (resize) into attributes. 2012-01-24 15:13:18 +01:00
fredj
ac1eee6ac2 Allow testing of specific renderers via '?renderer=<name>' 2012-01-24 10:57:03 +01:00
Éric Lemoine
37d21272b7 Merge pull request #127 from elemoine/tile-fade-in
CSS-based tile animation
2012-01-17 21:06:11 -08:00
Tim Schaub
d34d8f22a3 Merge pull request #128 from tschaub/animation
Use requestAnimationFrame where available.
2012-01-17 11:56:59 -08:00
tschaub
00975e79cc Merge branch 'master' of github.com:openlayers/openlayers into proj 2012-01-17 08:52:03 -07:00
Antoine Abt
188be77570 Merge pull request #140 from aabt/outline
Add label outline to SVG and Canvas renderers
2012-01-17 04:45:50 -08:00
Antoine Abt
58468c2850 don’t set labelAlign twice in example 2012-01-17 11:38:54 +01:00
Éric Lemoine
99ca32540d Merge branch 'master' into tile-fade-in
Conflicts:
	tests/Tile/Image.html
2012-01-17 09:27:55 +01:00
Tim Schaub
4b949176d3 Move mercator transforms to Projection.js.
The SphericalMercator mixin is not required for coordinate transforms.  Default transforms included whenever Projection.js is included.
2012-01-16 22:39:44 -07:00
Peter Robins
92e5018b19 Fix typo in examples/mobile-base.js 2012-01-15 17:26:13 +00:00
Antoine Abt
5be7e7f844 don’t duplicate defaults in renderers 2012-01-05 10:26:05 +01:00
Éric Lemoine
f65bc5e764 correct css accessor for tile animation in style.mobile.css 2012-01-05 09:36:47 +01:00
fredj
2fabd6954c Fix indentation 2012-01-04 12:16:06 +01:00
Éric Lemoine
5914cb3566 enable kinetic dragging in the full-screen example 2012-01-03 08:24:41 +01:00
Tim Schaub
709bb7af1b panDuration not used in this example 2012-01-02 20:37:23 -07:00
tschaub
f2168d13b7 Increase timeout to avoid flashes.
Without this change, flashes are fairly frequent while zooming around a full screen map.
2012-01-02 16:07:40 -07:00
Éric Lemoine
e11e4358fa add olMapTileAnim rule in style.mobile.css 2011-12-31 14:13:42 +01:00
Tim Schaub
1008ff89e9 Removing broken (or pointless) examples. 2011-12-09 00:14:13 -07:00
Éric Lemoine
4f66373ae1 demonstrate how to round layer switcher corners with border-radius 2011-12-09 00:11:16 +01:00