I create this class
@Tag(“google-maps”)
@HtmlImport(“frontend://components/maps.html”)
public class GoogleMaps extends PolymerTemplate{
private static final long serialVersionUID = 1L;
public GoogleMaps() {
setId("template");
getModel().setApiKey(PortalContextProvider.getGoogleMapKey());
}
}
and this template html
<google-map-search map="[[map]
]" query=“” results=“{{results}}”>
{{marker.name}}
{{marker.formatted_address}}
but with no results. No display in the web.