Changeset 7019

Show
Ignore:
Timestamp:
11/19/08 00:02:56 (7 weeks ago)
Author:
daybreaker
Message:

refs #1131: 크기 조절 제한 영역 설정 및 설정되지 않은 변수값 참조 버그 수정

Location:
trunk/plugins/GoogleMap
Files:
2 modified

Legend:

Unmodified
Added
Removed
  • trunk/plugins/GoogleMap/gmap_ui.js

    r6982 r7019  
    99function initialize() { 
    1010    initializeMap(); 
    11     map.getContainer().makeResizable(); 
     11    map.getContainer().makeResizable({limit: {x: [150,800], y: [150,800]}}); 
    1212    map.getContainer().addEvent('resize', function(ev) { 
    1313        map.checkResize(); 
  • trunk/plugins/GoogleMap/index.php

    r7012 r7019  
    6868        ob_start(); 
    6969?> 
    70         <div id="<?php echo $id;?>" style="border: 1px solid #666; width:<?php echo $width;?>px; height:<?php echo $height;?>px;"></div> 
     70        <div id="<?php echo $id;?>" style="border: 1px solid #666;"></div> 
    7171        <script type="text/javascript"> 
    7272        //<![CDATA[ 
     
    132132            locationMap.addControl(new GLargeMapControl()); 
    133133            locationMap.addControl(new GScaleControl()); 
     134            locationMap.enableContinuousZoom(); 
    134135            boundary = new GLatLngBounds(locationMap.getCenter(), locationMap.getCenter()); 
    135136            var locations = new Array(); 
     
    192193        map.addControl(new GHierarchicalMapTypeControl()); 
    193194        map.addControl(new GLargeMapControl()); 
    194         map.addControl(new GScaleControl()); 
     195        //map.addControl(new GScaleControl()); 
    195196        map.enableScrollWheelZoom(); 
    196197        map.enableContinuousZoom();