今天天气好热啊, linphone 是个啥东西啊,clone了半天才弄下来,又打不开
http://www.oschina.net/p/opengts 这是一个开源的,提供一个基础框架 用于创建属于你自己的基于web的GPS跟踪系统。使用google maps 来mapping。
http://www.importnew.com/3988.htmlAndroid开发者必知的开发资源;
http://www.importnew.com/cat/android , 用Android应用开发Andoird应用
http://code.mapabc.com/APIForAndroid/com/mapabc/mapapi/RouteOverlay.html,百度地图api
Question : I have a custom overlay that basically draws a route from a list of co-ordinates onto a map(在一个自定义的图层上面标注一系列的点). This all works fine but I need the map, when it
first loads ,to set it's position and zoom level so it fits the route into the mapview control (当这个自定义图层第一次加载的时候,如何去设置它的中心点以及缩放层级让所有的点都很合适的显示出来).
Answer :Firstly I needed to find the min and max, lat and long coordinates of my route.
With these I could set the centre like so:
centerPoint =newGeoPoint((int)((minLat+((maxLat-minLat)/2))*1e6),(int)((minLon+((maxLon-minLon)/2))*1e6));
mController.setCenter(centerPoint);
and set the zoom level like so:
mController.zoomToSpan((int)((maxLat - minLat)*1e6),(int)((maxLon - minLon)*1e6));