
Versi prototaip ini sudah lapuk, sebaliknya sila gunakan versi terkini.
このプロトタイプ版は廃止されました、代わりに最新バージョンを使用してください。

Polyline drawing stop working with the release of Google Map Javascript API v3.16 on 20 May 2014. Link : https://groups.google.com/forum/#!forum/google-maps-js-api-v3-notify. Bug report : https://code.google.com/p/gmaps-api-issues/issues/detail?id=6735.
Lukisan poligaris berhenti berfungsi apabila Google Map Javascript API v3.16 diterbitkan pada 20 Mei 2014. Link:. https://groups.google.com/forum/#!forum/google-maps-js-api-v3-notify.Laporan pepijat: https://code.google.com/p/gmaps-api-issues/issues/detail?id=6735.
ポリライン停止作業を描画するときに2014年5月20日にGoogle Maps JavaScript API v3.16のリリース。リンク
:https://groups.google.com/forum/#!forum/google-maps-js-api-v3-notify. バグレポート:https://code.google.com/p/gmaps-api-issues/issues/detail?id=6735.
Lukisan poligaris berhenti berfungsi apabila Google Map Javascript API v3.16 diterbitkan pada 20 Mei 2014. Link:. https://groups.google.com/forum/#!forum/google-maps-js-api-v3-notify.
ポリライン停止作業を描画するときに2014年5月20日にGoogle Maps JavaScript API v3.16のリリース。リンク

The same problem also occurs in the original program, http://nettique.free.fr/gmap/toolbar.html. Masalah yang sama juga berlaku pada program asal,http://nettique.free.fr/gmap/toolbar.html. 同じ問題は、オリジナルのプログラムで発生しますhttp://nettique.free.fr/gmap/toolbar.html
Temporary workaround / Penyelesaian sementara / 一時的な回避策 (update 1 Sept 2014)
gb maps.html
- Open "gb maps.html" file with any text editor software.
Buka fail "gb maps.html" dengan mana-mana perisian editor teks.
任意のテキストエディタソフトウェアを使用して「gb maps.html」ファイルを開きます。 Please look for line 32,
Sila cari baris 32,
32行目を探してください。
<script type="text/javascript" src="https://maps.google.com/maps/api/js?v=3&sensor=false&libraries=geometry"></script>
the default version for this setting is current version, i.e. v3.16. please change back to v3.15.
versi lalai untuk tetapan ini adalah versi terkini, iaitu v3.16. sila tukar kembali ke v3.15.
デフォルトのバージョンは、現在のバージョン(v3.16)である。 v3.15に戻す変更してください。
<script type="text/javascript" src=https://maps.google.com/maps/api/js?v=3.15&sensor=false&libraries=geometry></script>
- If you have changed this setting, please change back to the original.
Jika anda telah menukar tetapan ini, sila tukar kembali ke asal.
この設定を変更した場合、元に変更してください。
<script type="text/javascript" src="https://maps.google.com/maps/api/js?v=3.exp&sensor=false&libraries=geometry"></script>
OR
<script type="text/javascript" src="https://maps.google.com/maps/api/js?v=3&sensor=false&libraries=geometry"></script>
gbm-base-p3d1.js
- open "gbm-base-p3d1.js" file in script folder.
Buka fail "GBM-base-p3d1.js" dalam folder script.
scriptフォルダで開く"GBM-base-p3d1.js」ファイル。
- go to line 1303, change "poly.setPath(new google.maps.MVCArray(path));" to "poly.setPath(path);"
Pergi ke baris 1303, dan tukarkan "poly.setPath(new google.maps.MVCArray(path));" ke "poly.setPath(path);"
変更、行1303に行く「poly.setPath(new google.maps.MVCArray(path));」から「poly.setPath(path);」
MapToolbar.Feature.prototype.createLine = function(opts, path) { var poly = new google.maps.Polyline({ strokeWeight: opts.strokeWeight, strokeColor: opts.strokeColor, geodesic: true }), self = this;return poly; }// 01/09/2014 - This not work //poly.setPath(new google.maps.MVCArray(path)); // 01/09/2014 - This will work poly.setPath(path);
- Save this file.
Simpan fail ini.
このファイルを保存します。
gbm-func-p3d1.js
- next, open "gbm-func-p3d1.js" file in script folder.
Seterusnya, buka fail "GBM-func-p3d1.js" dalam folder script.
次に、scriptフォルダ内の開いた「GBM-func-p3d1.js」ファイル。
- go to line 995, change "path: [extp]," to "path: extp,"
Pergi ke baris 995, dan tukarkan "path: [extp]," ke "path: extp,"
変更、行995に行く「path: [extp],」から「path: extp,」
var color = MapToolbar.getColor(true),
curve = new google.maps.Polyline({
// 01/09/2014 - This not work
// path: [extp],
// 01/09/2014 - This will work
path: extp,
strokeColor: "#FF0000",
strokeOpacity: 0.7,
geodesic: true,
map: map,
strokeWeight: 1
});- Repeat this step for line 2281.
Ulangi langkah ini untuk baris 2281.
ライン2281に対して、この手順を繰り返します。
- Save this file.
Simpan fail ini.
このファイルを保存します。
Done.
Selesai.
完了。

Please vote this bug report so that it gets attention. Sila undi laporan pepijat ini supaya ia mendapat perhatian.
https://code.google.com/p/gmaps-api-issues/issues/detail?id=6735


I hope all the bugs will be fixed as soon as possible because it is a very efficient program so I hope you will update it.
ReplyDelete