I know how to add a widgets and shortcuts in general, but haven't been able to figure out how some apps like Google Maps add shortcuts to the launcher's widget menu. I've been researching it for days with no luck.
I know these are not ordinary 1x1 widgets, because I cannot resize them, and they can be put in folders like normal apps (which is not possible with small widgets), plus, Nova Launcher shows them with a word "shortcut".