How to add a map card

Source: Internet
Author: User

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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.