Tagged: , , ,

This topic contains 2 replies, has 2 voices, and was last updated by William Jarvis William Jarvis 1 week, 2 days ago.

  • Author
    Posts
  • #75437
    William Jarvis
    William Jarvis
    Participant

    When viewing the mode which shows pins on a map, if we have not selected a record to view the location, the map shows New York. Being based in the UK, how can we change this so if no record is displayed the map will display a location more relevant to us until a record is selected?

  • #75438
    admin
    admin
    Keymaster

    Hi William –

    While there is no option to modify this within the configuration, you can add the following into your Custom JS area in the settings file:

    scheduler.config.map_initial_position = new google.maps.LatLng(48.724, 8.215);

    Replace the two numbers in parenthesis with the Latitude and Longitude that you’d like to start.

    Instructions for adding this code:

    Add custom code to soSIMPLE Calendar

    Let us know how it goes.

  • #75439
    William Jarvis
    William Jarvis
    Participant

    Works perfectly. Exactly what we need. Now the user generally does not need to click into the list of events that day for the map to show the events it is listing. Thankfully the events are clustered around a particular area, which is why this was change was needed.

You must be logged in to reply to this topic.