Drupal 8 Module for Google Map Autocomplete - restriction for countries

Quick module development in D8.

I am using google_autocomplete module which is a text field that autocompletes when user types an address. [url removed, login to view]

By default, the module searches all places in the world. I need a module that hooks and restricts the use of Google API to two or more countries. Example: AR, PE

Google documentation is here: [url removed, login to view]

And the js script needs to add below variables: cities and country restriction:

var options = {

types: ['(cities)'],

componentRestrictions: {country: ["AR", "PE"]}


The current contrib module has a few files and easy to read.

There is a similar patch for regions in [url removed, login to view] [url removed, login to view] but it is not the same.


Clean drupal installation

Install geocoder_autocomplete

Install new module

Create a content type with field text and widget geocoder_autocomplete

When I type "San Antonio", only sites restricted for countries PE or AR must appear.

There is no need for administration menu, country input can be done in code.

There is no need to download DB or pulling, rebasing code

Your delivery is a file that can be installed as custom module and will affect the js autocomplete response from google

There is no need for map development

A working demo can be found in: [url removed, login to view]

Taidot: Drupal, Google Maps API, Javascript, PHP

Näytä lisää: https sites google com site sites system app pages meta dashboard create new site, google maps prestashop module, google map layer different countries, drupal address field, google places autocomplete, drupal geocoder, google maps api autocomplete address example, drupal geocomplete, google places api, drupal geolocation, drupal address autocomplete, drupal, google map autocomplete address, module google map mysql php, google maps php module, module google map prestashop, drupal postcode locator google map, create module google maps plugin joomla, google maps api module, drupal location display google map

Tietoa työnantajasta:
( 19 arvostelua ) Panama City, Panama

Projektin tunnus: #15809903

Myönnetty käyttäjälle:


HI Ready to start As per my understanding we want to make changes in [login to view URL] module we need to make hard code change in google api js code function. Relevant Skills and Lisää

$133 USD 3 päivässä
(349 Arvostelua)

15 freelanceria on tarjonnut keskimäärin %project_bid_stats_avg_sub_26% %project_currencyDetails_sign_sub_27% tähän työhön


This is my job. I can do it. I’m ready to work now. I hope to work with you.

$222 USD 5 päivässä
(292 arvostelua)
$155 USD 3 päivässä
(129 arvostelua)
$155 USD 3 päivässä
(70 arvostelua)

Hi i understand the project. Relevant Skills and Experience i have good knowledge on Drupal, Google Maps API, Javascript, PHP Proposed Milestones $18 USD - milestone $165 USD - all scope items

$183 USD 5 päivässä
(31 arvostelua)

Hi, We are expert in creating Portal/Blog/Social Media/e-commerce solution using Drupal. We read your requirement and we are confident to deliver you the best and standard solution. We have a client centric approach t Lisää

$200 USD 5 päivässä
(25 arvostelua)

"I have worked on similar projects" I have read your requirements very carefully and 100%confident that I can make a Drupal 8 Module for Google Map Autocomplete Relevant Skills and Experience Professional expert fro Lisää

$200 USD 3 päivässä
(19 arvostelua)

five star technologies passion Relevant Skills and Experience i have 7 years experience with your project skills Proposed Milestones $200 USD - work Hi sir can you please come to the chat box so we can easily discus Lisää

$200 USD 3 päivässä
(32 arvostelua)
$250 USD 3 päivässä
(23 arvostelua)

Dear Sir! I create drupal 8 module for Google map ++ This is my job. I'm ready to begin now. Pm for me. Relevant Skills and Experience Please check my reviews and profile Lisää

$350 USD 3 päivässä
(60 arvostelua)

I am Drupal expert and ready to assist you in installing the module as per requirement. [login to view URL] [login to view URL] Relevant Skills and Experience I am expert in developing and customizin Lisää

$277 USD 3 päivässä
(15 arvostelua)

Hi, The task is to code, test & implement Google Maps API with Drupal 8 as per mentioned approach, I would love for an opportunity to assist you with the same. Relevant Skills and Experience Solid experience - API de Lisää

$150 USD 2 päivässä
(12 arvostelua)

I will provide you proper solution and fix this issue. In this issue we need some time for R&D and implement the proper solution as you suggested. Relevant Skills and Experience I have total 10+ years Experience in we Lisää

$222 USD 5 päivässä
(13 arvostelua)
$155 USD 3 päivässä
(2 arvostelua)

Hello, a few words about me. I've been working with Drupal since 2009 till now. I have a lot of experience and ready to help you. Thanks, Vadim. Relevant Skills and Experience Drupal Proposed Milestones $155 USD - Lisää

$155 USD 3 päivässä
(6 arvostelua)