Map is integrated but Date and Desciption is not displaying on left side of Map. The right side calendar showing my current location but that is not enough for me. I want left side events and details in the map view. so, that user can see the location of particular event in the calendar by selecting the event from left side window.
I also attached image. Please look on it also.
Please let me know how to display events and details in map view as per your demo.
Hi,
you may check map view example in Scheduler.MVC3 project from the trial package
url:
/DifferentModes/GoogleMap
source:
DifferentViewsController.cs
public ActionResult GoogleMap() - initializing
public ContentResult MapEvents() - example data
in short, in addition to usual mandatory properties(id, text,start_date,end_date) events class should have three more properties
public double lat;
public double lng;//coordinates
public string event_location;//text description of the place
if record have these properties it should be displayed on the map correctly.
Left side should display event details without any modifications. Are there any js errors on the page?
And sorry for unsufficient documentation, we’ll update that article in the nearest days
Hello,
it is default behavior of the map and agenda views, they show only future events.
You can change it using scheduler configuration, this setting available only on the client-side.
scheduler.config.map_start = minDate
e.g. <% Html.RenderPartial("Scheduler"); %>
<script>
scheduler.config.map_start = new Date(-1);
</script>or
DHXScheduler.BeforeInit.Add("scheduler.config.map_start = new Date(-1);")
Get a guaranteed answer from DHTMLX technical support team
under the most suitable support plan