HOW TO make Google Map is working on uBusinessDirectory?

Discuss everything related to Business Directory. All versions. Any questions related to the Business Directory developing or using should be posted to this forum.

Moderator: alexandrleonenko

administrator
Site Admin
Site Admin
Posts: 6004
Joined: Jan 7th, '09, 23:18
Contact:

Re: HOW TO make Google Map is working on uBusinessDirectory?

Postby administrator » Mar 29th, '18, 13:09

Each listing has a location and
Location Longitude:
Location Latitude:

so.. map centers itself by markers

or you may play with gmap3 settings

Code: Select all

$('.gmap3').gmap3({
 map:{
    options:{
     center:[22.49156846196823, 89.75802349999992],
     zoom:2,
     mapTypeId: google.maps.MapTypeId.SATELLITE,
     mapTypeControl: true,
     mapTypeControlOptions: {
       style: google.maps.MapTypeControlStyle.DROPDOWN_MENU
     },
     navigationControl: true,
     scrollwheel: true,
     streetViewControl: true
    }
 }
});


http://v6.gmap3.net/en/pages/5-getting-started/

Vlad
Newbie
Newbie
Posts: 3
Joined: Mar 29th, '18, 09:41

Re: HOW TO make Google Map is working on uBusinessDirectory?

Postby Vlad » Mar 30th, '18, 11:17

Hello.

Please explain in detail. I'm not a programmer.
Thank you.

administrator
Site Admin
Site Admin
Posts: 6004
Joined: Jan 7th, '09, 23:18
Contact:

Re: HOW TO make Google Map is working on uBusinessDirectory?

Postby administrator » Apr 1st, '18, 15:42

You must have at least basic knowledge in web-programming to implement these changes.

Vlad
Newbie
Newbie
Posts: 3
Joined: Mar 29th, '18, 09:41

Re: HOW TO make Google Map is working on uBusinessDirectory?

Postby Vlad » Apr 5th, '18, 10:00

Hello.

Ok, can you set up for an extra fee?

Thank you

administrator
Site Admin
Site Admin
Posts: 6004
Joined: Jan 7th, '09, 23:18
Contact:

Re: HOW TO make Google Map is working on uBusinessDirectory?

Postby administrator » Apr 5th, '18, 12:40

The map draws central location automatically according to selected listings
Look here: DirectoryComponent::printAllMarkers()


Return to “ApPHP Business Directory / uBusinessDirectory Talk {developers/users}”