nit  maybe combine these branches into a single if  feature info iswebglcontext desire multi draw feature str find  gl webgl multi draw std  string  npos desire multi draw instanced feature str find  gl webgl multi draw instanced std  string  npos 