Answer the question
In order to leave comments, you need to log in
How to place on the site (wordpress) a map with 60 stores from google my business?
There is a Google account my business with 60 stores.
Site on wordpress.
It is necessary to make a map to the site with the display of these stores pulling up from my business account.
Are there options? Someone faced?
Thank you in advance and I apologize if the question does not shine with knowledge and intellect :)
Answer the question
In order to leave comments, you need to log in
GET https://mybusiness.googleapis.com/v4/{parent=accou...
TYNTS
Further, having all the locations and all the coordinates as standard
Insert
objects on the map like this
#json в данном примере содержит полученые от гугла данные
for (i = 0; i < json.length; i++) {
var name = json[i].name;
var address = name;
var point = new google.maps.LatLng(json[i].lat, json[i].lng);
marker = createMarker(point, name, address);
bounds.extend(point);
}
map.fitBounds(bounds)
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question