3
13
2011
GPSMap Sample
“GPSMap” WordPress plugin
GPS のトラックログデータをWEB地図上にトレースするWordpress用のプラグインにコードを追加して、Google Maps, Yahoo Japan Maps にも対応させてみた.Google とYahoo JapanのAPIは同じようなイメージで扱うことができるので、ソースコードの簡単な手直し程度で済んだ.
グーグル地図サービス [ Google Maps ]
[gpsmap provider=”Google” src=”https://y2lab.org/trip/wp-content/uploads/Data/MtOyama/MtOyamaTrail.gpx” delta=50 map_center=”bounds” draw_time_graph=1 smooth=5 ]
Map Center : [
Latitude, Longitude
, Altitude
]
Zoom:
Grid:
Average Speed : 2.05 [km/h], Cumulative Elevation Gains : Asc. 969.14[m] , Dsc. -1124.28[m]
Yahoo Japan 地図サービス [ Yahoo Japan Maps ]
[gpsmap provider=”Yahoo” src=”https://y2lab.org/trip/wp-content/uploads/Data/KamakuraAsahina/KamakuraAsahina.gpx” delta=50 map_center=”bounds” draw_time_graph=1 smooth=5 speed_unit=”m/s” ]
Map Center : [
Latitude, Longitude
, Altitude
]
Zoom Level: ] Grid:
Zoom Level: ] Grid:
Map Source: Geospacial Information Authority of Japan [ http://www.gsi.go.jp/ ]
General Bathymetric Chart of the Oceans [ http://www.gebco.net ]
Average Speed : 2.70 [m/s], Cumulative Elevation Gains : Asc. 371.72[m] , Dsc. -451.54[m]