Download the PHP package mageplaza/module-google-maps without Composer

On this page you can find all versions of the php package mageplaza/module-google-maps. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package module-google-maps

Magento 2 Google Maps Free by Mageplaza

M2 Google Maps extension by Mageplaza allows stores to set the location on the web page. The Contact Us page with information about real location will make your site become more professional and reliable in the customer’s mind.

Latest Stable Version Total Downloads

IMPORTANT NOTE: This version of Mageplaza Google Maps extension on Github is free as a contribution to the Magento community from Mageplaza. This package does not include the technical support. Should you need technical support for this extension, you will have to buy a license from Mageplaza. Click here to buy.

1. Documentation

2. FAQs

Q: I got error: Mageplaza_Core has been already defined

A: Read solution here.

Q: Where the map can be displayed on my page?

A: Google Maps can be set at the top or bottom of Contact Page, by navigating to Store > Settings > Configuration > Mageplaza Extensions > Google Maps > General > Position and select the appropriate position.

Q: Can I customize how the map can be seen on the website?

A: Absolutely yes, there are 4 map types and 10 map styles for you to choose.

Q: Can the customer drag and zoom in/out the map?

A: The customer can easily drag to see the surrounding area of the store. However, it is unable to zoom the map, this feature is available in Mageplaza Store Locator.

Q: How my store will look like on the map?

A: There is a customizable Marker showing the exact position of your store. You can freely choose the Marker icon to be displayed.

Q: Will the map be available on mobile devices?

A: Yes, the extension works well on the mobile version.

3. How to install Magento 2 Google Maps extension

Install via composer (recommend)

Run the following command in Magento 2 root folder:

With Marketing Automation (recommend):

Without Marketing Automation:

4. Google Maps Highlight Features

Add Google Maps to Contact Page

No more boring text to show the store location, store owners now can get the Contact Page with a more eye-catching view by Google Maps, with a marker showing exactly the store location. Magento 2 Google Maps extension by Mageplaza enable the store owner to set the position of the map at the top or bottom of the Contact Page.

Magento 2 Add Google Maps to Contact Page

Adjustable map’s display

Google Maps plugin let the website admin be possible to change how it appears on frontend flexibly. The marker showing the exact location can be configured freely. Furthermore, there are 4 options for map type which are:

And 10 available map styles:

magento 2 Google Maps plugin

Optional maps embedding

Mageplaza Google Maps module offers 2 options to add a map on the website. The first option is using Google API key, which gets the allowance to be displayed map from Google. The second one is directly embedding Google iFrame code, which is more simple.

Magento 2 Optional maps embedding

Automatically get GPS coordinates

By using Google API key, once the address information is provided, GPS coordinates can be automatically defined according to the latitude and longitude. These coordinates can be adjusted by the admin, to get the exact location for the marker.

Magento 2 Automatically get GPS coordinates

5. More features

Map dragging

It is able to drag the map and see the surrounding area of the store location.

Mobile friendliness

Magento 2 Google Maps can work well with both mobile and desktop devices.

Extension compatibility

Google Maps extension is responsive with Mageplaza Store Locator Extension. It is also compatible with almost third-party modules.

6. Full Magento 2 Google Maps features

For store owners

For shoppers

7. User Guide

Magento 2 default Contact Us Page is too simple, it only allows displaying text. With the new extension Google Maps by Mageplaza, it is possible to easily get Google Maps displayed on the Contact Us Page. This also helps your store improve customer trust when they know your exact location.

7.1. Configuration

Login to Magento Admin, navigate to Store > Settings > Configuration > Mageplaza Extensions > Google Maps.

Magento 2 Google Maps configuration

7.1.1. General

Magento 2 configure Google Maps

7.1.2 Map Settings

There are 2 map setting modes as follows:

1. Protocol = API

magento 2 embed google maps

Magento 2 Google Maps extension

Location Settings: Map Settings > Location Settings

Magento 2 Google Maps free

2. Protocol = Embed Code

With this method, it is possible to add the map on frontend interface by embedding Google iFrame code, without any of following map settings.

Magento 2 Google Maps module

7.2. Maps Widget

By adding widget, you can add the map wherever on the store. Widget can be created by the following steps:

Step 1: Login to Magento 2 Admin, move to Content > Elements > Widgets

Step 2: Click the Add Widget button to start widget setting

Magento 2 Google Maps widget

Step 3: Fill up required information in Storefront Properties

Magento 2 Google Maps extension free

Step 4: Choose the position to display the widget

From Layout Updates > Click to Add Layout Updates button

Step 5: Save > System. Navigate to Cache Management, hit the Flush Magento Cache button.

7.3. Frontend

Using API

Magento 2 Google Maps module free

Magento 2 Google Maps plugin free

Using Embed Code

embed google maps to magento 2

People also search:

Other free Magento 2 extensions on Github

Get more Magento 2 extension on Marketplace:


All versions of module-google-maps with dependencies

PHP Build Version
Package Version
Requires mageplaza/module-core Version ^1.5.4
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package mageplaza/module-google-maps contains the following files

Loading the files please wait ....