Apologies for the second PR, I had some troubles with the original one #114. I added a 'mapdisplay' attribute to configure default behaviour of map, in my usecase this is a user-preference so i take initiate a Map object with a 'mapdisplay' parameter:
Added a simple if statement in gmapjs.html to click on the button in case mapdisplay = True. This could probably be coded in a more efficient way but it works.
Apologies for the second PR, I had some troubles with the original one #114. I added a 'mapdisplay' attribute to configure default behaviour of map, in my usecase this is a user-preference so i take initiate a Map object with a 'mapdisplay' parameter:
Added a simple if statement in gmapjs.html to click on the button in case mapdisplay = True. This could probably be coded in a more efficient way but it works.