座標問題解決
よかった、ちゃんとprojection指定できた^^;
120kbの河川データ読み込ませてるけど表示も早いし操作ももたつかない。いい感じだ。
//河川データ用スタイル設定 var rivstyles = new OpenLayers.StyleMap({ "default": { //通常状態 strokeWidth: 4, strokeColor: "#ff0000" }, "select": { //選択状態 strokeColor: "#0099cc", strokeWidth: 4 } }); //河川データを読み込む var rivers = new OpenLayers.Layer.Vector("river", { strategies: [new OpenLayers.Strategy.Fixed()], protocol: new OpenLayers.Protocol.HTTP({ url: "data/river.json", format: new OpenLayers.Format.GeoJSON() }), projection: new OpenLayers.Projection("EPSG:4326"), styleMap: rivstyles });