writer.endElement("script");
}
protected void encodeOverlays(FacesContext context, GMap map) throws IOException {
MapModel model = map.getModel();
ResponseWriter writer = context.getResponseWriter();
//Overlays
if(model != null) {
if(!model.getMarkers().isEmpty())
encodeMarkers(context, map);
if(!model.getPolylines().isEmpty())
encodePolylines(context, map);
if(!model.getPolygons().isEmpty())
encodePolygons(context, map);
if(!model.getCircles().isEmpty())
encodeCircles(context, map);
if(!model.getRectangles().isEmpty())
encodeRectangles(context, map);
}
GMapInfoWindow infoWindow = map.getInfoWindow();