Commit Graph

2249 Commits

Author SHA1 Message Date
Andreas Hocevar
88ab1ac61a Doc changes suggested by @probins 2014-07-08 22:06:21 +02:00
Andreas Hocevar
8b2277cdda Use proj4.defs instead of proj4.Proj, to conform with the proj4js API 2014-07-08 22:06:21 +02:00
Andreas Hocevar
0c62469f50 Update example to show transparent proj4js integration 2014-07-08 22:06:21 +02:00
Andreas Hocevar
dfe92da58d Update example to show manual proj4js configuration 2014-07-08 22:06:21 +02:00
Andreas Hocevar
971c1137bc Download and use new proj4js 2014-07-08 22:06:20 +02:00
Éric Lemoine
fa25f2a477 Remove examples/loader.js
That script was used when Plovr was used for running the examples.
2014-07-05 23:36:59 +02:00
Éric Lemoine
a157ecd788 Make compiler happy by replacing 0e6 by 0 2014-07-04 10:51:17 +02:00
Éric Lemoine
067345a4b0 Merge pull request #2293 from elemoine/vector-wfs
Minor change to vector-wfs example
2014-07-03 14:55:13 +02:00
Éric Lemoine
6abba32707 Minor change to vector-wfs example
My linter complains that vectorSource is used before it is defined.
2014-07-03 14:53:49 +02:00
Éric Lemoine
f8ba6758a2 Add "action type" select to select-features example
Making it possible to choose between three select interactions, one that works on "singleclick", one that works on "click", and one that works on "mousemove".
2014-07-03 09:24:23 +02:00
Erik Timmers
1e61485e11 Extend WKT parser from ol.format.TextFeature 2014-06-27 23:35:36 +02:00
Erik Timmers
61378098e6 Restore the WKT parser, example & tests 2014-06-27 23:35:35 +02:00
Tim Schaub
47d37fabea Rename ol.View2D to ol.View 2014-06-27 09:59:39 -04:00
Tim Schaub
b9f444a008 Rename olx.View2DState to olx.ViewState and use viewState property 2014-06-27 09:58:25 -04:00
Tim Schaub
b88d2aebc9 Remove view.getView2D() method 2014-06-27 09:52:19 -04:00
Tim Schaub
3c1cb55079 Remove IView and IView2D 2014-06-27 09:52:19 -04:00
Éric Lemoine
fba89275d8 Use exampleNS.strToBase64 in kml example 2014-06-25 15:58:56 +02:00
Éric Lemoine
78ac2c8a76 Add export button to kml example 2014-06-25 12:25:43 +02:00
Frederic Junod
a6d059649f Cleanup vector-labels example 2014-06-24 16:45:58 +02:00
Éric Lemoine
d7a046a0dc Merge pull request #2200 from probins/examplereadme
Add examples/readme
2014-06-22 19:08:16 +02:00
Peter Robins
8dcbded96a Add examples/readme 2014-06-22 11:57:03 -04:00
Frederic Junod
6194eeda8e Fix invalid input tag in igc example 2014-06-19 11:37:47 +02:00
Frédéric Junod
32f58b4b4e Merge pull request #2220 from fredj/synthetic-points-popup
Remove the unused popup from the synthetic-points example
2014-06-19 09:55:43 +02:00
Éric Lemoine
dc6867ea2f Merge pull request #2216 from elemoine/pixelratio
Add tilePixelRatio option to ol.source.WMTS
2014-06-19 09:51:41 +02:00
Frederic Junod
8d12c76c1d Remove the unused popup from the synthetic-points example 2014-06-19 09:43:37 +02:00
Éric Lemoine
16c9d9bf09 Use tilePixelOption in wmts-hidpi example 2014-06-18 13:34:57 +02:00
Andreas Hocevar
4e52224c12 Add example 2014-06-18 13:34:57 +02:00
Éric Lemoine
a7b4a08e07 Add "None" to draw-features example's select
This allows to deactivate drawing entirely in the example.
2014-06-18 08:26:45 +02:00
Bart van den Eijnden
6fa0aa252c Get rid of unused info div in vector-wfs example 2014-06-17 11:05:19 +02:00
Frederic Junod
04cb3c4299 Remove ol.easing.elastic and ol.easing.bounce
And move the code to the animation example
2014-06-12 12:42:03 +02:00
Andreas Hocevar
c8c0f087f0 Restore synchronized map panning in google-map example 2014-06-10 16:11:40 +02:00
Éric Lemoine
f0dbcfd541 Merge pull request #2114 from tsauerwein/draw-and-modify
Add example combining draw and modify interaction
2014-06-10 10:00:27 +02:00
Andreas Hocevar
f27c91e27f Merge pull request #2130 from adube/fix-example-gmaps-zooms
Fix GoogleMaps example view max zoom levels
2014-06-09 22:22:34 +02:00
tsauerwein
88197360c1 Add example combining draw and modify interaction 2014-06-06 15:17:06 +02:00
mprins
a6d26c53e1 Enhance and improve the accessibility example.
Changes to improve the accessibility example:

 - remove the `accesskey` attributes. Use of the `accesskey` is generally not recommended as it tends to cause conflicts with AT software and user settings.
 - Change the scripted "Go to map" accesskey to a regular skiplink.
 - Use script to inject the buttons below the map, if the map were to fail for lack of javascript support the buttons should not be there either. These should be buttons (and not hyperlinks) because they provide an action not a navigation.
 - Update the docs.
 - Add an empty `alt` attribute to the logo since it is strictly decorative (this should probably be done sitewide - which IMO is out of scope for this PR)
