sandywp / plugins / simple-map

Simple Map

4.7 out of 5 stars. 4.7 12 reviews

Easy way to embed google map(s).

Launch a sandbox with this plugin → No signup.
Ready in seconds.

v4.9.0 10,000+ installs WP 3.9+

your-sandbox.sandywp.com/wp-admin
Simple Map running inside a SandyWP sandbox

What you get inside

3 screens
  • Very easy.

  • Info Window.

  • Mobile Support. (Google static map)

About this plugin

Easy way to embed google map(s) using gmaps.js.

This plugin allows you to convert address into google maps like below:

[map]San Francisco, California[/map]

Another way, you can embed Google Map with url only like oEmbed.

You can also use coordinates, set width, height and zoom:

[map lat="37.77493" lng="-122.41942"]
Text you would
like to appear
as a tooltip
goes here
[/map]

In this case there will be a marker on the map with a tooltip appearing on click on the said marker.
You can use simple html as the tooltip content.

This plugin is maintained on GitHub.

Some features:

  • Allows you to embed google map based on shortcode.
  • Markers can be added using address or lat/long.
  • Displays static map for iPhone automatically.
  • oEmbed Support.

Arguments

  • width: Width of the map. Default value is “100%”.
  • height: Height of the map. Default value is “200px”.
  • zoom: Zoom of the map. Default value is “16”.
  • breakpoint: If display is narrower than this value, this plugin will display static map. Default value is “480”.
  • addr: Address of the map you want to place.
  • lat: Lat of the map you want to place.
  • lng: Lng of the map you want to place.
  • infowindow: If you want to open infoWindow by Default, please set “open”.
  • map_type_control: True or Flase.
  • map_type_id: ‘ROADMAP’ or ‘SATELLITE’ or ‘HYBRID’ or ‘TERRAIN’.

If you will set lat/lng and address, this plugin gives priority to lat/lng.

Filter Hooks

This plugin has some filter hooks for customize default.

  • simplemap_default_width
  • simplemap_default_height
  • simplemap_default_zoom
  • simplemap_default_breakpoint
  • simplemap_default_infowindow

    add_filter( ‘simplemap_default_zoom’, function(){
    return 10; // Default zoom is 10
    } );

Translators

Please contact me.

  • https://github.com/miya0001/simple-map/issues

Contributors

Credits

This plugin is not guaranteed though the user of WordPress can freely use this plugin free of charge regardless of the purpose.
The author must acknowledge the thing that the operation guarantee and the support in this plugin use are not done at all beforehand.

Contact

twitter @miya0001

Questions

Installation Instructions

  • Download the zip, extract it and upload the extracted folder to your-wp-directory/wp-content/plugins/
  • Go to the plugins administration screen in your WordPress admin and activate the plugin.

OR

  • Download the zip, go to the plugins administration screen in your WordPress admin, click on Add New then on upload, browse to the downloaded zip, upload the plugin and activate it.

OR

  • Go to the plugins administration screen in your WordPress admin, click on Add New, search for Simple Map and click on Install Now.

Usage

This plugin allows you to convert address into google maps like below:

[map]San Francisco, California[/map]

Another way, you can embed Google Map with url only like oEmbed.

You can also use coordinates, set width, height and zoom:

[map lat="37.77493" lng="-122.41942" width="100%" height="400px" zoom="15"]
Text you would
like to appear
as a tooltip
goes here
[/map]

In this case there will be a marker on the map with a tooltip appearing on click on the said marker.
You can use simple html as the tooltip content.

4.7

12 reviews

  • 5 ★ 11
  • 4 ★ 0
  • 3 ★ 0
  • 2 ★ 0
  • 1 ★ 1

Ratings come from WordPress.org. SandyWP does not collect its own reviews.

sandywp / also on the shelf

Try another plugin

  • Custom Post Type Permalinks

    4.8 · 200K+ installs

    Edit the permalink of custom post type.

  • Custom Permalinks

    4.1 · 100K+ installs

    A powerful WordPress plugin for full URL control. Set custom permalinks, auto-redirects, and use dynamic tags for ideal site…

  • zipaddr-jp

    5.0 · 50K+ installs

    zipaddr-jp is a collaborative tool that automatically inputs addresses from postal codes.

Spin up a real WordPress site in seconds.

Test plugins, build a demo, hand a client a link — then squash it and start again. No local setup, no Docker.