Commit Graph

15577 Commits

Author SHA1 Message Date
Éric Lemoine 6b2a703b35 Use ol.geom.Polygon.circular in ol.Geolocation 2014-09-23 09:43:13 +02:00
Éric Lemoine a94f02e463 Revert "Function circular renamed to createCircularOnSphere"
This reverts commit ac8e7e16c2.
2014-09-23 09:41:03 +02:00
Éric Lemoine f8702e2038 Call loadFeatures from ol.source.ImageVector 2014-09-23 09:36:00 +02:00
Éric Lemoine 23e597eb25 Add maxZoom option to BingMaps 2014-09-22 15:22:31 +02:00
Éric Lemoine 04f5768c76 Merge pull request #2727 from elemoine/createcircular
Rename ol.geom.Polygon#circular to createCircularOnSphere
2014-09-19 11:13:54 +02:00
Éric Lemoine 49a2f2c926 Merge pull request #2730 from elemoine/tolowercase
Do not call toLowerCase when forming a change:property event
2014-09-19 11:07:17 +02:00
Éric Lemoine ad83f83f2c To do call toLowerCase when forming a change:property event 2014-09-18 18:44:45 +02:00
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 d85d34f3dd Better docs for ol.geom.Polygon#createCircularSphere 2014-09-18 08:48:05 +02:00
Éric Lemoine 122b535393 Better docs for ol.Sphere#offset 2014-09-17 20:22:18 +02: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 ac8e7e16c2 Function circular renamed to createCircularOnSphere 2014-09-17 17:59:46 +02: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
Frederic Junod 0938ab654a Remove target attribute on attributions link 2014-09-17 11:26:15 +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