Not sure if this work in V6 and/or with LM940. But with v7.2rc3, GPS package works with the Telit 960 (e.g. LM960A18 etc). There were problems with ports in previous V7 builds, but I suspect this work:
Make sure Telit / LTE are working generally. While perhaps you can use GPS without LTE data service, ideally you’d have the LTE interface working for internet/data first.
Install the GPS package from the extra-package for platform from www.mikrotik.com/download (e.g. copy gps.npk file to router file system root & reboot)
Some AT commands to enable GPS the first time, first you may need to set the GPS antenna to use (1 = share GPS with Rx diversity antenna, 2 = use dedicate “GPS” antenna, 3 = same but “powered”). Default is “2” for external GPS antenna, but without dedicated GPS antenna “1” may be more likely to work
Finally, you need to enable and configure the Mikrotik GPS package. This command will find the port and setup it up.
/system gps set enabled=yes channel=1 init-channel=3 init-string="AT\$GPSNMUN=1,1,1,1,1,1,1" port=[/port/find where channels > 2]
If it doesn’t work after a couple minutes, either enable/disable GPS or reboot. If still didn’t work, the init-channel and/or port may not be right in the GPS settings.