小编Awa*_*ikh的帖子

我无法在我的div中找到结果

我的div没有任何结果

这是我的jquery

$('#btnsearchres').click(function(){
                var $server;
                var content;
                $server = 'http://localhost/XDK/';
   $.getJSON("http://localhost/XDK/timeline.php",function(data){

      $.each(data.recipes, function(i,post){
        content = '<p>' + post.i_name + '</p>';
        content += '<p>' + post.i_recipe + '</p>';
        content += '<img src="http://localhost/xdk/'+post.image_thumb+'"/>';
        content += '<br/>';

      });
       $(content).appendTo("#recipes");
    });
Run Code Online (Sandbox Code Playgroud)

我的JSON

{
    "i_id": "1",
    "i_name": "Biryani",
    "i_category": "Pakistani",
    "i_Uploader_Name": "Nabeel",
    "i_recipe": "2 cups Basmati- RIce \r\n3\/4kg Chicken pieces \r\nOnion 3 large, slIced \r\n1 cup Yoghurt \r\n1 tsp Ginger paste \r\n1\/2 tsp Garlic paste \r\n1 tsp Green chilli paste \r\n1\/2 cup Tomato puree \r\n2 …
Run Code Online (Sandbox Code Playgroud)

html javascript jquery json

6
推荐指数
1
解决办法
129
查看次数

在具有多个航点的 IOS 中启动谷歌地图

我需要使用 Xamarin 表单应用程序中的 url 在 IOS 上的地图上显示多个航点来启动谷歌地图。我可以使用此 url 以 2 个点(源和目标)启动它:

comgooglemaps-x-callback://?zoom=14&saddr= " + App.UserCurrentLatitude + "," + App.UserCurrentLongitude + "&daddr=" + item.xpos + "," + item.ypos + "&directionsmode=driving
Run Code Online (Sandbox Code Playgroud)

如何在地图上显示多个点?

我尝试添加这个,但没有帮助。

waypoints=24.743449,46.658885/24.744560,46.660666
Run Code Online (Sandbox Code Playgroud)

任何人??

c# ios xamarin.forms google-maps-urls

1
推荐指数
1
解决办法
688
查看次数

标签 统计

c# ×1

google-maps-urls ×1

html ×1

ios ×1

javascript ×1

jquery ×1

json ×1

xamarin.forms ×1