Collections functions
General functions
Node functions
Render functions
Theme permission functions
User functions
Resource functions

get_geolibraries()

Parameters

This function accepts no parameters.

Location

include/map_functions.php lines 685 to 708

Definition

 
function get_geolibraries()
    {
    global 
$baseurl$pagename$map_default_cache$map_layer_cache$geo_leaflet_maps_sources,
    
$map_zoomnavbar$map_kml;
    
$map_pages = array(
        
"geo_edit",
        
"geo_search",
        
"search",
        
"view",
        
"edit",
        );
    if(!
in_array($pagename,$map_pages))
        {
        return 
false;
        }
?>

    <!--Leaflet Control Geocoder 1.10.0 plugin files-->
    <link rel="stylesheet" href=" echo $baseurl?>/lib/leaflet_plugins/leaflet-control-geocoder-1.10.0/dist/Control.Geocoder.css"/>
    <script src=" echo $baseurl?>/lib/leaflet_plugins/leaflet-control-geocoder-1.10.0/dist/Control.Geocoder.min.js"></script>

    <!--Polyfill for Internet Explorer and Edge browser compatibility-->
    <!--<script crossorigin="anonymous" src="https://polyfill.io/v3/polyfill.min.js?features=es2015%2Ces2016%2Ces5%2Ces6%2Ces2017%2Cdefault%2Ces2018%2Ces7"></script>-->
    
    
}

This article was last updated 27th April 2024 11:05 Europe/London time based on the source file dated 9th April 2024 11:40 Europe/London time.