Questions tagged [google-map]

Google Maps is a desktop and mobile web mapping service application and technology provided by Google, offering satellite imagery, street maps, and Street View perspectives. Also supported are maps embedded on third-party websites via the Google Maps API, and a locator for urban businesses and other organizations in numerous countries around the world.

0
votes
1answer
20 views

Magento 2 : How to focus google map on Tokyo and Yokohama by default

I want focus google map on Tokyo and Yokohama by default. My map like this I want my map like this by default Please help me ! Thanks all
0
votes
0answers
22 views

Magento 2 Smile get the map on an other page

I've got the modules smile of https://github.com/Smile-SA/elasticsuite-for-retailer, but I would like to display the map that are on the checkout, in the product page. If anybody have an idea on how ...
0
votes
1answer
57 views

How can I get the locale inside a requirejs-config file?

I am trying to add a googlemaps path to my requirejs-config file, but I need to put the locale on the end of the string. Here is what my requirejs-config file looks like. I need a way to get the local ...
0
votes
0answers
53 views

how to display Google map on magento 2 admin side

actually, I want to use google map to get latitude and longitude of a place using google map so I need to use google map on backend using UI component form thanks.
0
votes
0answers
45 views

Add Geolocate with Map in Magento 2 Admin

I have to get latitude and longitude value in the field by clicking on button and display location on map. I have to add this in admin edit form tab. How can I achieve this ? Please give me some hints....
0
votes
1answer
280 views

How to show embedded google map in magento 2 in phtml file

I am trying to add google map in the frontend. I added embedded google map in phtml. here is my code <?php $contacts_config = $this->getConfig('porto_settings/contacts'); $_enable = $...
0
votes
1answer
73 views

Store locator not working after updating to https

I updated my website to https yesterday, but today I saw that my Storelocator isn't working anymore. It tells me that the 'store list undefined'. How to fix it?
0
votes
1answer
677 views

Magento 2 include google maps js only on contact page

I have a custom theme based on Luma, I'm trying to include google maps script only on contact page but it's not working. Here is my contact_index_index.xml file under my-theme/Magento_Contact/layout/...
1
vote
1answer
556 views

Adding a map to contact form

How can I add a custom google maps on the custom contact page? I'm using Magento 2.1.9 and I can't find where to do this on the admin panel so I don't know which code should I edit.
0
votes
1answer
446 views

Magento 2.1.10 - Front controller reached 100 router match iterations caused by IWD StoreLocator

I recently updated my Magento version from 2.1.1 to 2.1.10 and the module mentioned in the title is causing that exception. module version is 2.0.6 I contacted their support, and was told it is a ...
1
vote
1answer
112 views

Include google maps libraries through default_head_blocks.xml

When trying to implement the google maps API script in default_head_blocks.xml <script src="https://maps.googleapis.com/maps/api/js?key=mykey&libraries=places" src_type="url"/> it doesn't ...
1
vote
1answer
718 views

Magento2 : Google map API json file decode using curl

<h1>hello this is phtml file</h1> <?php $address=$_GET['location'];//manhattan $address = str_replace(" ", "+", $address); $url="https://maps.google.com/maps/api/geocode/json?address=$...
1
vote
0answers
196 views

how to add google map api in magento2.1

i have google map api i just want get these longitude and latitude my phtml code is <?php $address=$_GET['location'];//location=Manhattan $address = str_replace(" ", "+", $address); $url="https:/...
0
votes
2answers
845 views

Magento 1.9 does not render Google Maps Api in template

I am trying to render Google Map on my custom page. I have template that renders smth but it does not render map. But I've discovered strange thing (for me) if echo smth in controller between $this-...
0
votes
2answers
57 views

Magento contact form disappears

We are facing an usual issue, when you go to https://gullybaba.magemojo.io/contacts/ and perfrom either of the below mention tasks click on any blank area of the page(not on input fields) http://...
1
vote
1answer
499 views

how to add google map as a ui component in magento 2.1

I need to display a coordinated field, coming from the database, currently am displaying it as an input like this: I need to display it as the map like this: I googled a LOT and lot of answers on ...
2
votes
0answers
149 views

Magento 2.1- How to Integrate Google Maps API in Ui Component Form

I have been looking around to find any good solution, that could help me to integrate Google Map to my admin form, my goal was to get the latitude, longitude and zoom from the drag able marker on the ...
2
votes
1answer
429 views

Filter near by location product collection -magento2

I have thousands of property in my store. I'm trying to write automated related properties. Each property has latitude and longitude. When customer click anyone property, we need to suggest five top ...
1
vote
3answers
3k views

How can i get exact google map latitude and longitude in php? [closed]

How can i get exact Latitude and longitude of user in php, without using IP, Any hope with google api?
1
vote
2answers
472 views

Oops! Something went wrong on location map at contact us page

I am working on magento-1.9 version. When I am going to contact us page, I got the following error which is Oops! Something went wrong. Please help me on this. Please let me know the requirements ...
0
votes
1answer
191 views

how to set external js dependency for internal js in magento2

In default_head_blocks.xml I've loaded following jquery. <link src="//maps.googleapis.com/maps/api/js"/> <link src="js/main.js" order="101"/> Now my situation I want map js loaded to be ...
1
vote
1answer
759 views

Why my google map is not showing at contact us page? [closed]

My google map is not displaying and due to script problem. How to resolve this? my script code is as follows function initialize() { var pos = new google.maps.LatLng(, ); var ...
0
votes
2answers
579 views

How To Add A Map For Every Product View Page

I have a coffee store based shop in magento . Now i want to show the map for each coffee shop in the product view every store has its different location for google map. any help would be very ...
4
votes
1answer
1k views

Embed Google Map

Hi I am trying to embed a google map into a CMS page. I get the string from google and paste it using the CMS editor. When i go the the actual page i only see text and no embedded map.
2
votes
1answer
63 views

Magento Store locator address not visible on iPhones - Why? [closed]

I am using Google store locator for my extension but address not visible when click the locator icons on iPhones, i don't know what caused this issue.. It is working fine when i tried with ...
1
vote
1answer
519 views

Load Google Maps External Javascript Before Skin Javascript

I'm trying to add the Google Maps Javascript API to my Magento module. The problem I'm having is that the core/text block that I am including, that contains the external Javascript inclusion tag, ...
4
votes
1answer
3k views

Remove render-blocking JavaScript for google maps

The PageSpeed Insights shows me that I to remove the render-blocking for my google maps js. It is added the in cms content and this is the code: <script type="text/javascript" src="https://maps....
0
votes
1answer
5k views

add google map under contact us page in magento

How to add google map under contact us page after submit button this is the code for contact us page -form.phtml = > http://pastebin.com/rSYMpu5X
1
vote
1answer
760 views

Map in product detail page

My store sell products of other stores and I would like to know how can i set a map, from Google Maps for example, in product detail page like the image below? Thanks.