2012-09-03から1日間の記事一覧
Styleで色指定しなくてもいいならこれってことなのかな http://openlayers.org/dev/examples/highlight-feature.html
レイヤー作ってそこにaddMarkerすればいいのは分かった。 じゃぁ、消すときは? http://openlayers.org/dev/examples/markers.htmlremoveLayerあるじゃん http://dev.openlayers.org/releases/OpenLayers-2.5/doc/apidocs/files/OpenLayers/Map-js.html#Open…
点の追加の時使う予定 http://openlayers.org/dev/examples/mouse-position.html
英語読めないけどなんとなく分かるような・・・ http://docs.openlayers.org/library/spherical_mercator.html
参考 http://y2web.net/blog/inet/web/google_maps_on_openlayers-2576/
よかった、ちゃんとprojection指定できた^^; 120kbの河川データ読み込ませてるけど表示も早いし操作ももたつかない。いい感じだ。 //河川データ用スタイル設定 var rivstyles = new OpenLayers.StyleMap({ "default": { //通常状態 strokeWidth: 4, strok…