mason00 发表于 13-5-2015 10:14:40

正确插入新版google地图到帖子的方法

新版google地图有稍许改动,嵌入是连接似乎有特别的关键字在地址中。使用高级发帖模式中的“在帖子中插入google地图”按钮,找到正确的连接插入地图。

步骤一:
定位地图,点击右下角齿轮图标



步骤二:
选择嵌入式(embed link)。直接连接是一个iframe,无法被论坛识别。


步骤三:
复制链接中src="...",引号部分,此为真正的链接源。复制这部分在论坛“在帖子中插入google地图”输入框可显示地图。
<iframe src="https://www.google.com/maps/embed?pb=!1m18!1m12!1m3!1d852.256355918159!2d121.51756717857361!3d31.30304243301316!2m3!1f0!2f0!3f0!3m2!1i1024!2i768!4f13.1!3m3!1m2!1s0x35b27394d1414bf5%3A0x842b28b3ac12dbd1!2sGuo+Xiang+Lu%2C+WuJiaoChang%2C+Yangpu+Qu%2C+Shanghai+Shi%2C+China!5e0!3m2!1sen!2sau!4v1431471922728" width="600" height="450" frameborder="0" style="border:0"></iframe>

https://www.google.com/maps/embed?pb=!1m18!1m12!1m3!1d852.256355918159!2d121.51756717857361!3d31.30304243301316!2m3!1f0!2f0!3f0!3m2!1i1024!2i768!4f13.1!3m3!1m2!1s0x35b27394d1414bf5%3A0x842b28b3ac12dbd1!2sGuo+Xiang+Lu%2C+WuJiaoChang%2C+Yangpu+Qu%2C+Shanghai+Shi%2C+China!5e0!3m2!1sen!2sau!4v1431471922728

https://www.google.com/maps/embed?pb=!1m18!1m12!1m3!1d852.256355918159!2d121.51756717857361!3d31.30304243301316!2m3!1f0!2f0!3f0!3m2!1i1024!2i768!4f13.1!3m3!1m2!1s0x35b27394d1414bf5%3A0x842b28b3ac12dbd1!2sGuo+Xiang+Lu%2C+WuJiaoChang%2C+Yangpu+Qu%2C+Shanghai+Shi%2C+China!5e0!3m2!1sen!2sau!4v1431471922728
页: [1]
查看完整版本: 正确插入新版google地图到帖子的方法