How to implement Google’s ‘Plus Codes’ in markup

What is a Plus Code ?

You may, or probably not, have noticed that Google have rolled out a new geo location code in Google maps. It happened very quietly recently-ish and is, according to Geospatial World, an initiative by a team of Google Engineers in Zurich to create an address system that could be used for the 50% of the world’s urban zones that don’t have street names.

If you search in Google Maps for “V75V+8Q Paris” you will see the map centred on the Eiffel Tower and you’ll see this in the information panel on the left.

Apparently it has a precision of 3 metres by 3 metres and you can find out all about it on the Plus Codes Website and on the Wikipedia page about Open Location Codes.

It could seem a little superfluous considering the existence of Lat and Long, but as this is a purely Google initiative it would seem to make sense to put it in any Schema markup that Google can use to locate an organization or event.

How do you include the plus code in Schema markup ?

After a little fiddling around looking at the ‘geo’ property of the @type ‘Place’, then the ‘location’ property, for which unfortunately the text string is not a valid value, and even the ‘identifier’ property which, well, just wasn’t geographical enough for me, I stumbled across the fact that you can use the Plus Code as a text string value for “address”.

Great, but what about the other address, the postal address, because you can’t have duplicate “address” keys. There is probably a more elegant way of doing it, but what does seem to work is putting the PostalAddress as a “location”, like this

Inserting Google Olus Code in

So there you have it!