| Server IP : 127.0.0.1 / Your IP : 216.73.216.48 Web Server : Apache/2.4.58 (Win64) OpenSSL/3.1.3 PHP/8.2.12 System : Windows NT DESKTOP-3H4FHQJ 10.0 build 19045 (Windows 10) AMD64 User : win 10 ( 0) PHP Version : 8.2.12 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : D:/xampp/php/tests/kohana22/modules/gmaps/ |
Upload File : |
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);