- February 6, 2019 at 8:04 am #75437
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?
- February 6, 2019 at 12:50 pm #75438
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:
Let us know how it goes.
- February 6, 2019 at 3:42 pm #75439
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.