documentのスクリプトによれば、バックエンドに関連する部分だけがポイントを提供することです。
function getPoints() {
return [
new google.maps.LatLng(37.782551, -122.445368),
new google.maps.LatLng(37.782745, -122.444586),
new google.maps.LatLng(37.782842, -122.443688),
new google.maps.LatLng(37.782919, -122.442815),
new google.maps.LatLng(37.782992, -122.442112),
new google.maps.LatLng(37.783100, -122.441461),
new google.maps.LatLng(37.783206, -122.440829),
new google.maps.LatLng(37.783273, -122.440324),
new google.maps.LatLng(37.783316, -122.440023),
new google.maps.LatLng(37.783357, -122.439794),
new google.maps.LatLng(37.783371, -122.439687),
...
だから、どちらかの点を通る反復として$ LATと$ LNGはPHPで設定する必要があります
<?php
//...
echo "new google.maps.LatLng($lat, $lng),\n"
//...
ようなPHPでそれをエコー、またはgetPoints方法でAJAXの応答を返すことができます。
**私がCodeigniterのヒートマップを作成するために修正しなければならない部分** –
@Abdulla上記の私の質問を参照してください "私はcodeigniter google map v3ライブラリをバイオストールで使っています" –