Need help with Joomla? We are available for hire to help with Joomla customization, upgrades, maintenance, and custom development.
Explore our services

Google Map zoom

  • Catherine
  • Topic Author
  • Offline
  • New Member
  • New Member
More
9 years 2 weeks ago #104823 by Catherine
Google Map zoom was created by Catherine
Hi,
In Events Booking settings, Google Map zoom is limited to 14. I need to have 16. Is there any way to achieve this?

BTW and FYI, Events Booking documentation site ( eventbookingdoc.joomservices.com/ ) is down. Error 500.

Regards

Please Log in or Create an account to join the conversation.

  • Tuan Pham Ngoc
  • Away
  • Administrator
  • Administrator
More
9 years 1 week ago #104846 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Google Map zoom
Helo

Do you know what's maximum allowed value? I tried to search for documentation from Google Maps API but could not find it

For now, please open the file administrator/components/com_eventbooking/view/configuration/tmpl/default_general.php, find this line of code (line 343)

<?php echo JHtml::_('select.integerlist', 1, 14, 1, 'zoom_level', 'class="inputbox"', $config->zoom_level); ?>

Change 14 to the value you want and it will be OK

Regards,

Tuan

Please Log in or Create an account to join the conversation.

  • Catherine
  • Topic Author
  • Offline
  • New Member
  • New Member
More
9 years 1 week ago #104904 by Catherine
Replied by Catherine on topic Google Map zoom
Thanks Tuan!
Looks like max value is 20 or 21 ( developers.google.com/maps/documentation...aps/intro#Zoomlevels ). I hope you will have this in English or Vietnamese by default, otherwise you can find it by googling "maps google zoom levels". Seems that zoom levels change with countries / cities. I'm living in Paris (France), and zoom level 16 is default to see an address with nearby metro stations.
Regards.

Please Log in or Create an account to join the conversation.

  • Tuan Pham Ngoc
  • Away
  • Administrator
  • Administrator
More
9 years 1 week ago #104930 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Google Map zoom
Thanks Catherine. Guess I can increase it to 21 and will include this change in download package in the next release

Regards,

Tuan

Please Log in or Create an account to join the conversation.

Moderators: Tuan Pham Ngoc