mogya / dengen_map

MIT License
0 stars 0 forks source link

loadingが消えないことがある #37

Closed mogya closed 6 years ago

mogya commented 6 years ago

ll=35.7054067,139.6658254&z=15を見た時、下記エラーがでてローディングが止まらなくなる。

adding 82119:ファミリーマート中野駅南口本通り店
build.js?date=20171215_0431:6 Uncaught (in promise) TypeError: Cannot read property 'replace' of null
    at new e (build.js?date=20171215_0431:6)
    at a.<anonymous> (build.js?date=20171215_0431:6)
    at Array.forEach (<anonymous>)
    at addSpots (build.js?date=20171215_0431:6)
    at a.n [as addSpots] (build.js?date=20171215_0431:1)
    at build.js?date=20171215_0431:6
    at <anonymous>

iconがnullになっていることが原因で、サーバサイドも調査する必要がある( #38 )のだけれど、だからといってコケたらローディングが止まらないのはまずいのでFront側も調べる