Hi, now I am using the mobile scheduler for my project development (http://docs.webix.com/samples/62_scheduler/03_data/03_dynamic_loading.html )
I added lat and lng attributes for each event in json file.
My following code could popup lat and lng in message box.
function showLocation(){
var eventId = $$("scheduler").getCursor();
var location = $$("scheduler").getItem(eventId).lat + ", " +$$("scheduler").getItem(eventId).lng ;
webix.alert(location);
}
Is it possible to popup the event location in Google map? Any sample code for my reference?
Many thanks.
maksim
December 31, 2014, 3:45am
2
I don’t see any technical problems to show the google map with related event marker.
You can use google-map component
Third party integrations for the Webix UI
http://webix-hub.github.io/components/googlemap/sample.html
and show it in the popup or a standalone view in the scheduler.
If you need a more detailed sample - please open a support ticket.
following is my code
http://webix.com/snippet/21dbec8c
I tried the guide that you gave me. I could create a page for displaying google map, but I am not still clear how to popup this page after clicking on location button.