Title: Vanilla Adaptive Maps
Author: jcdesign
Published: <strong>22 rugsėjo, 2015</strong>
Last modified: 22 rugsėjo, 2015

---

Ieškoti įskiepiuose

![](https://ps.w.org/vanilla-adaptive-maps/assets/banner-772x250.png?rev=1251391)

Šis įskiepis **nebuvo išbandytas su 3 vėliausiomis WordPress versijomis**. Jis tikriausiai
nėra prižiūrimas ir palaikomas, todėl gali neveikti su naujausiomis WordPress versijomis.

![](https://ps.w.org/vanilla-adaptive-maps/assets/icon-256x256.png?rev=1251360)

# Vanilla Adaptive Maps

 Autorius [jcdesign](https://profiles.wordpress.org/jcdesign/)

[Parsisiųsti](https://downloads.wordpress.org/plugin/vanilla-adaptive-maps.1.0.1.zip)

 * [Informacija](https://lt.wordpress.org/plugins/vanilla-adaptive-maps/#description)
 * [Atsiliepimai](https://lt.wordpress.org/plugins/vanilla-adaptive-maps/#reviews)
 *  [Diegimas](https://lt.wordpress.org/plugins/vanilla-adaptive-maps/#installation)
 * [Kūrimas](https://lt.wordpress.org/plugins/vanilla-adaptive-maps/#developers)

 [Pagalba](https://wordpress.org/support/plugin/vanilla-adaptive-maps/)

## Aprašymas

A way to include an Adaptive Map, based on [Brad Frost’s Adaptive Maps pattern](http://bradfrostweb.com/blog/post/adaptive-maps/),
without requiring an external JavaScript library.

The basic premise is that we should be using mobile devices’ far better-suited mapping
applications rather than attempting to frame maps in our own websites. Users w/ 
larger screens will get a full map in an iframe.

No styling has been provided, but the link and map are wrapped in `div.adaptive-
map`.

### Credits

All props to [Brad Frost](http://bradfrostweb.com/blog/post/adaptive-maps/) who 
presented the idea quite a while ago.

## Ekrano nuotraukos

[⌊Entering shortcode into a post⌉⌊Entering shortcode into a post⌉[

Entering shortcode into a post

[⌊The map is created above the link⌉⌊The map is created above the link⌉[

The map is created above the link

[⌊On narrower screens, a static map image will be created instead⌉⌊On narrower screens,
a static map image will be created instead⌉[

On narrower screens, a static map image will be created instead

## Diegimas

 1. Upload the `vanilla-adaptive-maps` folder to the `/wp-content/plugins/` directory
 2. Activate the plugin through the ‘Plugins’ menu in WordPress

To use, write a shortcode like this: `[vamap addr="1203 Pearl St, Boulder, CO 80302"]`

To include a responsive map in a theme template, write the following PHP:

    ```
    <?php echo do_shortcode('[vamap addr="1203 Pearl St, Boulder, CO 80302"]'); ?>
    ```

## DUK

  What is the breakpoint between mobile and desktop?

Right now, the breakpoint is set at 550px, which was the default in Brad’s model,
and seems reasonable to me.

  Can I change the breakpoint for switching from mobile to desktop?

Yes, although you’ll have to modify the plugin. Open `vanilla-adaptive-maps.php`
and look for `set_breakpoint`. You can change the number there.

Right now we are only supporting a pixel-based breakpoint. I want to change that,
though.

## Atsiliepimai

Įskiepis neturi atsiliepimų.

## Programuotojai ir komandos nariai

“Vanilla Adaptive Maps” yra atviro kodo programa. Prie jos sukūrimo prisidėję žmonės
surašyti toliau.

Autoriai

 *   [ jcdesign ](https://profiles.wordpress.org/jcdesign/)

[Išverskite “Vanilla Adaptive Maps” į savo kalbą.](https://translate.wordpress.org/projects/wp-plugins/vanilla-adaptive-maps)

### Domina programavimas?

[Peržiūrėkite kodą](https://plugins.trac.wordpress.org/browser/vanilla-adaptive-maps/),
naršykite [SVN repozitorijoje](https://plugins.svn.wordpress.org/vanilla-adaptive-maps/),
arba užsiprenumeruokite [kodo pakeitimų žurnalą](https://plugins.trac.wordpress.org/log/vanilla-adaptive-maps/)
per [RSS](https://plugins.trac.wordpress.org/log/vanilla-adaptive-maps/?limit=100&mode=stop_on_copy&format=rss).

## Pakeitimų istorija

#### 1.0.1

 * Files reorganized. No code changes.

#### 1.0

 * Initial release.

## Metainformacija

 *  Version **1.0.1**
 *  Atnaujinta **prieš 11 metų**
 *  Aktyvių instaliacijų **100+**
 *  WordPress versija ** 3.3 ar naujesnė **
 *  Ištestuota iki **4.3.34**
 *  Kalba
 * [English (US)](https://wordpress.org/plugins/vanilla-adaptive-maps/)
 * Žymos
 * [Google Maps](https://lt.wordpress.org/plugins/tags/google-maps/)[map](https://lt.wordpress.org/plugins/tags/map/)
   [responsive](https://lt.wordpress.org/plugins/tags/responsive/)[shortcode](https://lt.wordpress.org/plugins/tags/shortcode/)
 *  [Daugiau](https://lt.wordpress.org/plugins/vanilla-adaptive-maps/advanced/)

## Įvertinimai

No reviews have been submitted yet.

[Your review](https://wordpress.org/support/plugin/vanilla-adaptive-maps/reviews/#new-post)

[See all reviews](https://wordpress.org/support/plugin/vanilla-adaptive-maps/reviews/)

## Autoriai

 *   [ jcdesign ](https://profiles.wordpress.org/jcdesign/)

## Pagalba

Turite pastabų? Reikia pagalbos?

 [Peržiūrėti pagalbos forumą](https://wordpress.org/support/plugin/vanilla-adaptive-maps/)

## Paremkite

Galbūt norite padėti plėtoti šį įskiepį?

 [ Paremti įskiepio kūrimą ](http://jeremycarlson.com/)