
WORKS WITH THE NEW VERSION OF GOOGLE MAPS
You can add a map using a shortcode.
You only need to:
Go to https://www.google.com/maps
Search the address you want to embed in your website. Drag and drop the map to adjust it to the section you want.
Copy the latitude and longitude.
Go to the page you want to add the map and paste this shortcode: [gmap_mc lat=”LATITUDE” long=”LONGITUDE”]
To keep in mind:
The default dimensions are 350×250
The defaults latitude and longitude point to Cuba
You can set your own dimensions using these parameters [gmap_mc lat=”LATITUDE” long=”LONGITUDE” width=”600″ height=”250″]
You can set the zoom of your map using the parameter mapwidth, like this [gmap_mc lat=”LATITUDE” long=”LONGITUDE” width=”600″ height=”250″ mapwidth=”3000km”]. The zoom is assumed to be in miles unless you specify km. The default zoom is 1500km
Download & install the zip archive
The plugin package installer can be downloaded from the WP2E project tab called “code”.
1 – Select the version to download if this option is available otherwise the “latest” version of the main plugin will be used.
2 – After downloading the zip archive install the plugin package installer in you local environment and activate the script from the plugin list.
3 – Under the section “Plugins” of the admin dashboard you should see a new “Dependencies & Licenses” link. Follow the instructions from this panel to finalize the installation of the missing dependencies.
Tips: Use the WP2E panel to add/suggest new dependencies to the local installation. Press F5 in the list of dependencies if the changes are not displayed right away.