Kirby Google Maps Plugin Error

Hi,
I found the googlemap snippet on the docs from @bastianallgeier.
But now I got the errormessage: Fatal error: Class ‘g’ not found in …
Is this Plugin working with Kirby2?

Cheers

Could you post a link to the snippet?

Sorry, I forgot to post the link.
http://getkirby.com/docs/solutions/maps

Just from looking at the date of creation, that snippet is in fact pretty old. I’ll try to have a closer look. The bit causing the error is right at the beginning, g::get(), this is the “Globals” class that was present in Kirby 1. Apart from that, the Google Maps API is currently at v3.