Commit Graph

14965 Commits

Author SHA1 Message Date
Tim Schaub 9da909dd57 Merge pull request #2728 from tschaub/exports
Mark `ol.extent.getIntersection` as stable.
2014-09-18 07:11:44 -06:00
Éric Lemoine 5416badde1 Merge pull request #2726 from elemoine/feature-setstyle
Make ol.Feature#setStyle accept null
2014-09-17 19:56:28 +02:00
Tim Schaub 9f1bdc7c83 Mark ol.extent.getIntersection as stable 2014-09-17 11:24:54 -06:00
Éric Lemoine d335318496 Make ol.Feature#setStyle accept null 2014-09-17 17:52:51 +02:00
Frédéric Junod 5eaafc5936 Merge pull request #2724 from fredj/examples-unknownDefines
Error when compiling individual example
2014-09-17 16:25:58 +02:00
Frederic Junod 7ba7a61bb8 Disable unknownDefines check when compiling individual examples 2014-09-17 16:11:15 +02:00
Éric Lemoine dfb2734368 Merge pull request #1959 from elemoine/feature-box-selection
Add a feature box selection example
2014-09-17 15:02:23 +02:00
Éric Lemoine 6a450f45e1 Merge pull request #2722 from elemoine/nullview
Make ol.Map#setView do not accept undefined
2014-09-17 15:01:41 +02:00
Éric Lemoine f7e81f84db Zoom control should not act on a null view 2014-09-17 13:32:45 +02:00
Éric Lemoine 79932ee2f2 Rotate control should not act on a null view 2014-09-17 13:32:31 +02:00
Éric Lemoine 8660f00917 Do not exec animation functions when frameState is null 2014-09-17 12:49:46 +02:00
Éric Lemoine 72e173d925 Rename ol.extent.segmentIntersects to intersectsSegment 2014-09-17 12:26:26 +02:00
Éric Lemoine 79445e993b Add a box feature selection example 2014-09-17 12:26:26 +02:00
Éric Lemoine 227f3bae18 Add ol.source.Vector#forEachFeatureIntersectingExtent 2014-09-17 12:26:26 +02:00
Éric Lemoine 88911200c2 Add ol.geom.GeometryCollection#intersectsExtent 2014-09-17 12:17:32 +02:00
Éric Lemoine 92c2aca480 Add ol.geom.MultiLineString#intersectsExtent 2014-09-17 12:17:32 +02:00
Éric Lemoine 8d7cf7960a Add ol.geom.LineString#intersectsExtent 2014-09-17 12:17:32 +02:00
Éric Lemoine d1f6f132d6 Add ol.geom.MultiPolygon#intersectsExtent 2014-09-17 12:17:32 +02:00
Éric Lemoine 8bdeca9f0a Add ol.geom.Polygon#intersectsExtent 2014-09-17 12:17:32 +02:00
Éric Lemoine 67f98145bb Add ol.geom.MultiPoint#intersectsExtent 2014-09-17 12:17:32 +02:00
Éric Lemoine 612cf70560 Add ol.geom.Point#intersectsExtent 2014-09-17 12:17:32 +02:00
Éric Lemoine a740f32e4d Add ol.geom.Geometry#intersectsExtent (abstract method) 2014-09-17 12:17:32 +02:00
Éric Lemoine cdbc1a07be Add ol.geom.flat.intersectsextent
Includes functions for testing if an extent and a geometry intersect.
2014-09-17 12:17:31 +02:00
Éric Lemoine 49fa7c01d4 Add ol.geom.flat.contains.linearRingContainsExtent 2014-09-17 12:17:31 +02:00
Éric Lemoine 3ce6229d34 Add ol.geom.flat.segments.forEach 2014-09-17 12:17:31 +02:00
Éric Lemoine 24321f6feb Add ol.extent.containsXY 2014-09-17 12:17:31 +02:00
Éric Lemoine b5db9db453 Add ol.extent.forEachCorner 2014-09-17 12:17:31 +02:00
Éric Lemoine cb8b896230 Make ol.Map#setView do not accept undefined
With this change map.setView(null) is permitted, but map.setView(undefined) is not. map.getView now always returns a defined value, which may be null is setView was called with null.
2014-09-17 11:47:24 +02:00
Éric Lemoine 163cc5b873 Merge pull request #2696 from gberaudo/consistent_circle_transform
Consistent circle transform.
2014-09-16 14:39:17 +02:00
Guillaume Beraudo d67cefdf3a Consistent circle transform
Depending on compilation flags, applying a transform used to either:
- work;
- fail throwing an abstract method not implemented message;
- fail silently.

