BACK TO DIRECTORY

Vanilla Adaptive Maps

by jcdesign

0.0
(0 ratings)

A way to include an Adaptive Map, based on Brad Frost’s Adaptive Maps pattern, 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 who presented the idea quite a while ago.

Screenshots

Entering shortcode into a post

Entering shortcode into a post

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

Plugin Details

Active Installs
90
Total Downloads
4,558
Version
1.0.1
Requires WP
3.3
Requires PHP
Tested Up To
4.3.34
Added
2015-09-22
Last Updated
2015-09-22 5:08pm GMT

Ratings

5
0
4
0
3
0
2
0
1
0