Results 1 to 3 of 3

Thread: Changes in the Google Maps JavaScript API controls

  1. #1
    Thread Starter
    Senior Member bauerzs's Avatar
    Join Date
    May 2015
    Posts
    114
    Thanks
    23
    Thanked 3 Times in 3 Posts

    Changes in the Google Maps JavaScript API controls

    Hi Jomark,

    I got this email from Google (see below the stars). I think the mail is targeted at developers. Will the Vantage Directory Theme be prepared to this Javascript change?

    Zsuzsa

    ************************************************** **********

    Hello Google Maps Customer,

    We are changing the Google Maps JavaScript API controls to reduce the space they occupy on maps by default and to improve the accessibility of panning the map.
    We’re reaching out to you because we have observed one or more of the following criteria:
    Your end-users use the Zoom buttons significantly more than the average.
    One or more of your maps explicitly disables the Zoom control.
    One or more of your maps have customized controls.
    We have provided additional information below to guide you through this change.
    What you need to know
    Map controls are visual elements that allow user interaction with the map, including zooming the map, enabling Street View, and changing the Map Type.
    Version 3.58 adds a new Camera control in the Google Maps JavaScript API to make panning the map accessible with a single gesture. This feature will be available in the upcoming week. This new Camera control will feature buttons for panning the map and for zooming the map in and out, effectively being a single control to guide the map’s viewport.
    The upcoming changes are listed in the table below.
    ...

    What you need to do
    Before the default controls are updated
    Test the new Camera control on your maps before the default changes in version 3.60 reach the weekly channel in February 2025 or the quarterly channel in May 2025.
    To test the Camera control:
    If you use default controls in your map options, specify the Beta channel to see how the default controls will change.
    If you do not use the default controls, or prefer not to change to the Beta channel in your loader, enable the Camera control, and optionally disable the Zoom control, in google.maps.MapOptions.
    After the default controls are updated
    Consider taking one of the following actions after the default controls are updated to include the Camera control instead of the Zoom control in version 3.60 in February 2025 for the weekly channel and May 2025 for the quarterly channel.
    If your code explicitly enables the Zoom control (zoomControl: true), both the Zoom control and the Camera control will be displayed. Consider choosing one to save on map space.
    If your code explicitly disables the Zoom control (zoomControl: false), you may also want to disable the Camera control.
    If your code explicitly enables the Zoom control (zoomControl: true) while keeping the default controls disabled (disableDefaultUI: true), only the Zoom control will be displayed. For better accessibility, consider enabling the Camera control instead.
    If more time is needed
    If you need more time before adopting the default controls, you can specify version 3.59 which will be available until February 2026.
    We’re here to help
    Refer to our Maps Javascript API documentation for information about how to edit google.maps.MapOptions to enable cameraControl.
    If you have any other questions or need additional support, please contact us at Google Maps Platform Support.
    Thanks for choosing Google Maps Platform.

  2. #2
    jomarkosabel's Avatar
    Join Date
    Mar 2009
    Location
    Philippines
    Posts
    40,922
    Thanks
    168
    Thanked 3,403 Times in 3,274 Posts
    You must be an AppThemes customer and logged in to view this response. Join today!
    Please help our moderating team work more efficiently by not sending us support questions via PM. You can read more about how AppThemes support works here. However, you can send a PM to follow up and remind me if I missed your support request/thread.

    Thank you and have a nice day.

  3. #3
    jomarkosabel's Avatar
    Join Date
    Mar 2009
    Location
    Philippines
    Posts
    40,922
    Thanks
    168
    Thanked 3,403 Times in 3,274 Posts
    You must be an AppThemes customer and logged in to view this response. Join today!
    Please help our moderating team work more efficiently by not sending us support questions via PM. You can read more about how AppThemes support works here. However, you can send a PM to follow up and remind me if I missed your support request/thread.

    Thank you and have a nice day.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. [SOLVED] maps Javascript API and Geocoding API
    By lindaweiss in forum Help Using ClassiPress
    Replies: 3
    Last Post: March 7th, 2020, 04:09 AM
  2. Google Maps / Javascript error?
    By justintopliff in forum Help Using JobRoller
    Replies: 1
    Last Post: February 1st, 2018, 11:04 AM
  3. Replies: 2
    Last Post: July 18th, 2016, 05:04 AM
  4. [SOLVED] How do migration Google Maps JavaScript API v2 - v3 API for ClassiPress 3.0.5.3
    By eberth in forum Report ClassiPress Bugs
    Replies: 6
    Last Post: January 19th, 2013, 01:05 AM
  5. Javascript code that controls toggle_slide
    By pgourley in forum ClassiPress General Discussion
    Replies: 1
    Last Post: October 11th, 2010, 06:12 PM