Recently in the Web page, encountered a problem, the customer asked to join a map business card, request the inside of the map can be dragged, can see the big map, unexpectedly can also check the nearby bus/subway.
Just like this:
Such requirements let me such a front-end small white immediately silly eye, in the end how to do?
There's no way I'm going to F12. Review the effect of the site is how to do this effect, unfortunately found that the Web page directly joined an IFRAME. What exactly is this iframe used for, I have to go without a degree.
Finally found Baidu Map can make map business cards.
First, you can enter the Baidu map open platform: http://lbsyun.baidu.com/
At the bottom there are plugins and tools, click Map Business Cards
Go to the following page:
The page has detailed method of making Baidu map business card:
In this case, just add the corresponding code in the location of the code to the corresponding location of the page you want to join.
OK, the problem is solved, the heart is cool and crooked ...
Note: This article is original, reproduced please link form the address of this article, thank you for your cooperation
This address: http://www.cnblogs.com/wanghuih/p/5569672.html
How to add a map card