首页 新闻 赞助 找找看

百度地图调用出错

0
悬赏园豆:100 [已关闭问题] 关闭于 2013-03-20 15:51

我调用百度地图,始终显示不出标注的点,提示错误:Resource interpreted as Image but transferred with MIME type application/octet-stream: "http://api.map.baidu.com/images/openhand.cur"

我把同样的代码放到另外一个应用程序中则没问题。这个可能跟页面的MIME type有关,但怎么修改呢?一直没找到解决方法

chunbo的主页 chunbo | 初学一级 | 园豆:114
提问于:2013-03-20 14:32
< >
分享
所有回答(1)
0

少了css代码:
<style type="text/css">body, html,#allmap {width: 100%;height: 100%;overflow: hidden;margin:0;}#l-map{height:100%;width:78%;float:left;border-right:2px solid #bcbcbc;}#r-result{height:100%;width:20%;float:left;}</style>

参考:http://developer.baidu.com/map/jsdemo.htm

黄亚平 | 园豆:202 (菜鸟二级) | 2013-06-09 12:18
清除回答草稿
   您需要登录以后才能回答,未注册用户请先注册