tags.put("class", vertex.getClass().getName());
if (vertex instanceof StreetVertex) {
StreetVertex sv = (StreetVertex) vertex;
StreetTraversalPermission perms = sv.getPermission();
if (perms != null)
tags.put("access", perms.toString().toLowerCase());
} else if (vertex instanceof AbstractStopVertex) {
AbstractStopVertex stopVertex = (AbstractStopVertex) vertex;
StopEntry stop = stopVertex.getStop();
StopBean stopBean = _stopBeanService.getStopForId(stop.getId());
tags.put("stop", stopBean);