开发者

Google Maps API Directions White Tiles Along Route

Whenever I calculate a route everything works perfectly except for the path along the r开发者_StackOverflow社区oute is covered with white tiles. I've been looking around the net and I couldn't seem to find a solution to my problem. My guess is that there is something wrong with my js (although I am not getting any errors showing up in the console). It would be much appreciated if you could shed some light on what may cause something like this to happen. Thanks!! :).


Turns out that my handheld.css stylesheet was somehow adding those white boxes over the map. All I had to do was edit out the background color from the following code:

* {
  float: none;       
  color: #000;
  background: #fff;
}

This may apply to anyone that is using html5 boilerplate so I thought I would share. Thanks.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