* @param record the record
*/
private void makeAddToMapFromFactory(String resourceUrl,
String serviceType, String prefixResource, SearchResultRecord record) {
IMapViewer iMapViewer = MapViewerFactory.createMapViewer(resourceUrl, serviceType,
new SearchResultRecordAdapter(record), this.getRequestContext());
if (iMapViewer == null) {
return;
}
String addToMapUrl = iMapViewer.readAddToMapUrl();
if(addToMapUrl == null || "".equals(addToMapUrl)) {