2014-06-03 09:28:43 +02:00
Alexandre Dubé
2e067c67e5 Fix GoogleMaps example view max zoom levels 2014-05-27 14:44:15 -04:00
Tim Schaub
9323bbdcd0 Give Somaliland and Northern Cyprus unique ids 2014-05-26 10:31:27 -06:00
Frederic Junod
ff1a9d420d Add an extent constraint to the device-orientation example 2014-05-26 13:37:33 +02:00
Frederic Junod
2f918ea2a4 Remove unused goog.require 2014-05-21 16:06:32 +02:00
Tim Schaub
e17c8c79f9 Merge pull request #2079 from tschaub/view-options
Support zoom and resolution constrained views.
2014-05-16 11:26:09 -06:00
Tim Schaub
3793f33acf Handle minZoom in getZoom and setZoom 2014-05-16 04:56:42 -06:00
Andreas Hocevar
687abda9fb Need to be more specific about the coordinate format now. 2014-05-15 20:56:09 +02:00
Éric Lemoine
8610a91ea9 Set snapToPixel to false in dynamic-data example 2014-05-07 18:01:24 +02:00
Antoine Abt
a51e834fef Merge pull request #2027 from tonio/rotate
Add a rotate control
2014-05-06 15:36:01 +02:00
Tim Schaub
1110da37e1 Move ol.Sphere#circle to ol.geom.Polygon.circular
Previously, ol.geom.Polygon was a transitive dependency of ol.proj (since ol.proj requires ol.sphere.NORMAL, and all spheres were capable of generating circular polygons).  Instead, ol.proj should be lower-level.  Since it deals only with coordinate arrays, it shouldn't depend on all of the geometry code.

By adding a static `circular` function to `ol.geom.Polygon`, the dependency tree makes more sense.  If you want to create a polygon that approximates a circle on a sphere, you require `ol.geom.Polygon` and `ol.Sphere` (or one of the constants).

This makes room for geometries to have a `transform` method that takes projection-like arguments (meaning that `ol.geom.Geometry` will require `ol.proj`).
2014-05-02 11:25:44 -06:00
Antoine Abt
0bec5b5590 Add base control class, to simplify stylesheet 2014-05-02 14:12:31 +02:00
Andreas Hocevar
7b4c240a5a Merge pull request #2004 from ahocevar/bind-webgl
Bind input example is broken since default renderer has changed
2014-05-02 11:08:32 +02:00
Bart van den Eijnden
b91d8871df Add fifth value for BBOX to be conforming to the WFS 1.1 spec 2014-04-28 17:57:30 +02:00
Bart van den Eijnden
962ddff1c2 Implement readProjection on ol.format.WFS and add WFS JSONP example 2014-04-24 20:58:32 +02:00
Andreas Hocevar
32dda342aa Only show controls for WebGL settings when WebGL is used 2014-04-22 16:29:53 +02:00