Fixed bug in gmap not using pc from attribute