Create Map View in React


#1

I can’t create the Map button in the schedule with reactjs. How can I do? are there any examples?


#2

Hello @gorkj83,
I hope you follow our demo of how to use Scheduler with te React to create your project:


In order to add the map button to the Scheduler, please follow the general steps of how it can be done:

  1. Import your google map and dhtmlxscheduler_map_view.js to the Scheduler.js component:
    https://docs.dhtmlx.com/scheduler/map_view.html#initialization
  2. Then using the header config add the button to the page.
  3. And finally configure the map vie on the page.
    Unfortunately, I haven’t a ready demo.