Hello Map View 取得連結 Facebook X Pinterest 以電子郵件傳送 其他應用程式 5月 21, 2010 要在Android 開發google maps應用程式就從Hello map view 開始吧!按照裡面step by step的操作就可以很輕鬆的建立第一個範例~ 使用google maps唯一要注意的就是要去申請一個api key最簡單的就是到這個頁面去申請使用eclipse的話可以到Windows > Prefs > Android > Build裡面去確認keystore的path在哪邊 取得連結 Facebook X Pinterest 以電子郵件傳送 其他應用程式 留言
Eclipse WTP 安裝Tip 12月 26, 2007 安裝完所有的plug-in之後 要先將configuration目錄移到別處 隨後開啟Eclipse會出現錯誤訊息,但他會幫你製作出新的configuration目錄 複製原有的config.ini (在剛剛移到別處的configuration目錄裡面)到新的configuration目錄裡面 再重新開啟Eclipse,所有的plug-in都出現了! 閱讀完整內容
Srping MultiactionController 使用綁定的設定 2月 03, 2008 跟simpleform controller一樣,先在xml中設定好validator 只要validator的support有支援到在multiaction controller中的command的時候 就會採用該valiodator 接下來新增一個MyMultiacitonController 擴展原本的multiaction controller public class MyMultiactionController extends MultiActionController { //用來儲存binding error的model private Map errorModel = null; //以下是修改原始程式碼的結果 @Override protected void bind(HttpServletRequest request, Object command) throws Exception { logger.debug("Binding request parameters onto MultiActionController command"); ServletRequestDataBinder binder = createBinder(request, command); binder.bind(request); if (getValidators() != null) { for (int i = 0; i if (getValidators()[i].supports(command.getClass())) { ValidationUtils.invokeValidator(getValidators()[i], command, binder.getBindingResult()); } } } if (binder.getBindingResult().hasErrors()) { setErrorModel(binder.getBindingResult().getModel()); } } public Map getErrorModel() { Map map = this.errorModel; this.errorModel = n... 閱讀完整內容
ECW轉TIFF教學 5月 06, 2009 因為Geosever不支援ECW檔案, 搜尋了一下, 官方提供了不錯的解決方式 http://geoserver.org/display/GEOSDOC/Load+NASA+Blue+Marble+Data 先到 http://fwtools.maptools.org/ 下載FWTools: Open Source GIS Binary Kit for Windows and Linux 用這個工具轉換即可, 有提供GUI, 但不是很好用, 先open你要的ecw檔案之後 用export功能 閱讀完整內容
留言