Currently, IVectorLayer.getStyle interface just returns IVectorStyle. This is not accurate. IVectorLayer.getStyle can also be HeatmapStyle.