Linux 软件免费装
Banner图

Google Map

开发者 ankurk91
更新时间 2021年2月16日 15:02
PHP版本: 4.0.0 及以上
WordPress版本: 4.9.0
版权: MIT
版权网址: 版权信息

标签

responsive free map google map light weight

下载

1.7.2 1.7.3 2.3.1 2.4.0 2.5.0 2.6.0 2.6.1 2.6.2 1.5 1.5.1 1.5.2 1.5.3 1.5.4 1.5.5 1.7.4 1.7.5 1.7.6 1.7.7 1.7.8 1.7.9 2.0.0 2.1.0 2.2.0 2.3.0 1.5.6 1.5.7 1.5.8 1.5.9 1.6.0 1.6.1 1.6.2 1.6.3 1.7.0 1.7.1

详情介绍:

Simple, light-weight and non-bloated Google Map Plugin for WordPress. Written in pure javascript, no jQuery at all, responsive, configurable, no ads and 100% free of cost. Highlights php v7.x and Bedrock compatibility Featured on

安装:

  1. Search for 'ank google map' in WordPress Plugin Directory and Download the .zip file & extract it.
  2. Upload the folder ank-google-map to the /wp-content/plugins/ directory
  3. Activate the plugin through the 'Plugins List' page in WordPress Admin Area.
  4. Configure this plugin via Settings-->Google Map
  5. Paste the [ank_google_map] short-code in your pages/posts/widgets.

屏幕截图:

  • General Options
  • Location Options
  • Marker Options
  • Info Window Options

升级注意事项:

Please upgrade to v2.0.0 for better experience

常见问题:

What is the short-code for this plugin

[ank_google_map]

Why did you call it Light Weight?

It utilize WordPress dash-icons, color picker, and text editor on plugin Options Page. It does not create additional tables in your database, uses inbuilt 'wp_options' table. The whole package is about 25 kb (zipped).

What do you mean by Non Bloated?

There are many of Map plugins in plugin directory, but most of them not written well. Means they put lots of java script (uncompressed) code on every page of your website. They also loads jQuery file before them which effects your page speed. This plugin will enqueue its JS files on the required page only. It does not depends on external js library like: jQuery.

Map controls not shown correctly on front-end.

Add this css code to your theme's style.css file to fix this ` .gmnoprint img, #agm-canvas img { max-width: none; } `

Full screen control not visible.

This is because of you theme css, test with WP default theme first.

Shortcode does not work in text widget.

Add this line to your theme's functions.php add_filter( 'widget_text', 'do_shortcode' );

Changes does not reflect after saving settings.

Are you using some Cache/Performance plugin (eg:WP Super Cache/W3 Total Cache) ? Then flush your WP cache and refresh target page.

Where does it store settings and options?

WP Database->wp-options->ank_google_map. Uses a single row, stored in array for faster access.

From where does it loads additional Marker (colored) images?

Every marker image is loaded from official Google Server. You can also upload your own marker images.

What if i uninstall/remove this plugin?

No worry! It will remove its traces from database upon uninstall. You have to remove short-code from your pages by yourself.

How do i enter correct language code?

You can force google to load a specific language for all visitors. Get latest supported language code list from here. If you don't specify language code then google will try to load the language requested by visitor's web browser.

How to make it responsive?

Set Map Canvas Width to 100 %. Map will auto center upon resize.

I don't want border on map canvas?

Leave the color field empty and it will not be applied.

Did you test it with old version of WordPress?

No, i always test with latest version only. So i recommend you to upgrade to latest WordPress today.

Failed to load Google Map. Refresh this page and try again. What is this ?

It means 'Google Map API' is not loaded. Possible reasons are -

  • No internet connection. (Internet is must).
  • Other plugin's java script conflict. (Try disabling them one by one).
  • This plugin has a problem/bug. (Report it now).

How do i insert the API key?

  • Obtain a browser key, see steps here
  • Insert your key on option page and you are good to go
  • It may take upto 15 minutes for API key to work upon installation

Future Plans?

  • Multiple Maps with Multiple Markers.

更新日志:

2.6.2 2.6.1 2.6.0 2.5.0 2.4.0 2.3.1 2.3.0 2.2.0 2.1.0 2.0.0 1.7.9 1.7.8 1.7.7 1.7.6 1.7.4 1.7.3 1.7.2 1.7.1 1.7.0 1.6.3 1.6.2 1.6.1 1.6.0 1.5.9 1.5.8 1.5.7 1.5.6 1.5.5 1.5.4 1.5.3 1.5.2 1.5.1 1.5 1.4 1.3 1.2 1.1 1.0