Commit Graph

26 Commits

Author SHA1 Message Date
Tim Schaub ad62739a6e Use blocked scoped variables
In addition to using const and let, this also upgrades our linter config and removes lint (mostly whitespace).
2018-01-12 00:50:30 -07:00
Tim Schaub 32ee149909 Rename _ol_source_TileWMS_ to TileWMS 2018-01-10 09:36:29 -07:00
Tim Schaub ca6ea355e6 Rename _ol_source_Vector_ to VectorSource 2018-01-10 09:36:28 -07:00
Tim Schaub 45c6e43b42 Rename _ol_layer_Vector_ to VectorLayer 2018-01-10 09:36:23 -07:00
Tim Schaub 1c1f008238 Rename _ol_View_ to View 2018-01-10 09:35:42 -07:00
Tim Schaub 22fce4f97b Rename _ol_Feature_ to Feature 2018-01-10 09:35:35 -07:00
Ron Young b8b64ac655 rename in examples 2017-12-21 23:11:42 -07:00
Tim Schaub c89738cadb Named exports instead of static functions from ol/geom/Polygon 2017-12-20 23:48:35 -07:00
Tim Schaub 54b8622114 Replace ol/Sphere with ol/sphere 2017-12-20 23:48:34 -07:00
Marc Jansen 25946b4541 Rename _ol_layer_Tile_ to TileLayer 2017-12-19 08:45:00 +01:00
Tim Schaub c502f016f7 Rename _ol_geom_Polygon_ to Polygon 2017-12-14 08:56:12 -07:00
Tim Schaub 7f47883c48 Transformed 2017-12-12 06:53:18 -07:00
Andreas Hocevar 2dcecb9d59 Use GeoServer/GWC caching when possible 2017-03-21 16:17:43 +01:00
Andreas Hocevar 1181607f39 Use a https enabled GeoServer 2016-10-17 19:53:52 +02:00
Peter Robins d4024846cf Remove plain string from Map renderer option
To get this to compile with the examples, typecasts have to be added to Map renderer options.
2016-09-16 15:43:20 +00:00
Tim Schaub 89f5e711e6 Example sources in the examples dir 2015-04-17 06:22:38 -06:00
Andreas Hocevar ff1ee78ddd Build and parse examples from examples_src/ 2015-04-02 19:10:09 +02:00
Andreas Hocevar 0d16e0f0c8 Use new demo GeoServer location
demo.opengeo.org currently redirects to demo.boundlessgeo.com, so this
change makes it so the new location is used directly.
2014-12-03 14:13:36 +01:00
Éric Lemoine a94f02e463 Revert "Function circular renamed to createCircularOnSphere"
This reverts commit ac8e7e16c2.
2014-09-23 09:41:03 +02:00
Éric Lemoine ac8e7e16c2 Function circular renamed to createCircularOnSphere 2014-09-17 17:59:46 +02:00
Éric Lemoine 83ded37cbc Add an EPSG:3857 map to Tissot example 2014-09-15 18:19:10 +02:00
Éric Lemoine ad8a1f5fb6 Make tissot example use ol.Sphere 2014-08-29 11:57:44 +02:00
Frederic Junod 134a4e220d Change WMS server in examples 2014-08-07 17:25:08 +02:00
Tim Schaub 47d37fabea Rename ol.View2D to ol.View 2014-06-27 09:59:39 -04: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
Frederic Junod 4d548d99a7 Add Tissot indicatrix example 2014-04-15 14:35:27 +02:00