jQuery&;谷歌地图JSON

jQuery&;谷歌地图JSON,jquery,google-maps,google-maps-api-3,Jquery,Google Maps,Google Maps Api 3,我的代码有一个小问题,JSON文件中的10个列表似乎停止了 JSON文件返回了300多条记录,有人能告诉我哪里出错了吗 演示 你只是想展示那些没有郊区的 它显示了所有的点,直到约翰着陆露营地-它没有显示“黄金海岸直升机” TradingName中的前导空格和尾随空格可能存在问题 { "TradingName": "Johns Landing Camping Ground", "customer_id": "2039", "storeid": "1", "sto

我的代码有一个小问题,JSON文件中的10个列表似乎停止了

JSON文件返回了300多条记录,有人能告诉我哪里出错了吗

演示

你只是想展示那些没有郊区的

它显示了所有的点,直到约翰着陆露营地-它没有显示“黄金海岸直升机”

TradingName中的前导空格和尾随空格可能存在问题

 {
    "TradingName": "Johns Landing Camping Ground",
    "customer_id": "2039",
    "storeid": "1",
    "storename": "",
    "phone": "0754471806",
    "street": "Johns Rd",
    "suburb": "",
    "state": "QLD",
    "long": "",
    "lat": "",
    "postcode": "4565",
    "description": ""
},
{
    "TradingName": " Gold Coast Helitours  ",
    "customer_id": "2174",
    "storeid": "1",
    "storename": "",
    "phone": "0755918457",
    "street": "Mirage Heliport, Seaworld Drv",
    "suburb": "",
    "state": "QLD",
    "long": "",
    "lat": "",
    "postcode": "",
    "description": ""
},
 if(!obj.suburb)
 {
    "TradingName": "Johns Landing Camping Ground",
    "customer_id": "2039",
    "storeid": "1",
    "storename": "",
    "phone": "0754471806",
    "street": "Johns Rd",
    "suburb": "",
    "state": "QLD",
    "long": "",
    "lat": "",
    "postcode": "4565",
    "description": ""
},
{
    "TradingName": " Gold Coast Helitours  ",
    "customer_id": "2174",
    "storeid": "1",
    "storename": "",
    "phone": "0755918457",
    "street": "Mirage Heliport, Seaworld Drv",
    "suburb": "",
    "state": "QLD",
    "long": "",
    "lat": "",
    "postcode": "",
    "description": ""
},