CINXE.COM

Search for records | NBN Atlas

<!DOCTYPE html> <html lang="en-AU"> <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/> <meta name="app.version" content="6.0.12.4-NBN-1-0-1"/> <meta name="app.build" content=""/> <meta name="description" content="NBN Atlas"/> <meta name="author" content="NBN Atlas"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <!-- Favicon --> <link href="https://layout.nbnatlas.org/uk/favicon.ico" rel="shortcut icon" type="image/x-icon"/> <title>Search for records | NBN Atlas</title> <link href="https://layout.nbnatlas.org/uk/commonui-bs3-v2/css/bootstrap.min.css" rel="stylesheet" media="screen,print"/> <link href="https://layout.nbnatlas.org/uk/commonui-bs3-v2/css/bootstrap-theme.min.css" rel="stylesheet" media="screen,print"/> <link href="https://layout.nbnatlas.org/uk/commonui-bs3-v2/css/ala-styles.css" rel="stylesheet" media="screen,print"/> <link href="https://layout.nbnatlas.org/uk/commonui-bs3-v2/css/autocomplete.min.css" rel="stylesheet" media="screen,print"/> <link href="https://layout.nbnatlas.org/uk/commonui-bs3-v2/css/autocomplete-extra.min.css" rel="stylesheet" media="screen,print"/> <link href="https://layout.nbnatlas.org/uk/commonui-bs3-v2/css/font-awesome.min.css" rel="stylesheet" media="screen,print"/> <link rel="stylesheet" href="/assets/ala-admin-asset-b49e31ab5b68287070729cdb93ef8636.css"/> <script type="text/javascript" src="https://layout.nbnatlas.org/uk/commonui-bs3-v2/js/jquery.min.js"></script> <script type="text/javascript" src="https://layout.nbnatlas.org/uk/commonui-bs3-v2/js/jquery-migration.min.js"></script> <script type="text/javascript" src="https://layout.nbnatlas.org/uk/commonui-bs3-v2/js/autocomplete.min.js"></script> <script type="text/javascript" src="https://layout.nbnatlas.org/uk/commonui-bs3-v2/js/application.js" defer></script> <script type="text/javascript" src="https://layout.nbnatlas.org/uk/commonui-bs3-v2/js/bootstrap.min.js"></script> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/> <meta name='grails.env' content='PRODUCTION' /> <meta name='app.version' content='' /> <meta name='app.grails.version' content='' /> <meta name='build.date' content='' /> <meta name='scm.version' content='' /> <meta name='environment.BUILD_NUMBER' content='' /> <meta name='environment.BUILD_ID' content='' /> <meta name='environment.BUILD_TAG' content='' /> <meta name='environment.GIT_BRANCH' content='' /> <meta name='environment.GIT_COMMIT' content='' /> <meta name='java.version' content='1.8.0_432' /> <meta name="description" content="NBN Atlas"/> <meta name="author" content="NBN Atlas"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <meta name="breadcrumb" content="Occurrence records"> <meta name="breadcrumbs" content=""> <meta name="breadcrumbParent" content=""> <meta name="hideBreadcrumb" content=""> <link rel="stylesheet" href="/assets/alaBs-125fba5672f0721315e96170237c280a.css"/> <script type="text/javascript" src="/assets/alaBs-1f1d53ea6c2b8dcbd5e41539c9b08a85.js" ></script> <meta name="layout" content="ala"/> <meta name="section" content="search"/> <meta name="svn.revision" content=""/> <meta name="breadcrumb" content="Occurrence records"/> <meta name="hideBreadcrumb" content=""/> <script src="https://maps.googleapis.com/maps/api/js?key=AIzaSyAWplaVOkSxCy-h8vAshbHXOQaUfI867eg" type="text/javascript"></script> <script type="text/javascript"> // global var for GSP tags/vars to be passed into JS functions var BC_CONF = { biocacheServiceUrl: "https://records-ws.nbnatlas.org", bieWebappUrl: "https://species.nbnatlas.org", bieWebServiceUrl: "https://species-ws.nbnatlas.org", autocompleteHints: {}, contextPath: "", locale: "en", queryContext: "", autocompleteUrl: "https://species-ws.nbnatlas.org/search/auto.json", autocompleteUseBie: true } /* Load Spring i18n messages into JS */ jQuery.i18n.properties({ cache: true, async: true, name: 'messages', path: BC_CONF.contextPath + '/messages/i18n/', mode: 'map', language: BC_CONF.locale }); $(document).ready(function() { // Init BS tooltip $('[data-toggle="tooltip"]').tooltip({ html: true, placement: 'right', container: '#content' }); }); </script> <!-- Here are the leaflet plugins JS --> <script type="text/javascript" src="/assets/leaflet/leaflet-ef1f5f9de31e87f125a5ce4f339f4a30.js" ></script> <script type="text/javascript" src="/assets/leafletPlugins-c2660331da1baad121251eeb1dfd5e55.js" ></script> <script type="text/javascript" src="/assets/mapCommon-d4d591e6f67d99ae5dd3efde45a89fbf.js" ></script> <script type="text/javascript" src="/assets/bootstrapCombobox-6180cb691ec97bfee249391eb854c30e.js" ></script> <!-- Here are the leaflet plugins CSS --> <link rel="stylesheet" href="/assets/leaflet/leaflet-6db6aeb0e0e5a614462202d4ced74256.css"/> <link rel="stylesheet" href="/assets/leafletPlugins-bea7a72a686622e202c3f9871f08f211.css"/> <link rel="stylesheet" href="/assets/searchMap-f61ba5b6624b3b8d4230bdad1b827d69.css"/> <link rel="stylesheet" href="/assets/search-9f124b9c74b0e262198e518ef18845bd.css"/> <link rel="stylesheet" media="print" href="/assets/print-search-4a58de84b37f777dc84e72b3846b4815.css"/> <link rel="stylesheet" href="/assets/bootstrapCombobox-12547ed85f3f9350882f6ecc6e338d8c.css"/> <script type="text/javascript" src="/assets/autocomplete-ec4dd0296a9c7ac9d50e4a40d45c6ccf.js" ></script> <script type="text/javascript"> var NBN = NBN || {} </script> <script src="/assets/application.js" ></script> <!-- Google tag (gtag.js) --> <script async src="https://www.googletagmanager.com/gtag/js?id=GT-K48F5BB"></script> <script> window.dataLayer = window.dataLayer || []; function gtag(){dataLayer.push(arguments);} gtag('js', new Date()); gtag('config', 'GT-K48F5BB'); </script> <link href="https://fonts.googleapis.com/css?family=Pontano+Sans|PT+Sans:400,700" rel="stylesheet" type="text/css"> <link href="https://layout.nbnatlas.org/uk/commonui-bs3-v2/css/font-awesome.min.css" rel="stylesheet" type="text/css" /> <link href="https://nbnatlas.org/shared/css-bs3/" type="text/css" rel="stylesheet" media="screen, projection, print" /> <!-- HTML5 shim and Respond.js for IE8 support of HTML5 elements and media queries --> <!-- WARNING: Respond.js doesn't work if you view the page via file:// --> <!--[if lt IE 9]> <script src="https://oss.maxcdn.com/html5shiv/3.7.2/html5shiv.min.js"></script> <script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script> <![endif]--> <script type="text/javascript"> $(document).ready(function() { var now = (new Date()).getTime(); $('head').append( $('<link rel="stylesheet" type="text/css" />').attr('href', '/assets/nbn.css') ); $('head').append( $('<link rel="stylesheet" type="text/css" />').attr('href', 'https://layout.nbnatlas.org/status_base.css') ); $('head').append( $('<link rel="stylesheet" type="text/css" />').attr('href', 'https://layout.nbnatlas.org/status.css?'+now) ); $.getScript( 'https://layout.nbnatlas.org/status.js'); $.getScript( '/assets/nbn.js' ); }); </script> </head> <body class="nav-datasets fluid" id="" onload=""> <!-- Header --> <header class="banner" role="banner"> <div class="container-fluid"> <div class="navigation row"> <nav class="navbar" role="navigation"> <div id="navbar-global" class="navbar-collapse collapse navbar-global"> <ul id="menu-global-navigation" class="nav navbar-nav"><li class="menu-item menu-national-biodiversity-network-trust"><a target="_blank" rel="noopener" href="https://nbn.org.uk">National Biodiversity Network Trust</a></li> <li class="menu-item menu-nbn-forum"><a target="_blank" rel="noopener" href="http://forums.nbn.org.uk">NBN Forum</a></li> <li class="menu-item menu-nbn-atlas"><a href="https://nbnatlas.org">NBN Atlas</a></li> <li class="menu-item menu-log-in"><a href="https://auth.nbnatlas.org/cas/login?service=https://nbnatlas.org/">Log In</a></li> </ul> </div> </nav> <div class="visible-xs visible-sm"> <div class="navbar-xs"> <a class="brand" href="https://nbnatlas.org/"><img src="https://nbnatlas.org/wp-content/uploads/2017/01/AL_Logo-15-1440x363.png" class="img-responsive" alt="NBN Atlas"></a> <button class="navbar-toggle collapsed" data-target="#navbar,#navbar-global" data-toggle="collapse" type="button"> <span class="sr-only">Toggle navigation</span> <span class="icn-bar"></span> <span class="icn-bar"></span> <span class="icn-bar"></span> </button> </div> </div> <nav class="navbar" role="navigation"> <div id="navbar-apex" class="navbar-collapse collapse navbar-apex"> <form method="get" action="https://species.nbnatlas.org/search/" role="search" class="navbar-form navbar-left"> <div class="form-group"> <input type="text" autocomplete="off" placeholder="SEARCH" name="q" title="Search" class="autocomplete ac_input" id="navbar-search"> </div> <button class="btn btn-link" type="submit"><i class="fa fa-search"></i></button> </form> <ul id="menu-apex-navigation" class="nav navbar-nav"><li class="menu-item menu-join-or-donate"><a target="_blank" rel="noopener" href="https://nbn.org.uk/join-or-donate/join-the-nbn/">Join or Donate</a></li> <li class="menu-item menu-nbn-atlas-news"><a target="_blank" rel="noopener" href="https://nbn.org.uk/news-events-publications/latest-stories-from-our-network/nbn-atlas-news/">NBN Atlas News</a></li> <li class="menu-item menu-contact-us"><a href="https://nbnatlas.org/contact-us/">Contact us</a></li> <li class="menu-item menu-log-in-register"><a target="_blank" rel="noopener" href="https://auth.nbnatlas.org/userdetails/myprofile/">Log in / Register</a></li> <li class="dropdown menu-item menu-item-has-children menu-choose-nbn-atlas"><a href="#" class="dropdown-toggle" data-toggle="dropdown" data-target="#">Choose NBN Atlas</a> <ul class="dropdown-menu"> <li class="menu-item menu-nbn-atlas"><a href="https://nbnatlas.org/">NBN Atlas</a></li> <li class="menu-item menu-nbn-atlas-isle-of-man"><a href="https://isleofman.nbnatlas.org/">NBN Atlas Isle of Man</a></li> <li class="menu-item menu-nbn-atlas-northern-ireland"><a href="https://northernireland.nbnatlas.org/">NBN Atlas Northern Ireland</a></li> <li class="menu-item menu-nbn-atlas-scotland"><a href="https://scotland.nbnatlas.org/">NBN Atlas Scotland</a></li> <li class="menu-item menu-nbn-atlas-wales"><a href="https://wales.nbnatlas.org/">NBN Atlas Wales</a></li> <li class="menu-item menu-beautiful-burial-ground-portal"><a target="_blank" rel="noopener" href="https://burialgrounds.nbnatlas.org/">Beautiful Burial Ground Portal</a></li> </ul> </li> </ul> </div> </nav> <nav class="navbar affix-nav" role="navigation"> <div id="navbar" class="navbar-collapse collapse navbar-primary"> <a class="brand hidden-xs hidden-sm" href="https://nbnatlas.org/"><img src="https://nbnatlas.org/wp-content/uploads/2017/01/AL_Logo-15-1440x363.png" class="img-responsive" alt="NBN Atlas"></a> <ul id="menu-primary-navigation" class="nav navbar-nav"><li class="menu-item menu-species"><a href="https://species.nbnatlas.org/">Species</a></li> <li class="dropdown menu-item menu-item-has-children menu-locations"><a href="#" class="dropdown-toggle" data-toggle="dropdown" data-target="#">Locations</a> <ul class="dropdown-menu"> <li class="menu-item menu-search-by-polygon"><a href="https://records.nbnatlas.org/search#tab_spatialSearch">Search by polygon</a></li> <li class="menu-item menu-explore-by-address-postcode-or-location"><a href="https://records.nbnatlas.org/explore/your-area">Explore by address, postcode or location</a></li> <li class="menu-item menu-explore-by-pre-defined-area"><a href="https://regions.nbnatlas.org/">Explore by pre-defined area</a></li> </ul> </li> <li class="menu-item menu-analyse"><a href="https://spatial.nbnatlas.org/">Analyse</a></li> <li class="dropdown menu-item menu-item-has-children menu-get-involved"><a href="#" class="dropdown-toggle" data-toggle="dropdown" data-target="#">Get Involved</a> <ul class="dropdown-menu"> <li class="menu-item menu-find-a-wildlife-survey-or-recording-scheme"><a target="_blank" rel="noopener" href="https://nbn.org.uk/tools-and-resources/useful-websites/database-of-wildlife-surveys-and-recording-schemes/">Find a wildlife survey or recording scheme</a></li> <li class="menu-item menu-share-data-on-the-nbn-atlas"><a target="_blank" rel="noopener" href="https://nbn.org.uk/record-share-explore-data/share-your-data/">Share data on the NBN Atlas</a></li> <li class="menu-item menu-nbn-atlas-citations"><a target="_blank" rel="noopener" href="https://nbn.org.uk/tools-and-resources/nbn-atlas-citations/">NBN Atlas Citations</a></li> <li class="menu-item menu-donate-support-the-nbn-atlas-and-the-nbn-trust"><a href="https://nbnatlas.org/support-the-nbn/">Donate / Support the NBN Atlas and the NBN Trust</a></li> <li class="menu-item menu-sign-up-for-our-newsletter"><a target="_blank" rel="noopener" href="https://nbn.org.uk/news-events-publications/latest-stories-from-our-network/enews-sign-up/">Sign up for our Newsletter</a></li> <li class="menu-item menu-nbn-conference"><a target="_blank" rel="noopener" href="https://nbn.org.uk/news-events-publications/nbn-conference-2/">NBN Conference</a></li> </ul> </li> <li class="dropdown menu-item menu-item-has-children menu-data-and-partners"><a href="#" class="dropdown-toggle" data-toggle="dropdown" data-target="#">Data and Partners</a> <ul class="dropdown-menu"> <li class="menu-item menu-search-for-a-data-partner"><a href="https://registry.nbnatlas.org">Search for a Data Partner</a></li> <li class="menu-item menu-search-nbn-atlas-datasets"><a href="https://registry.nbnatlas.org/datasets">Search NBN Atlas datasets</a></li> <li class="menu-item menu-advanced-record-search"><a href="https://records.nbnatlas.org/search#advanceSearch">Advanced record search</a></li> <li class="menu-item menu-species-lists"><a target="_blank" rel="noopener" href="https://lists.nbnatlas.org/public/speciesLists">Species lists</a></li> <li class="menu-item menu-nbn-atlas-data-processing-schedule"><a href="https://nbnatlas.org/nbn-atlas-data-processing-schedule/">NBN Atlas data processing schedule</a></li> <li class="menu-item menu-global-biodiversity-information-facility-gbif"><a target="_blank" rel="noopener" href="https://www.gbif.org/">Global Biodiversity Information Facility (GBIF)</a></li> </ul> </li> <li class="dropdown menu-item menu-item-has-children menu-about"><a href="#" class="dropdown-toggle" data-toggle="dropdown" data-target="#">About</a> <ul class="dropdown-menu"> <li class="menu-item menu-about-nbn-atlas"><a href="http://nbnatlas.org/about-nbn-atlas/">About NBN Atlas</a></li> <li class="menu-item menu-fit-for-the-future-project"><a href="https://nbnatlas.org/about-nbn-atlas/fit-for-the-future-project/">Fit for the Future Project</a></li> <li class="menu-item menu-join-or-donate"><a target="_blank" rel="noopener" href="https://nbn.org.uk/join-or-donate/join-the-nbn/">Join or Donate</a></li> </ul> </li> <li class="menu-item menu-help"><a target="_blank" rel="noopener" href="https://docs.nbnatlas.org/">Help</a></li> </ul> </div> </nav> </div> </div> </header> <!-- End header --> <!-- Breadcrumb --> <section id="breadcrumb"> <div class="container-fluid"> <div class="row"> <nav aria-label="Breadcrumb" role="navigation"> <ol class="breadcrumb-list"> <li><a href="https://nbnatlas.org">Home</a></li> <li class="active">Occurrence records</li> </ol> </nav> </div> </div> </section> <!-- End Breadcrumb --> <!-- Optional banner message (requires ala-admin-plugin) --> <div class="ala-admin-message"> </div> <!-- end banner message --> <!-- Container --> <div class="container-fluid" id="main"> <div class="container-fluid" id="main-content"> <div id="headingBar" class="heading-bar"> <h1 style="width:100%;" id="searchHeader">Search for records in NBN Atlas</h1> </div> <div class="row" id="content"> <div class="col-sm-12 col-md-12"> <div class="tabbable"> <ul class="nav nav-tabs" id="searchTabs"> <li><a id="t1" href="#simpleSearch" data-toggle="tab">Simple search</a></li> <li><a id="t2" href="#advanceSearch" data-toggle="tab">Advanced search</a></li> <li><a id="t3" href="#taxaUpload" data-toggle="tab">Batch taxon search</a></li> <li><a id="t4" href="#catalogUpload" data-toggle="tab">Catalogue number search</a> </li> <li><a id="t6" href="#eventSearch" data-toggle="tab">Event search</a> </li> <li><a id="t5" href="#spatialSearch" data-toggle="tab">Spatial search</a></li> </ul> </div> <div class="tab-content searchPage"> <div id="simpleSearch" class="tab-pane active"> <form class="form-horizontal" name="simpleSearchForm" id="simpleSearchForm" action="/simpleSearch" method="GET"> <br/> <div class="col-sm-9 input-group"> <input type="text" class="form-control" name="q" id="taxa"/> <span class="input-group-btn"> <input class="form-control btn btn-primary" id="locationSearch" type="submit" value="Search"/> </span> </div> <div> <br/> <span class="simpleSearchNote"> <b>Note:</b> the simple search attempts to match a known <b>species/taxon</b> - by its scientific name or common name. If there are no name matches, a <b>full text</b> search will be performed on your query</b> </span> </div> </form> </div><!-- end simpleSearch div --> <div id="advanceSearch" class="tab-pane"> <script type="text/javascript" src="/assets/nbn/advancedSearch-cd90bf024104ae2a584ab4d0f1c5a14d.js" ></script> <link rel="stylesheet" href="/assets/nbn/rSlider.min-10e8716eba44f8d29e3c471d757eaeea.css"/> <script type="text/javascript" src="/assets/nbn/rSlider.min-833de37ec7de602caefb17b34cac13cf.js" ></script> <link rel="stylesheet" href="/assets/nbn/nbn-9ddb31447c5e84036ec49a9862726790.css"/> <div class="nbn"> <form class="form-horizontal" action="/occurrences/searchByOccurrenceID" method="POST"> <fieldset> <legend>Search by Occurrence ID</legend> <div class="form-group"> <label class="col-md-2 control-label" for="occurrenceID">Occurrence ID</label> <div class="col-md-6 input-group" style="padding:0px 15px"> <input type="text" class="form-control" name="occurrenceID" id="occurrenceID" placeholder="e.g. a record id"/> <span class="input-group-btn"> <input class="form-control btn btn-primary" type="submit" value="Search"/> </span> </div> </div> </fieldset> </form> <form class="form-horizontal" name="advancedSearchForm" id="advancedSearchForm" action="/occurrences/searchByOther" method="POST" id="advancedSearchForm"> <input type="hidden" name="nameType" value="taxa"/> <fieldset> <legend>Search by Other</legend> <div class="form-group"> <label class="col-md-2 control-label" for="collectionCode">Event ID</label> <div class="col-md-6"> <input type="text" class="form-control" name="eventID" id="eventID" placeholder="e.g. A survey id"/> </div> </div> <div class="form-group"> <label class="col-md-2 control-label" for="collectionCode">Collection Code</label> <div class="col-md-6"> <input type="text" class="form-control" name="collectionCode" id="collectionCode" placeholder="e.g. A sample id"/> </div> </div> <div class="form-group" id="taxa"> <label class="col-md-2 control-label" for="taxonText">Taxon name</label> <div class="col-md-6"> <input type="text" value="" id="taxonText" name="taxonText" class="name_autocomplete form-control" placeholder="Enter a common name or a scientific name" size="60"> </div> </div> <div class="form-group"> <label class="col-md-2 control-label" for="taxonID">Taxon ID (UKSI TVK)</label> <div class="col-md-6"> <input type="text" value="" id="taxonID" name="taxonID" class="form-control" size="60" placeholder="e.g. NHMSYS0000376154"> </div> </div> <div class="form-group"> <label class="col-md-2 control-label">Native/non-native</label> <div class="col-md-6 radio"> <label class="radio"> <input type="radio" name="nativeStatus" value="ALL" checked> All </label> <label class="radio"> <input type="radio" name="nativeStatus" value="NATIVE"> Native </label> <label class="radio"> <input type="radio" name="nativeStatus" value="NONE-NATIVE"> Non-native </label> </div> </div> <div class="form-group"> <label class="col-md-2 control-label">Habitat</label> <div class="col-md-6 radio"> <label class="radio"> <input type="radio" name="habitatTaxon" value="ALL" checked> All </label> <label class="radio"> <input type="radio" name="habitatTaxon" value="TERRESTRIAL"> Terrestrial </label> <label class="radio"> <input type="radio" name="habitatTaxon" value="FRESHWATER"> Freshwater </label> <label class="radio"> <input type="radio" name="habitatTaxon" value="MARINE"> Marine </label> </div> </div> <div class="form-group"> <label class="col-md-2 control-label">Basis of record</label> <div class="col-md-6 radio"> <label class="checkbox"> <input name="basisOfRecord" type="checkbox" value="HumanObservation" checked> Human observation </label> <label class="checkbox"> <input name="basisOfRecord" type="checkbox" value="PreservedSpecimen" checked> Preserved specimen </label> <label class="checkbox"> <input name="basisOfRecord" type="checkbox" value="FossilSpecimen" checked> Fossil specimen </label> <label class="checkbox"> <input name="basisOfRecord" type="checkbox" value="LivingSpecimen" checked> Living specimen </label> <label class="checkbox"> <input name="basisOfRecord" type="checkbox" value="MaterialSample" checked> Material sample </label> </div> </div> <div class="form-group"> <label class="col-md-2 control-label">Identification verification status</label> <div class="col-md-6 radio"> <label class="radio"> <input type="radio" name="identificationVerificationStatus" value="ANY" checked> Any </label> <label class="radio"> <input type="radio" name="identificationVerificationStatus" value="ACCEPTED"> Accepted </label> <label class="radio"> <input type="radio" name="identificationVerificationStatus" value="UNCONFIRMED"> Unconfirmed </label> </div> </div> <div class="form-group"> <label class="col-md-2 control-label" for="identifiedBy">Identified by</label> <div class="col-md-6"> <input type="text" value="" id="identifiedBy" name="identifiedBy" class="form-control" size="60" placeholder="Enter all or part of the name"> </div> </div> <div class="form-group"> <label class="col-md-2 control-label" for="recordedBy">Recorded by</label> <div class="col-md-6"> <input type="text" value="" id="recordedBy" name="recordedBy" class="form-control" size="60" placeholder="Enter all or part of the name"> </div> </div> <div class="form-group not_done_yet"> <label class="col-md-2 control-label" for="data-provider">Data partner</label> <div class="col-md-6"> <select class="form-control" name="dataProviderUID" id="data-provider"> <option value="">-- Select one --</option> </select> </div> </div> <div class="form-group"> <label class="col-md-2 control-label">Licence type</label> <div class="col-md-6 radio"> <label class="radio"> <input name="licenceType" type="radio" value="ALL" checked/> All </label> <label class="radio"> <input name="licenceType" type="radio" value="OPEN"> Open </label> <label class="radio"> <input name="licenceType" type="radio" value="SELECTED"> Choose from list </label> </div> </div> <div class="form-group" id="select_licence"> <label class="col-md-2 control-label"></label> <div class="col-md-6"> <div class="col-md-4"> <div class="checkbox"> <label> <input name="selectedLicence" type="checkbox" value="CC0"/> CC0 </label> </div> <div class="checkbox"> <label> <input name="selectedLicence" type="checkbox" value="OGL"/> OGL </label> </div> </div> <div class="col-md-4"> <div class="checkbox"> <label> <input name="selectedLicence" type="checkbox" value="CC-BY"> CC-BY </label> </div> <div class="checkbox"> <label> <input name="selectedLicence" type="checkbox" value="CC-BY-NC"> CC-BY-NC </label> </div> </div> </div> </div> <div class="form-group"> <label class="col-md-2 control-label" for="gridReference">Grid reference</label> <div class="col-md-6"> <label class="radio-inline"><input name="gridReferenceType" type="radio" value="GB" checked> GB </label> <label class="radio-inline"><input name="gridReferenceType" type="radio" value="IRISH"> Irish</label> <input type="text" value="" id="gridReference" name="gridReference" class="form-control" size="8" placeholder="Enter any grid reference e.g.SK5740" maxlength="8" placeholder=""> </div> </div> <div class="form-group"> <label class="col-md-2 control-label" for="lerc">LERC</label> <div class="col-md-6"> <select class="form-control" name="lercName" id="lerc"> <option value="">-- Select one --</option> </select> </div> </div> <div class="form-group"> <label class="col-md-2 control-label" for="vice-county">Vice county</label> <div class="col-md-6"> <select class="form-control" name="viceCountyName" id="vice-county"> <option value="">-- Select one --</option> </select> </div> </div> <div class="form-group"> <label class="col-md-2 control-label" for="vice-county-ireland">Vice county Ireland</label> <div class="col-md-6"> <select class="form-control" name="viceCountyIrelandName" id="vice-county-ireland"> <option value="">-- Select one --</option> </select> </div> </div> <div class="form-group"> <label class="col-md-2 control-label">Occurrence Date</label> <div class="col-md-6 radio"> <label> <input type="radio" name="dateType" value="ANY" checked> Any </label> </div> </div> <div class="form-group specific_date_input"> <label class="col-md-2 control-label"></label> <div class="col-md-6 radio"> <label> <input type="radio" name="dateType" value="SPECIFIC_DATE"> Year and/or month and/or day </label> </div> </div> <div class="form-group specific_date_input"> <label class="col-md-2 control-label"></label> <div class="col-md-2"> <input type="text" value="" placeholder="YYYY" id="year" name="year" class="form-control" size="4" maxlength="4"> </div> <div class="col-md-2"> <input type="text" value="" placeholder="MM" id="month" name="month" class="form-control" size="2" maxlength="2"> </div> <div class="col-md-2"> <input type="text" value="" placeholder="DD" id="day" name="day" class="form-control" size="2" maxlength="2"> </div> </div> <div class="form-group"> <label class="col-md-2 control-label"></label> <div class="col-md-6 radio"> <label> <input type="radio" name="dateType" value="YEAR_RANGE"> Year range </label> </div> </div> <div style="height:10px">&nbsp;</div> <div class="form-group"> <label class="col-md-2 control-label"></label> <div id="yearRangeSlider" class="col-md-6"> <input type="text" id="slider" class="slider" name="yearRange"> </div> </div> <div class="form-group"> <label class="col-md-2 control-label" for="annotations">Annotations</label> <div class="col-md-6"> <label class="checkbox-inline"> <input type="checkbox" id="annotations" name="annotations" value="EXCLUDE_ANNOTATIONS"> Remove records with queries </label> </div> </div> <div class="form-group"> <div class="col-md-2"></div> <div class="col-md-6"> <div style="float:right"> <input type="reset" value="Clear all" id="clearAll" class="btn btn-default"/> <input type="submit" value=Search class="btn btn-primary" /> </div> </div> </div> </fieldset> </form> </div> </div><!-- end #advancedSearch div --> <div id="taxaUpload" class="tab-pane"> <form name="taxaUploadForm" id="taxaUploadForm" action="https://records-ws.nbnatlas.org/occurrences/batchSearch" method="POST"> <div class="row"> <div class="col-sm-8"> <div class="form-group-off"> <label for="raw_names">Enter a list of taxon names/scientific names, one name per line (common names not currently supported).</label> <textarea name="queries" id="raw_names" class="form-control" rows="15" cols="60"></textarea> <div class="row"> <div class="col-sm-2"> <div class="radio "> Search on: </div> </div> <div class="col-sm-10"> <div class="radio "> <label> <input type="radio" name="field" id="batchModeMatched" value="taxa" checked> Matched name (via the NBN Atlas taxonomy) </label> <a href="#" data-toggle="tooltip" data-placement="right" title="Input names will be matched to their accepted scientific name in the NBN Atlas taxonomy. Results will include records for known synonyms"><i class="glyphicon glyphicon-question-sign"></i></a> </div> <div class="radio"> <label> <input type="radio" name="field" id="batchModeRaw" value="raw_scientificName" > Supplied name (note: is case-sensitive so genus should be capitalised) </label> <a href="#" data-toggle="tooltip" data-placement="right" title="Input names will only match the scientific name supplied in the original occurrence record. Results will NOT include records for known synonyms. Note: searching is case sensitive."><i class="glyphicon glyphicon-question-sign"></i></a> </div> </div> </div> </div> <input type="hidden" name="redirectBase" value="https://records.nbnatlas.org/occurrences/search" class="form-control"> <input type="hidden" name="action" value="Search" /> <input type="submit" value="Search" class="btn btn-primary" /> </div> </div> </form> </div><!-- end #uploadDiv div --> <div id="catalogUpload" class="tab-pane"> <form name="catalogUploadForm" id="catalogUploadForm" action="https://records-ws.nbnatlas.org/occurrences/batchSearch" method="POST"> <div class="row"> <div class="col-sm-8"> <div class="form-group"> <label for="catalogue_numbers">Enter a list of catalogue numbers (one number per line).</label> <textarea name="queries" id="catalogue_numbers" class="form-control" rows="15" cols="60"></textarea> </div> <input type="hidden" name="redirectBase" value="https://records.nbnatlas.org/occurrences/search" class="form-control"> <input type="hidden" name="field" value="catalogue_number" class="form-control"> <input type="hidden" name="action" value="Search" /> <input type="submit" value="Search" class="btn btn-primary" /> </div> </div> </form> </div><!-- end #catalogUploadDiv div --> <div id="eventSearch" class="tab-pane"> <form name="eventSearchForm" id="eventSearchForm" action="https://records-ws.nbnatlas.org/occurrences/batchSearch" method="POST"> <div class="row"> <div class="col-sm-8"> <div class="form-group"> <label for="event_ids">Search across event ID, parent event ID, field number and dataset / survey name. </label> <br/> <label> Enter a list of terms (one per line). </label> <textarea name="queries" id="event_keywords" class="form-control" rows="5" cols="60"></textarea> </div> <input type="hidden" name="redirectBase" value="https://records.nbnatlas.org/occurrences/search" class="form-control"> <input type="hidden" name="field" value="text_eventID, text_parentEventID, text_fieldNumber, text_datasetName" class="form-control"> <input type="hidden" name="action" value="Search" /> <input type="submit" value="Search" class="btn btn-primary" /> </div> </div> </form> <br> <form name="eventIDSearchForm" id="eventIDSearchForm" action="https://records-ws.nbnatlas.org/occurrences/batchSearch" method="POST"> <div class="row"> <div class="col-sm-8"> <div class="form-group"> <label for="event_ids">Enter a list of event IDs (one per line).</label> <textarea name="queries" id="event_ids" class="form-control" rows="5" cols="60"></textarea> </div> <input type="hidden" name="redirectBase" value="https://records.nbnatlas.org/occurrences/search" class="form-control"> <input type="hidden" name="field" value="text_eventID" class="form-control"> <input type="hidden" name="action" value="Search" /> <input type="submit" value="Search" class="btn btn-primary" /> </div> </div> </form> <br> <form name="parentEventIDSearchForm" id="parentEventIDSearchForm" action="https://records-ws.nbnatlas.org/occurrences/batchSearch" method="POST"> <div class="row"> <div class="col-sm-8"> <div class="form-group"> <label for="event_ids">Enter a list of parent event IDs (one per line).</label> <textarea name="queries" id="parent_event_ids" class="form-control" rows="5" cols="60"></textarea> </div> <input type="hidden" name="redirectBase" value="https://records.nbnatlas.org/occurrences/search" class="form-control"> <input type="hidden" name="field" value="text_parentEventID" class="form-control"> <input type="hidden" name="action" value="Search" /> <input type="submit" value="Search" class="btn btn-primary" /> </div> </div> </form> <br> <form name="fieldNumberSearchForm" id="fieldNumberSearchForm" action="https://records-ws.nbnatlas.org/occurrences/batchSearch" method="POST"> <div class="row"> <div class="col-sm-8"> <div class="form-group"> <label for="event_ids">Enter a list of field numbers (one per line).</label> <textarea name="queries" id="field_numbers" class="form-control" rows="5" cols="60"></textarea> </div> <input type="hidden" name="redirectBase" value="https://records.nbnatlas.org/occurrences/search" class="form-control"> <input type="hidden" name="field" value="text_fieldNumber" class="form-control"> <input type="hidden" name="action" value="Search" /> <input type="submit" value="Search" class="btn btn-primary" /> </div> </div> </form> <br> <form name="datasetNameSearchForm" id="datasetNameSearchForm" action="https://records-ws.nbnatlas.org/occurrences/batchSearch" method="POST"> <div class="row"> <div class="col-sm-8"> <div class="form-group"> <label for="event_ids">Enter a list of dataset / survey names (one per line). </label> <textarea name="queries" id="dataset_name" class="form-control" rows="5" cols="60"></textarea> </div> <input type="hidden" name="redirectBase" value="https://records.nbnatlas.org/occurrences/search" class="form-control"> <input type="hidden" name="field" value="text_datasetName" class="form-control"> <input type="hidden" name="action" value="Search" /> <input type="submit" value="Search" class="btn btn-primary" /> </div> </div> </form> </div><!-- end #catalogUploadDiv div --> <div id="spatialSearch" class="tab-pane"> <div class="row"> <div class="col-sm-3 col-md-3"> <div> Select one of the draw tools (polygon, rectangle, circle), draw a shape and click the search link that pops up. </div> <br> <div class="panel-group panel-group-caret" id="importAreaPanel"> <div class="panel panel-default"> <div class="panel-heading"> <a class="panel-group-toggle collapsed" data-toggle="collapse" data-parent="#importAreaPanel" href="#importAreaContent"> Import an existing GIS area </a> </div> <div id="importAreaContent" class="panel-collapse collapse"> <div class="panel-body"> <p>Import an existing GIS area (currently supported formats: <a href='http://en.wikipedia.org/wiki/Well-known_text' target='_blank'>Well Known Text (WKT)</a> POLYGON shape)</p> <p>To search with other spatial file formats (shapefile, KML, etc.), please use the <a href=https://spatial.nbnatlas.org>Spatial Portal</a> - via the "Add to Map" &#x279c; "Areas" menu. </p> <p>Copy &amp; paste a WKT POLYGON string and click "Add to map":</p> <textarea type="text" id="wktInput"></textarea> <br/> <button class="btn btn-primary btn-sm" id="addWkt">Add to map</button> </div> </div> </div> </div> </div> <div class="col-sm-9 col-md-9"> <div id="leafletMap" style="height:600px;"></div> </div> </div> </div><!-- end #spatialSearch --> </div><!-- end .tab-content --> </div><!-- end .span12 --> </div><!-- end .row --> </div><!--/.container--> <div class="container-fluid hidden-lg"> <a class="btn toggleResponsive btn-default btn-sm"><i class="icon-resize-full"></i> <span>Desktop</span> version</a> </div> </div><!-- End container #main col --> <footer class="content-info" role="contentinfo"> <div class="container-fluid"> <div class="row sponsors"> <h4 class="h3">NBN Atlas Partnership</h4> <div class="sponsor-links"> <a href="https://nbn.org.uk" target="_blank" rel="nofollow"><img src="https://nbnatlas.org/wp-content/uploads/2017/01/NBNTrust_Logo_Colour_with-padding-730x235.jpg" alt="National Biodiversity Network" class="img-responsive"/></a><a href="http://www.ala.org.au/" target="_blank" rel="nofollow"><img src="https://nbnatlas.org/wp-content/uploads/2017/01/logo-full-iteration-91.jpg" alt="Atlas of Living Australia" class="img-responsive"/></a><a href="https://www.gov.uk/government/organisations/natural-england" target="_blank" rel="nofollow"><img src="https://nbnatlas.org/wp-content/uploads/2017/03/NatEng_logo_New-Green-2016.jpg" alt="Natural England" class="img-responsive"/></a><a href="https://naturalresources.wales/splash?orig=/" target="_blank" rel="nofollow"><img src="https://nbnatlas.org/wp-content/uploads/2017/03/Natural-Resources-Wales.jpg" alt="Natural Resources Wales" class="img-responsive"/></a><a href="http://sepa.gov.uk/" target="_blank" rel="nofollow"><img src="https://nbnatlas.org/wp-content/uploads/2017/03/SEPA-logo-small.jpg" alt="Scottish Environment Protection Agency" class="img-responsive"/></a><a href="http://gov.wales/?lang=en" target="_blank" rel="nofollow"><img src="https://nbnatlas.org/wp-content/uploads/2017/03/WG_positive_40mm.jpg" alt="Welsh Government" class="img-responsive"/></a><a href="http://www.snh.gov.uk/" target="_blank" rel="nofollow"><img src="https://nbnatlas.org/wp-content/uploads/2020/08/NatureScot-Master-colour-RGB-JPEG-448x343-1.jpg" alt="Scottish Natural Heritage" class="img-responsive"/></a><a href="https://www.daera-ni.gov.uk/" target="_blank" rel="nofollow"><img src="https://nbnatlas.org/wp-content/uploads/2019/04/DAERA-NIEA-Logo-CMYK-002-730x213.jpg" alt="Northern Ireland Environment Agency" class="img-responsive"/></a> </div> </div> <div class="row footer-top"> <a class="icn-link icn-top" href="#top">back to top</a> </div> <div class="row footer-bottom"> <div class="col-md-9"> <ul id="menu-primary-navigation" class="footer-nav"><li class="menu-item menu-species"><a href="https://species.nbnatlas.org/">Species</a></li> <li class="menu-item menu-item-has-children menu-locations"><a href="#" class="dropdown-toggle" data-toggle="dropdown" data-target="#">Locations</a> <ul > <li class="menu-item menu-search-by-polygon"><a href="https://records.nbnatlas.org/search#tab_spatialSearch">Search by polygon</a></li> <li class="menu-item menu-explore-by-address-postcode-or-location"><a href="https://records.nbnatlas.org/explore/your-area">Explore by address, postcode or location</a></li> <li class="menu-item menu-explore-by-pre-defined-area"><a href="https://regions.nbnatlas.org/">Explore by pre-defined area</a></li> <div class="clearfix"></div></ul> </li> <li class="menu-item menu-analyse"><a href="https://spatial.nbnatlas.org/">Analyse</a></li> <li class="menu-item menu-item-has-children menu-get-involved"><a href="#" class="dropdown-toggle" data-toggle="dropdown" data-target="#">Get Involved</a> <ul > <li class="menu-item menu-find-a-wildlife-survey-or-recording-scheme"><a target="_blank" rel="noopener" href="https://nbn.org.uk/tools-and-resources/useful-websites/database-of-wildlife-surveys-and-recording-schemes/">Find a wildlife survey or recording scheme</a></li> <li class="menu-item menu-share-data-on-the-nbn-atlas"><a target="_blank" rel="noopener" href="https://nbn.org.uk/record-share-explore-data/share-your-data/">Share data on the NBN Atlas</a></li> <li class="menu-item menu-nbn-atlas-citations"><a target="_blank" rel="noopener" href="https://nbn.org.uk/tools-and-resources/nbn-atlas-citations/">NBN Atlas Citations</a></li> <li class="menu-item menu-donate-support-the-nbn-atlas-and-the-nbn-trust"><a href="https://nbnatlas.org/support-the-nbn/">Donate / Support the NBN Atlas and the NBN Trust</a></li> <li class="menu-item menu-sign-up-for-our-newsletter"><a target="_blank" rel="noopener" href="https://nbn.org.uk/news-events-publications/latest-stories-from-our-network/enews-sign-up/">Sign up for our Newsletter</a></li> <li class="menu-item menu-nbn-conference"><a target="_blank" rel="noopener" href="https://nbn.org.uk/news-events-publications/nbn-conference-2/">NBN Conference</a></li> <div class="clearfix"></div></ul> </li> <li class="menu-item menu-item-has-children menu-data-and-partners"><a href="#" class="dropdown-toggle" data-toggle="dropdown" data-target="#">Data and Partners</a> <ul > <li class="menu-item menu-search-for-a-data-partner"><a href="https://registry.nbnatlas.org">Search for a Data Partner</a></li> <li class="menu-item menu-search-nbn-atlas-datasets"><a href="https://registry.nbnatlas.org/datasets">Search NBN Atlas datasets</a></li> <li class="menu-item menu-advanced-record-search"><a href="https://records.nbnatlas.org/search#advanceSearch">Advanced record search</a></li> <li class="menu-item menu-species-lists"><a target="_blank" rel="noopener" href="https://lists.nbnatlas.org/public/speciesLists">Species lists</a></li> <li class="menu-item menu-nbn-atlas-data-processing-schedule"><a href="https://nbnatlas.org/nbn-atlas-data-processing-schedule/">NBN Atlas data processing schedule</a></li> <li class="menu-item menu-global-biodiversity-information-facility-gbif"><a target="_blank" rel="noopener" href="https://www.gbif.org/">Global Biodiversity Information Facility (GBIF)</a></li> <div class="clearfix"></div></ul> </li> <li class="menu-item menu-item-has-children menu-about"><a href="#" class="dropdown-toggle" data-toggle="dropdown" data-target="#">About</a> <ul > <li class="menu-item menu-about-nbn-atlas"><a href="http://nbnatlas.org/about-nbn-atlas/">About NBN Atlas</a></li> <li class="menu-item menu-fit-for-the-future-project"><a href="https://nbnatlas.org/about-nbn-atlas/fit-for-the-future-project/">Fit for the Future Project</a></li> <li class="menu-item menu-join-or-donate"><a target="_blank" rel="noopener" href="https://nbn.org.uk/join-or-donate/join-the-nbn/">Join or Donate</a></li> <div class="clearfix"></div></ul> </li> <li class="menu-item menu-help"><a target="_blank" rel="noopener" href="https://docs.nbnatlas.org/">Help</a></li> <div class="clearfix"></div></ul> <div class="copyright"> <a class="brand" href="https://nbnatlas.org/"><img src="https://nbnatlas.org/wp-content/uploads/2017/01/AL_Logo-15-1440x363.png" class="img-responsive" alt="NBN Atlas"></a> <p>漏 NBN Atlas Partnership 2024.</p> <ul id="menu-footer-navigation" class="footer-nav2"><li class="menu-item menu-terms-of-use"><a href="https://docs.nbnatlas.org/nbn-atlas-terms-of-use/">Terms of use</a></li> <li class="menu-item menu-privacy-policy"><a target="_blank" rel="noopener" href="https://docs.nbnatlas.org/privacy-policy/">Privacy policy</a></li> <div class="clearfix"></div></ul> </div> </div> <div class="col-md-3"> <div class="social-links"> <h4>Join the conversation</h4> <a href="https://twitter.com/NBNTrust" target="_blank" rel="nofollow" title="Twitter"><i class="fa fa-fw fa-2x fa-twitter"></i><span>Twitter</span></a> </div> <div class="footer-extra"> <h4>Ask a question</h4> <p>Use our online forum to join the conversation about nature in the UK.</p> <p><a href="https://forums.nbn.org.uk/" target="_blank" rel="noopener">Go to the NBN Forum</a></p> <div style="display: flex;"><a><img decoding="async" class="img-responsive" src="https://nbnatlas.org/wp-content/uploads/2019/03/TNLHF_English_Ack-logo-White-002-reversed-730x433.png" alt="Supported by the heritage fund" /></a><a href="https://www.fairsfair.eu/"><img decoding="async" class="img-responsive" src="https://nbnatlas.org/wp-content/uploads/2020/05/FAIRsFAIR-logo-300x300.png" alt="Fairs Fair" /></a></div> </div> </div> </div> </div> </footer> <script src="https://layout.nbnatlas.org/auth.js" type="text/javascript" ></script> <script type="text/javascript"> $(document).ready(function() { var mapInit = false; $('a[data-toggle="tab"]').on('shown.bs.tab', function(e) { // console.log("this", $(this).attr('id')); var id = $(this).attr('id'); location.hash = 'tab_'+ $(e.target).attr('href').substr(1); if (id == "t5" && !mapInit) { initialiseMap(); mapInit = true; } }); // catch hash URIs and trigger tabs if (location.hash !== '') { $('.nav-tabs a[href="' + location.hash.replace('tab_','') + '"]').tab('show'); //$('.nav-tabs li a[href="' + location.hash.replace('tab_','') + '"]').click(); } else { $('.nav-tabs a:first').tab('show'); } // Toggle show/hide sections with plus/minus icon $(".toggleTitle").not("#extendedOptionsLink").click(function(e) { e.preventDefault(); var $this = this; $(this).next(".toggleSection").slideToggle('slow', function(){ // change plus/minus icon when transition is complete $($this).toggleClass('toggleTitleActive'); }); }); $(".toggleOptions").click(function(e) { e.preventDefault(); var $this = this; var targetEl = $(this).attr("id"); $(targetEl).slideToggle('slow', function(){ // change plus/minus icon when transition is complete $($this).toggleClass('toggleOptionsActive'); }); }); // Add WKT string to map button click $('#addWkt').click(function() { var wktString = $('#wktInput').val(); if (wktString) { try{ drawWktObj($('#wktInput').val()); } catch (e) { console.log(e); alert("Please paste a valid WKT string"); // TODO i18n this } } else { alert("Please paste a valid WKT string"); // TODO i18n this } }); }); // end $(document).ready() // extend tooltip with callback var tmp = $.fn.tooltip.Constructor.prototype.show; $.fn.tooltip.Constructor.prototype.show = function () { tmp.call(this); if (this.options.callback) { this.options.callback(); } }; var defaultBaseLayer = L.tileLayer("https://cartodb-basemaps-{s}.global.ssl.fastly.net/light_all/{z}/{x}/{y}.png", { attribution: "Map data &copy; <a href='https://www.openstreetmap.org/copyright'>OpenStreetMap</a>, imagery &copy; <a href='https://cartodb.com/attributions'>CartoDB</a>", subdomains: "abcd", mapid: "", token: "" }); // Global var to store map config var MAP_VAR = { map : null, mappingUrl : "", query : "", queryDisplayString : "", //center: [-30.0,133.6], defaultLatitude : "57", defaultLongitude : "-3.7", defaultZoom : "5", overlays : { "overlay" : L.tileLayer.wms("https://layers.nbnatlas.org/geoserver/gwc/service/wms", { layers: 'ALA:ucstodas', format: 'image/png', transparent: true, attribution: "overlay" }) }, baseLayers : { "Minimal" : defaultBaseLayer, //"Night view" : L.tileLayer(cmUrl, {styleId: 999, attribution: cmAttr}), "Road" : new L.Google('ROADMAP'), "Terrain" : new L.Google('TERRAIN'), "Satellite" : new L.Google('HYBRID') }, layerControl : null, //currentLayers : [], //additionalFqs : '', //zoomOutsideScopedRegion: false }; function initialiseMap() { // alert('starting map'); if(MAP_VAR.map != null){ return; } //initialise map MAP_VAR.map = L.map('leafletMap', { center: [MAP_VAR.defaultLatitude, MAP_VAR.defaultLongitude], zoom: MAP_VAR.defaultZoom, minZoom: 1, scrollWheelZoom: false // fullscreenControl: true, // fullscreenControlOptions: { // position: 'topleft' // } }); //add edit drawing toolbar // Initialise the FeatureGroup to store editable layers MAP_VAR.drawnItems = new L.FeatureGroup(); MAP_VAR.map.addLayer(MAP_VAR.drawnItems); // Initialise the draw control and pass it the FeatureGroup of editable layers MAP_VAR.drawControl = new L.Control.Draw({ edit: { featureGroup: MAP_VAR.drawnItems }, draw: { polyline: false, rectangle: { shapeOptions: { color: '#bada55' } }, circle: { shapeOptions: { color: '#bada55' } }, marker: false, polygon: { allowIntersection: false, // Restricts shapes to simple polygons drawError: { color: '#e1e100', // Color the shape will turn when intersects message: '<strong>Oh snap!</strong> you can\'t draw that!' // Message that will show when intersect }, shapeOptions: { color: '#bada55' } } } }); MAP_VAR.map.addControl(MAP_VAR.drawControl); MAP_VAR.map.on('draw:created', function(e) { //setup onclick event for this object var layer = e.layer; //console.log("layer",layer, layer._latlng.lat); generatePopup(layer, layer._latlng); addClickEventForVector(layer); MAP_VAR.drawnItems.addLayer(layer); }); MAP_VAR.map.on('draw:edited', function(e) { //setup onclick event for this object var layers = e.layers; layers.eachLayer(function (layer) { generatePopup(layer, layer._latlng); addClickEventForVector(layer); }); }); //add the default base layer MAP_VAR.map.addLayer(defaultBaseLayer); L.control.coordinates({position:"bottomright", useLatLngOrder: true}).addTo(MAP_VAR.map); // coordinate plugin MAP_VAR.layerControl = L.control.layers(MAP_VAR.baseLayers, MAP_VAR.overlays, {collapsed:true, position:'topleft'}); MAP_VAR.layerControl.addTo(MAP_VAR.map); L.Util.requestAnimFrame(MAP_VAR.map.invalidateSize, MAP_VAR.map, !1, MAP_VAR.map._container); L.Browser.any3d = false; // FF bug prevents selects working properly // Add a help tooltip to map when first loaded MAP_VAR.map.whenReady(function() { var opts = { placement:'right', callback: destroyHelpTooltip // hide help tooltip when mouse over the tools } $('.leaflet-draw-toolbar a').tooltip(opts); $('.leaflet-draw-toolbar').first().attr('title',jQuery.i18n.prop('advancedsearch.js.choosetool')).tooltip({placement:'right'}).tooltip('show'); }); // Hide help tooltip on first click event var once = true; MAP_VAR.map.on('click', function(e) { if (once) { $('.leaflet-draw-toolbar').tooltip('destroy'); once = false; } }); } var once = true; function destroyHelpTooltip() { if ($('.leaflet-draw-toolbar').length && once) { $('.leaflet-draw-toolbar').tooltip('destroy'); once = false; } } </script><script type="text/javascript"> var BC_CONF = BC_CONF || { contextPath: "", locale: "en" } </script><script type="text/javascript"> var DATA_PROVIDER_WS_URL = "https://registry.nbnatlas.org/ws/dataProvider"; var VICE_COUNTY_WS_URL = "https://layers.nbnatlas.org/ws/objects/cl254"; var VICE_COUNTY_IRELAND_WS_URL = "https://layers.nbnatlas.org/ws/objects/cl133"; var NORTHERN_IRELAND_COUNTY_BOUNDARY_WS_URL = "https://layers.nbnatlas.org/ws/objects/"; var LERC_WS_URL = "https://layers.nbnatlas.org/ws/objects/cl188"; </script><script type="text/javascript"> var BC_CONF = BC_CONF || { contextPath: "", locale: "en" } </script> </body> </html>

Pages: 1 2 3 4 5 6 7 8 9 10