Geomap: legend enhancements

The div shouldn't be needed since you are selecting by id (since ids must be unique). Will be better performance just to use <code>$( "#sb_" + featureTableId )</code>.