Това разширение не е обновявано повече от 2 години. Може вече да не се поддържа и да има проблеми със съвместимостта при използването му на по-нови версии на WordPress.

Google Maps Shell

Описание

This plugin is for developers and is meant to be used to enable Google Maps integration. While it does come with a default location, developers will want to feed the plugin a nested array of location data. This data can be manually curated or retrieved through external means.

You need to use the filter ab_google_maps_markers and return the new nested array.

Example:

function new_array( $markers ) {     $markers = (object) array( 
        array( 
            'lat' => '30.266132', 
            'lon' => '-97.745825',             'title' => 'Gingerman Austin',             'address' => '301 Lavaca St, Austin TX 78701'         ),         array(             'lat' => '30.2658',             'lon' => '-97.735691',             'title' => 'Easy Tiger Bake Shop and Beer Garden',             'address' => '709 East 6th St, Austin TX 78701'         ),     );     return $markers; } add_filter( 'ab_google_maps_markers', 'new_array' ); 

Инсталиране

  1. Upload plugin-name.php to the /wp-content/plugins/ directory
  2. Activate the plugin through the ‘Plugins’ menu in WordPress
  3. Get a Google Maps API Key from the Google Developers Console
  4. Add define( 'AB_GMAPS_API_KEY', 'foo'); to your wp-config.php file where foo is the API Key from Google.

Отзиви

There are no reviews for this plugin.

Сътрудници и разработчици

“Google Maps Shell” е софтуер с отворен код. Към разширението са допринесли следните хора:

Сътрудници

Превеждане на “Google Maps Shell” на вашия език.

Имате интерес към разработване?

Преглеждане на кода, разглеждане на SVN хранилище, или абонамент към програмната история (log) чрез RSS.

Списък с промени

1.0

  • Initial Release