It’s a fairly basic example where you craft a static message. Combine that with something like the TinyGPS library, and you should be able to get GPS position updates into your APRS packets without too much trouble.