Esempio n. 1
0
							mapTypeControl: false,
							scaleControl: false,
							scrollwheel: gmZoomEnable == 'enable' ? true : false,
							streetViewControl: false,
							draggable: true,
							<?php 
if ($map_style != 'default') {
    ?>
							<?php 
    if ($map_style == 'custom') {
        ?>
							<?php 
        if ($map_style_snippet != '') {
            ?>
							styles: <?php 
            echo urldecode(infinity_base_decode($map_style_snippet));
            ?>
,
							<?php 
        }
        ?>
							<?php 
    } else {
        ?>
							styles: <?php 
        echo json_decode($map_style_snippet);
        ?>
,
							<?php 
    }
    ?>
 protected function get_skin_options_from_file($skin)
 {
     $content = $this->get_file_contents(self::$skin_path . $skin . '.txt');
     $options = @unserialize(infinity_base_decode($content));
     return is_array($options) ? $options : array();
 }