2016年7月4日月曜日

v3.17.0 がリリースされました

日本時間で(2016.7.4)に v3.17.1 がリリースされました。

Releases - openlayers/ol3 GitHub
(https://github.com/openlayers/ol3/releases)より

v3.17.1
Summary

The v3.17.1 release is a patch release that addresses a regression in the v3.17.0 release. See the v3.17.0 release notes for details on upgrading from v3.16.

v3.17.1 リリースは、v3.17.0 での回帰に対処するパッチリリースです。v3.16 からのアップグレードの詳細について v3.17.0 リリースノートを参照してください。


日本時間で(2016.7.1)に v3.17.0 がリリースされました。

Releases - openlayers/ol3 GitHub
(https://github.com/openlayers/ol3/releases)より

v3.17.0
Summary

The v3.17.0 release includes features and fixes from 60 pull requests since the v3.16.0 release. Most of the changes are bug fixes and continuing removal of the dependency on Closure Library.

v3.17.0 リリースは v3.16.0 のリリースから 60 プルリクエスト(訳注:Git でリクエストを出す機能)からの機能と修正が含まれています。変更のほとんどはバグ修正とClosure Library(クロージャライブラリ)への依存の継続的な除去です。


Upgrade notes

ol.source.MapQuest removal

Because of changes at MapQuest (see: https://lists.openstreetmap.org/pipermail/talk/2016-June/076106.html) we had to remove the MapQuest source for now (see #5484 for details).

MapQuest での変更のため、とりあえず MapQuest ソースを削除します。


ol.interaction.ModifyEvent changes

The event object previously had a mapBrowserPointerEvent property, which has been renamed to mapBrowserEvent.

event オブジェクトは、以前、mapBrowserPointerEvent プロパティでしたが、mapBrowserEvent に名前が替りました。


Removal of ol.raster namespace.

Users compiling their code with the library and using types in the ol.raster namespace should note that this has now been removed. ol.raster.Pixel has been deleted, and the other types have been renamed as follows, and your code may need changing if you use these:

ライブラリでユーザがコードをコンパイルし、ol.raster namespace(名前空間)の type(タイプ)を使用しているときは、これが削除されたことに注意してください。ol.raster.Pixel 削除され、他の type は次のように名前が変更され、これらを使用するならコードを変更する必要があります。

● ol.raster.Operation to ol.RasterOperation
● ol.raster.OperationType to ol.RasterOperationType


All typedefs now in ol namespace

Users compiling their code with the library should note that the following typedefs have been renamed; your code may need changing if you use these:

ライブラリでユーザがコードをコンパイルしているときは、次の typedefs は名前が変更されたことに注意してください。これらを使用するならコードを変更する必要があります。

● ol.events.ConditionType to ol.EventsConditionType
● ol.events.EventTargetLike to ol.EventTargetLike
● ol.events.Key to ol.EventsKey
● ol.events.ListenerFunctionType to ol.EventsListenerFunctionType
● ol.interaction.DragBoxEndConditionType to ol.DragBoxEndConditionType
● ol.interaction.DrawGeometryFunctionType to ol.DrawGeometryFunctionType
● ol.interaction.SegmentDataType to ol.ModifySegmentDataType
● ol.interaction.SelectFilterFunction to ol.SelectFilterFunction
● ol.interaction.SnapResultType to ol.SnapResultType
● ol.interaction.SnapSegmentDataType to ol.SnapSegmentDataType
● ol.proj.ProjectionLike to ol.ProjectionLike
● ol.style.AtlasBlock to ol.AtlasBlock
● ol.style.AtlasInfo to ol.AtlasInfo
● ol.style.AtlasManagerInfo to ol.AtlasManagerInfo
● ol.style.CircleRenderOptions to ol.CircleRenderOptions
● ol.style.ImageOptions to ol.StyleImageOptions
● ol.style.GeometryFunction to ol.StyleGeometryFunction
● ol.style.RegularShapeRenderOptions to ol.RegularShapeRenderOptions
● ol.style.StyleFunction to ol.StyleFunction


v3.17.0 の 追加された examples はありませんでした。
OpenLayers 3 のホームページ(http://openlayers.org/)の「LATEST」の文中の「v3.17.0」をクリックします。
開いたページ「Downloads for the v3.17.0 release(http://openlayers.org/download/)」の「v3.17.0.zip」ボタンをクリックしてダウンロードします。
展開したフォルダを Eclipse の ol3proj にコピーします。

ディレクトリは次のようにしました。
ol3proj
|-v3.0.0/
|-v3.1.1/
|-v3.2.0/
|-v3.2.1/
|-v3.3.0/
|-v3.4.0/
|-v3.5.0/
|-v3.6.0/
|-v3.7.0/
|-v3.8.2/
|-v3.9.0/
|-v3.10.1/
|-v3.11.2/
|-v3.12.1/
|-v3.13.1/
|-v3.14.0/
|-v3.15.0/
|-v3.16.0/
|-v3.17.0/
|-2xx-ol3ex.html
|-2xx-ol3ex.js
|-2xx-ol3ex-require.js
|-loader.js
|-loader-v3.0.0.js
|-loader-v3.1.1.js
|-loader-v3.2.0.js
|-loader-v3.2.1.js
|-loader-v3.3.0.js
|-loader-v3.4.0.js
|-loader-v3.5.0.js
|-loader-v3.6.0.js
|-loader-v3.7.0.js
|-loader-v3.8.2.js
|-loader-v3.9.0.js
|-loader-v3.10.1.js
|-loader-v3.11.2.js
|-loader-v3.12.1.js
|-loader-v3.13.1.js
|-loader-v3.14.0.js
|-loader-v3.15.0.js

v.3.16.0 の loader.js の名前を loader-v3.16.0.js に変更し、v3.17.0/examples/loader.js を ol3proj 直下にコピーします。
ol3proj
|-v3.0.0/
|-v3.1.1/
|-v3.2.0/
|-v3.2.1/
|-v3.3.0/
|-v3.4.0/
|-v3.5.0/
|-v3.6.0/
|-v3.7.0/
|-v3.8.2/
|-v3.9.0/
|-v3.10.1/
|-v3.11.2/
|-v3.12.1/
|-v3.13.1/
|-v3.14.0/
|-v3.15.0/
|-v3.16.0/
|-v3.17.0/
|-2xx-ol3ex.html
|-2xx-ol3ex.js
|-2xx-ol3ex-require.js
|-loader.js
|-loader-v3.0.0.js
|-loader-v3.1.1.js
|-loader-v3.2.0.js
|-loader-v3.2.1.js
|-loader-v3.3.0.js
|-loader-v3.4.0.js
|-loader-v3.5.0.js
|-loader-v3.6.0.js
|-loader-v3.7.0.js
|-loader-v3.8.2.js
|-loader-v3.9.0.js
|-loader-v3.10.1.js
|-loader-v3.11.2.js
|-loader-v3.12.1.js
|-loader-v3.13.1.js
|-loader-v3.14.0.js
|-loader-v3.15.0.js
|-loader-v3.16.0.js

loader.js の内容を次のように修正します。

---
  if (!raw) {
    // document.write('<scr' + 'ipt type="text/javascript" src="../build/ol.js"></scr' + 'ipt>');
     // ディレクトリ修正
    document.write('<scr' + 'ipt type="text/javascript" src="v3.17.0/build/ol.js"></scr' + 'ipt>');

  } else {
    window.CLOSURE_NO_DEPS = true; // we've got our own deps file
    // document.write('<scr' + 'ipt type="text/javascript" src="../closure-library/closure/goog/base.js"></scr' + 'ipt>');
    // document.write('<scr' + 'ipt type="text/javascript" src="../build/ol-deps.js"></scr' + 'ipt>');
     // ディレクトリ修正
    document.write('<scr' + 'ipt type="text/javascript" src="v3.17.0/closure-library/closure/goog/base.js"></scr' + 'ipt>');
    document.write('<scr' + 'ipt type="text/javascript" src="v3.17.0/build/ol-deps.js"></scr' + 'ipt>');

    document.write('<scr' + 'ipt type="text/javascript" src="' + scriptId + '-require.js"></scr' + 'ipt>');
  }
  document.write('<scr' + 'ipt type="text/javascript" src="' + scriptId + '.js"></scr' + 'ipt>');
}());


0 件のコメント: