2015年5月29日金曜日
JSONファイルを取り込む
色々な手段があるのだろうが、一番簡単で上手くいったのはコレ
http://www.openspc2.org/JavaScript/Ajax/Ajax_study/chapter03/006/index.html
サンプルコード内で参照しているxmlhttp.jsとやらはこちらに
http://www.openspc2.org/JavaScript/Ajax/Ajax_study/chapter02/005/index.html
jQueryの有望なようなんだがシンプルな解答にたどり着けなかった
http://directorblog.jp/archives/50960177.html
Node.jsもしかり。
http://www.openspc2.org/JavaScript/Ajax/Ajax_study/chapter03/006/index.html
サンプルコード内で参照しているxmlhttp.jsとやらはこちらに
http://www.openspc2.org/JavaScript/Ajax/Ajax_study/chapter02/005/index.html
jQueryの有望なようなんだがシンプルな解答にたどり着けなかった
http://directorblog.jp/archives/50960177.html
Node.jsもしかり。
open data
World Bank
http://datacatalog.worldbank.org/
San Mateoの環境データベース
https://data.smcgov.org/browse?category=Environment
http://datacatalog.worldbank.org/
San Mateoの環境データベース
https://data.smcgov.org/browse?category=Environment
Google Maps APIでオーバーレイ部分の消去
「非表示」ではなく「消去」
http://phpjavascriptroom.com/?t=ajax&p=googlemapsapiv3_overlays#a_remove
要するに参照先のデータアレイを空っぽにしてしまうということのようだ
mapオブジェクト自体を初期化すると地図自体をリロードするので(一度真っ白になる)見ててウザい。この方法が好ましい
http://phpjavascriptroom.com/?t=ajax&p=googlemapsapiv3_overlays#a_remove
要するに参照先のデータアレイを空っぽにしてしまうということのようだ
mapオブジェクト自体を初期化すると地図自体をリロードするので(一度真っ白になる)見ててウザい。この方法が好ましい
2015年5月27日水曜日
Javascriptの基礎
デバッグ
http://postd.cc/how-to-not-hate-javascript-tips-from-the-frontline/
色々リファレンス
http://www.ajaxtower.jp/js/
オブジェクトの取り扱い
http://d.hatena.ne.jp/nattou_curry_2/20090801/1249109261
演算子
http://ja.wikibooks.org/wiki/JavaScript/%E6%BC%94%E7%AE%97%E5%AD%90
配列の最後に要素を追加
http://www.24w.jp/study_contents.php?bid=javascript&iid=javascript&sid=array&cid=008
http://postd.cc/how-to-not-hate-javascript-tips-from-the-frontline/
色々リファレンス
http://www.ajaxtower.jp/js/
オブジェクトの取り扱い
http://d.hatena.ne.jp/nattou_curry_2/20090801/1249109261
演算子
http://ja.wikibooks.org/wiki/JavaScript/%E6%BC%94%E7%AE%97%E5%AD%90
配列の最後に要素を追加
http://www.24w.jp/study_contents.php?bid=javascript&iid=javascript&sid=array&cid=008
Google Maps API "Heatmap Layer"
Google公式ガイド
https://developers.google.com/maps/documentation/javascript/heatmaplayer?hl=ja
APIリファレンス
https://developers.google.com/maps/documentation/javascript/reference#HeatmapLayer
HTML + JSのサンプル
https://developers.google.com/maps/documentation/javascript/examples/layer-heatmap
http://jsfiddle.net/EBQQH/
http://www.joyofdata.de/blog/interactive-heatmaps-with-google-maps-api/
Earthquake Mappingを事例にした説明
https://developers.google.com/maps/tutorials/visualizing/earthquakes?hl=ja
Google Maps APIを拡張した独自のAPI?(試してない)
http://www.heatmapapi.com/sample_googlev3.aspx
https://developers.google.com/maps/documentation/javascript/heatmaplayer?hl=ja
APIリファレンス
https://developers.google.com/maps/documentation/javascript/reference#HeatmapLayer
HTML + JSのサンプル
https://developers.google.com/maps/documentation/javascript/examples/layer-heatmap
http://jsfiddle.net/EBQQH/
http://www.joyofdata.de/blog/interactive-heatmaps-with-google-maps-api/
Earthquake Mappingを事例にした説明
https://developers.google.com/maps/tutorials/visualizing/earthquakes?hl=ja
Google Maps APIを拡張した独自のAPI?(試してない)
http://www.heatmapapi.com/sample_googlev3.aspx
2015年5月2日土曜日
登録:
投稿 (Atom)