Commit Graph

1030 Commits

Author SHA1 Message Date
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
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
Tim Schaub
938cd65116 Merge pull request #275 from probins/newex
New example using YQL for cross-origin xml (thanks @probins).
2012-03-04 20:28:46 -08:00
Tim Schaub
80ab5d5161 Resize on zoom (would that it were the default). 2012-03-04 20:45:42 -07:00
Peter Robins
e267c3a53d Example for cross-origin xml 2012-03-04 12:52:58 +00:00
Tim Schaub
c6aa996d2a UTFGrid geography class example. 2012-03-04 01:58:22 -07:00
Tim Schaub
36d22bbb15 Single argument constructor for UTFGrid layer. 2012-03-03 16:07:50 -07:00
Tim Schaub
2feb860983 Separating UTFGrid example markup and js source. 2012-03-03 16:07:50 -07:00
Tim Schaub
c6650087cc Update zoom example to demonstrate custom style. 2012-03-02 23:51:39 -07:00
Tim Schaub
45b9c48c43 Accommodations for IE. 2012-03-02 22:11:40 -07:00
Tim Schaub
b9b471f57b Merge branch 'master' into zoom 2012-03-02 21:26:58 -07:00
tschaub
66e8fafdf2 Correcting example typo. Thanks @probins. 2012-03-02 18:38:42 -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
ahocevar
39962a6179 Using v3.6 of the GMaps v3 API everywhere. 2012-03-02 11:02:22 +01:00
tschaub
5a355f3760 Attribution update. 2012-03-01 16:33:50 -07:00
tschaub
31219c90f5 Adding XYZ example using MapBox tiles. 2012-03-01 13:13:35 -07: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
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
Tim Schaub
4d31a3ed3a Method for getting both feature id and data.
Having to call two methods to get complete feature information (id and data) is cumbersome.  The `getFeatureInfo` method returns an object with both feature id and data.
2012-02-28 05:37:28 -07:00
Éric Lemoine
cb27e9def4 Merge pull request #250 from camptocamp/access_clickexample
Accessible click control example
2012-02-28 03:15:43 -08:00
Éric Lemoine
43809ea330 Merge pull request #222 from camptocamp/access_keyboardcontrol
KeyboardDefaults control improvements
2012-02-28 03:02:19 -08:00
Éric Lemoine
9c2255706c click-keyboard example renamed to accessible-click-control 2012-02-28 10:48:50 +01:00
Éric Lemoine
eb700d98e1 add an example for an accessible click control implementation 2012-02-28 10:46:49 +01:00
tschaub
89e8a872a5 Making the default UTFGrid resolution 2.
According to the latest [spec](https://github.com/mapbox/utfgrid-spec/blob/master/1.2/utfgrid.md): "By default, UTFGrid operates on a 2x2 grid."
2012-02-27 08:57:22 -07:00
Tim Schaub
fc03f57591 Simplify constructor by setting projection. 2012-02-26 19:23:22 -07:00
Tim Schaub
6ffce8cfb6 Remove unused list item. 2012-02-25 20:00:46 -07:00
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