JSFiddle - React, Tailwind, and code Playground

by ryanttb

HTML

<script src="http://test.jquerygeo.com/jquery.geo-1.0.0-test.min.js"></script>
<span id="out"></span>

JavaScript

try {
    $.geo.proj = null;
    var bbox1 = [-904585.724333333, -1227299.61, -431680.59375, -935232.3125],
        bbox2 = [-914585.724333333, -1627299.61, -441680.59375, -935232.3125];
    $.geo.include(bbox1, bbox2);
    $('#out').text( 'ok' );
} catch ( e ) {
    $('#out').text( 'error' );
}