Server : Apache/2.4.43 (Win64) OpenSSL/1.1.1g PHP/7.4.6
System : Windows NT USER-PC 6.1 build 7601 (Windows 7 Professional Edition Service Pack 1) AMD64
User : User ( 0)
PHP Version : 7.4.6
Disable Function : NONE
Directory :  C:/xampp/php/tests/kohana22/modules/gmaps/
Upload File :
Current Directory [ Writeable ] Root Directory [ Writeable ]


Current File : C:/xampp/php/tests/kohana22/modules/gmaps/javascript.php
google.load("maps", "2.x", {"language" : "<?php echo substr(Kohana::config('locale.language.0'), 0, 2);?>"});
function initialize() {
    if (GBrowserIsCompatible()) {
        // Initialize the GMap
        <?php echo $map, "\n" ?>
        <?php echo $controls, "\n" ?>
        <?php echo $center, "\n" ?>
        <?php echo $options->render(1), "\n" ?>

    // Build custom marker icons
    <?php foreach($icons as $icon): ?>
    <?php echo $icon->render(1), "\n" ?>
    <?php endforeach ?>

        // Show map points
        <?php foreach($markers as $marker): ?>
        <?php echo $marker->render(1), "\n" ?>
        <?php endforeach ?>
    }
}
google.setOnLoadCallback(initialize);