Use checkGeometry in same domain iframe