<?php

if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
 /* leaflet_map bb framework */

bt_bb_include_scripts_leaflet();

function bt_bb_include_scripts_leaflet() {
    
	/* js */
    wp_enqueue_script( 'bt_bb_framework-leaflet-js', plugin_dir_url( __FILE__ ) . 'leafletmap/lib/leaflet.js', array(), BT_BB_VERSION );
    wp_enqueue_script( 'bt_bb_framework-leaflet-markercluster-js', plugin_dir_url( __FILE__ ) . 'leafletmap/lib/leaflet.markercluster.js', array(), BT_BB_VERSION );
    wp_enqueue_script( 'bt_bb_framework-leaflet-ajax-min-js', plugin_dir_url( __FILE__ ) . 'leafletmap/lib/leaflet.ajax.min.js', array(), BT_BB_VERSION ); 
    
	/* css */
    wp_enqueue_style( 'bt_bb_framework-leaflet-css', plugin_dir_url( __FILE__ ) . 'leafletmap/lib/leaflet.css', array(), BT_BB_VERSION, 'screen' );
    wp_enqueue_style( 'bt_bb_framework-markercluster-css', plugin_dir_url( __FILE__ ) . 'leafletmap/lib/MarkerCluster.css', array(), BT_BB_VERSION, 'screen' );                 
    wp_enqueue_style( 'bt_bb_framework-markercluster-default-css',  plugin_dir_url( __FILE__ ) . 'leafletmap/lib/MarkerCluster.Default.css', array(), BT_BB_VERSION, 'screen' ); 

    /* map source */
    wp_enqueue_script( 'bt_bb_leafletmap-source-js', plugin_dir_url( __FILE__ ) . 'leafletmap/js/leafletmap-source.js', array(), BT_BB_VERSION );
    
}