Commit Graph

2033 Commits

Author SHA1 Message Date
É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
Peter Robins
53d3c695f4 Measure example: correct source link 2014-04-17 14:32:01 -04:00
Frederic Junod
4d548d99a7 Add Tissot indicatrix example 2014-04-15 14:35:27 +02:00
Frederic Junod
9b5512c065 Allow '{-y}' placeholder 2014-04-14 14:27:18 +02:00
Andreas Hocevar
60ab837025 Merge pull request #1950 from jachym/measure_example
Adding simple measure example
2014-04-11 10:06:21 +02:00
Éric Lemoine
59c3857afd Add rotateAroundRome to animation example 2014-04-10 14:05:18 +02:00
Frederic Junod
6b1a4dc88b Use WMTS server from services.arcgisonline.com 2014-04-09 09:22:20 +02:00
Tim Schaub
2a4300085e No markup in shortdesc
The example parser and index template don't handle markup in the shortdesc element.  Use the docs element instead.
2014-04-04 10:07:02 -06:00
Jachym Cepicky
280e3e4ebf Adding simple measure example 2014-04-04 16:13:20 +02:00
Tom Payne
3a462f7076 Add a polygon layer and tweak the style of the tile-vector example 2014-04-03 15:23:24 +02:00
Tom Payne
d3a13a254c Use TopoJSON in tile-vector example 2014-04-03 15:23:24 +02:00
Tom Payne
a68d9f2299 Use openstreetmap.us vector tiles in tile-vector example 2014-04-03 15:23:24 +02:00
Tom Payne
f13debbbc9 Load vector tiles for current resolution 2014-04-03 15:23:24 +02:00
Frederic Junod
fe216e3da1 Better vector style in tile-vector example 2014-04-03 15:12:23 +02:00
Tom Payne
8986ea1ef9 Add tile-vector example 2014-04-03 15:12:23 +02:00
Tom Payne
4a484a7ad3 Separate out feature reading and feature adding 2014-04-03 15:12:22 +02:00
Tim Schaub
86c5a582c7 Rename loadingStrategy to strategy 2014-04-03 15:12:22 +02:00