I have a content type with an entity reference field to another content type. We'll call the first content type A, and the other B.
In my node level template for A, I need to output a google_map_field (https://www.drupal.org/project/google_map_field) from referenced entity (B).
I'm outputting other fields from B by using:
node.field_entity_reference.entity.field_example.value
However, this does not work for the google_map_field. Lots of errors spit out, regarding parts of the google_map_field, such as lat, lng etc. I'm guessing this is because the module usually does some processing of this field, which isn't being done due to the nature of how I'm outputting it?
I need to work out how to tell Drupal to render it as a GoogleMapFieldType
(I beleive).
Any guidance on this would be highly appreciated!
Thanks in advance.