Install Google map in your FCKeditor

Source: Internet
Author: User

FCKeditor is now a common HTML editor. In addition to its convenient reference, FCKeditor also has a great plug-in that can be used, such as code highlight used by diantribe, is the function of plug in.

I saw someone discussing it before.ArticleFor the problem of embedding a map in it, it is necessary to easily describe the content of an article with an address, such as the location of the venue, intuitively, we thought that we should add a Google Map interface under the input box of the article to drag it at will, and then embed Google map into the article after confirmation.

However, this process is not easy to operate. If you can directly embed a map from FCKeditor, it is much more convenient. I originally wanted to talk about the FCKeditor API. However, the lazy engineer must first find the ready-made APIs on the Internet.

Google Maps plugin for FCKeditor

Capture the file, decompress the package, put it in the FCKeditor/Editor/plugins/googlemaps folder, and then set fckconfig. js.

After the installation is complete, the English arrangement on the interface cannot be understood, so it is right to rank en first.

Fckconfig. plugins. Add ('googlemaps ', 'en, de, es, FR, IT, NL ');

Set the starting position of the map to Taipei City.

Fckconfig. googlemaps_centerlat = 25.03997;
Fckconfig. googlemaps_centerlon = 121.512481;

OK. This is easy to use. Next time I suggest you add this function to my boss.

Existing0People comment, slam->Here<-Participate in the discussion

Iteye recommendation

    • -Software talents free of language and low guarantee paid study in the United States! -

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.