Permalink
Browse files

Describing changes in release notes.

  • Loading branch information...
1 parent 66de55e commit 4c97f492c61f2d987cec75e1ae6739e165affda1 @tschaub tschaub committed Dec 11, 2011
Showing with 7 additions and 0 deletions.
  1. +7 −0 notes/2.12.md
View
@@ -43,3 +43,10 @@ The `roundedCorner` option of `Control.LayerSwitcher` is deprecated, and it now
See more detail in the Rico deprecation [pull request](https://github.com/openlayers/openlayers/pull/99).
In future releases we intend to move the Rico and `AnchoredBubble` code into deprecated.js. You really should consider stop using Rico-based functionalities in your applications.
+
+## Changes in Geometry
+
+The base `OpenLayers.Geometry` class no longer depends on `OpenLayers.Format.WKT` or `OpenLayers.Feature.Vector`. If you want to make use of the `OpenLayers.Geometry.fromWKT` method, you must explicitly include the OpenLayers/Format/WKT.js file in your build.
+
+Without the WKT format included (by default), the the `OpenLayers.Geometry::toString` method now returns "[object Object]." Previously, it returned the Well-Known Text representation of the geometry. To maintain the previous behavior, include the OpenLayers/Format/WKT.js file in your build.
+

0 comments on commit 4c97f49

Please sign in to comment.