目前分類:未分類文章 (3)
- Jan 15 Fri 2016 10:01
RTMP writer
- Aug 26 Sun 2012 11:14
編譯GDB7.5 with arm-his
用了His最新toolchain: arm-hisiv100nptl-linux-gcc (Hisilicon_v100(gcc4.4-290+uclibc_0.9.32.1+eabi+linuxpthread)) 4.4.1
編了gdb7.5,立刻就出現下列錯誤
- Apr 19 Thu 2012 17:20
google map usage
GPS 座標轉 google map
<!DOCTYPE html> <html> <head> <metaname="viewport"content="initial-scale=1.0, user-scalable=no"/> <style type="text/css"> html { height: 100% } body { height: 100%; margin: 0px; padding: 0px } #map_canvas { height: 100% } </style> <scripttype="text/javascript" src="https://maps.google.com/maps/api/js?sensor=false"> </script> <script type="text/javascript"> function initialize() { // N25 04.1472 E121 36.7195 var latlng = new google.maps.LatLng(25+(4.1472/60), 121+(36.7195/60)); var myOptions = { zoom: 16, center: latlng, mapTypeId: google.maps.MapTypeId.ROADMAP, }; var map = new google.maps.Map(document.getElementById("map_canvas"), myOptions); var marker = new google.maps.Marker({ position: latlng, map: map, title:"Hello World!" }); } </script> </head> <bodyonload="initialize()"> <divid="map_canvas"style="width:100%;height:100%"></div> </body> </html>