0
是可能附加一個谷歌地圖的鏈接(圖像)在我的wallpost通過iPhone的一側? 我的牆貼是好的,但我不知道如何處理地圖。 Ps在我的應用程序中,我已經實現了mapkit,我不知道我是否用座標來獲取地圖鏈接的gquery,或者我必須使用mapkit上的位置來工作iphone臉譜牆張貼與圖像映射鏈接
我發現我的解決方案與谷歌的靜態地圖:d
這裏是我的代碼:
dialog.attachment = [NSString stringWithFormat:
@"{ \"name\":\"%@ si trova a %@\"," "\"media\":[{\"type\":\"image\","
"\"src\":\"http://maps.google.com/maps/api/staticmap?size=100x100&zoom=14&markers=color:blue|label:here|%g,%g&mobile=true&sensor=false\","
"\"href\":\"http://developers.facebook.com/connect.php?tab=iphone/\"}],}",
_facebookName, citta.text, mylat, mylong ];