Now it should consistently work, like the other geometries.

Adding a polygon factory method creating an approximation of a circle on
a plane would be useful for users wanting the circle to be deformed.
It would be similar to the `circular` function which creates an
approximation of a circle on a sphere.
2014-09-16 13:41:17 +02:00
Frédéric Junod 8e2cc7e3db Merge pull request #2717 from fredj/rotate-css
Change the control visibility by using css class
2014-09-16 13:29:58 +02:00
Frederic Junod e136b4b4db Change the control visibility by using css class
Instead of changing the button opacity in the control, only add/remove
a css class (ol-hidden). This let the developer easily change the
behavior by updating the css.
2014-09-16 11:00:44 +02:00
Éric Lemoine 7e502ac477 Merge pull request #2715 from elemoine/tissot
Add an EPSG:3857 map to Tissot example
2014-09-15 19:44:31 +02:00
Éric Lemoine 83ded37cbc Add an EPSG:3857 map to Tissot example 2014-09-15 18:19:10 +02:00
Frédéric Junod 0b43183616 Merge pull request #2714 from fredj/opacity
Set the opacity directly to element.style.opacity
2014-09-15 17:13:50 +02:00
Frederic Junod ec9386acfe Set the opacity directly to element.style.opacity
goog.style.setOpacity handles the IE8 case (but we are doing the same
above in the same function) and Firefox prior to version 3.5 (latest
stable release in April 2011).

See https://developer.mozilla.org/en-US/docs/Web/CSS/opacity
2014-09-15 16:01:24 +02:00
Frédéric Junod 8bf43f5f22 Merge pull request #2647 from fredj/closure-lib-upgrade
Upgrade closure library version
2014-09-15 14:36:17 +02:00
Frédéric Junod 007fc34a23 Merge pull request #2549 from fredj/assume-array-native
Use goog.array.ASSUME_NATIVE_FUNCTIONS define
2014-09-15 13:28:14 +02:00
Éric Lemoine 2c37a99332 Merge pull request #2711 from elemoine/remove-gmaps-example
Remove Google Maps example
2014-09-12 14:01:37 -07:00
Éric Lemoine 1bc650a19c Remove Google Maps example 2014-09-12 18:41:33 +02:00
Andreas Hocevar b431487435 Merge pull request #2684 from ahocevar/notify-change
Rename ol.Observable#dispatchChangeEvent() to #changed()
2014-09-11 15:51:22 -07:00
Andreas Hocevar 3da9a67162 Merge pull request #2678 from ahocevar/mutable-styles
Mutable symbolizer properties for styles
2014-09-11 13:14:43 -07:00
Andreas Hocevar 267a950435 Mention the need to re-render in a single place only 2014-09-11 13:13:17 -07:00
Bart van den Eijnden b86cb1f7b5 Merge pull request #2568 from bartvde/gml-autoconfigure
re-implement auto-configure code for ol.format.GML (r=@ahocevar)
2014-09-11 20:47:24 +02:00
Bart van den Eijnden 19319356d7 Auto configure ol.format.GML if not configured with a featureNS/featureType 2014-09-11 20:03:02 +02:00
Marc Jansen dfa6a7c497 Merge pull request #2704 from gberaudo/pooled_example_checks
Use pool thread for calling bin/check-example.js.
2014-09-11 17:35:26 +02:00
Frederic Junod fb87c22359 Set goog.array.ASSUME_NATIVE_FUNCTIONS to true 2014-09-11 13:24:13 +02:00
Guillaume Beraudo 590486fa72 Use pool thread for calling bin/check-example.js.
Saves 50s out of 60s on my machine, that is 83%.
Fixes https://github.com/openlayers/ol3/issues/2695
2014-09-11 09:30:44 +02:00
Andreas Hocevar 593532cb5a Merge pull request #2698 from ahocevar/feature-not-abstract
StaticVector is not an abstract base class
2014-09-10 08:03:15 -07:00
Frédéric Junod be7ee49701 Merge pull request #2702 from fredj/export-map
Add vector layer in export-map example
2014-09-10 09:48:32 +02:00