Changeset 7177 for extensions/GMaps/admin
- Timestamp:
- Oct 13, 2010, 10:08:41 PM (14 years ago)
- Location:
- extensions/GMaps/admin
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
extensions/GMaps/admin/gmaps_amd_warning.tpl
r7125 r7177 1 <div class='warning '>1 <div class='warnings'> 2 2 {$gmaps_amd_warning} 3 3 </div> -
extensions/GMaps/admin/gmaps_maps.tpl
r7125 r7177 125 125 //$('#iBDMapNavigationControlPos').bind('change', changeNavigationControlPosition); 126 126 $('#iBDMapScaleControl').bind('change', changeScaleControl); 127 $('#iBDMapStreetViewControl').bind('change', changeStreetViewControl); 127 128 128 129 … … 131 132 132 133 134 /** 135 * 136 */ 137 var changeStreetViewControl = function () 138 { 139 if(properties.gMap!=null) 140 { 141 properties.gMap.setOptions( 142 { 143 streetViewControl: ($('#iBDMapStreetViewControl').val()=='n')?false:true, 144 } 145 ); 146 } 147 } 133 148 134 149 /** … … 319 334 }, 320 335 markerTitle:'', 336 streetViewControl:($('#iBDMapStreetViewControl').val()=='n')?false:true, 321 337 } 322 338 ); … … 509 525 } 510 526 ); 527 $('#iBDMapStreetViewControl').val('n'); 511 528 512 529 properties.gMap=null; … … 530 547 $('#iBDMapNavigationControlType').val(tmp.navigationControl); 531 548 $('#iBDMapScaleControl').val(tmp.scaleControl); 549 $('#iBDMapStreetViewControl').val(tmp.streetViewControl); 532 550 533 551 $('#iBDExampleMap').html('').css( … … 543 561 changeSize($('#iBDMapHeightSliderValue').val(), 'iBDMapHeightSlider'); 544 562 changeZoom($('#iBDMapZoomLevelSliderValue').val(), ''); 563 changeStreetViewControl($('#iBDMapStreetViewControl').val()); 545 564 } 546 565 … … 614 633 navigationControl:$('#iBDMapNavigationControlType').val(), 615 634 scaleControl:$('#iBDMapScaleControl').val(), 635 streetViewControl:$('#iBDMapStreetViewControl').val(), 616 636 style:'', 617 637 } … … 687 707 <th style="width:90px;">{'gmaps_googleMapNavigationControl'|@translate}</th> 688 708 <th style="width:90px;">{'gmaps_googleMapScaleControl'|@translate}</th> 709 <th style="width:90px;">{'gmaps_googleMapStreetViewControl'|@translate}</th> 689 710 <th width="40px"> </th> 690 711 </tr> … … 809 830 </tr> 810 831 --> 832 833 <tr> 834 <td>{'gmaps_googleMapStreetViewControl'|@translate}</td> 835 <td> 836 <select id='iBDMapStreetViewControl'> 837 <option value='y'>{'gmaps_y'|@translate}</option> 838 <option value='n'>{'gmaps_n'|@translate}</option> 839 </select> 840 </td> 841 </tr> 811 842 812 843 </table> -
extensions/GMaps/admin/gmaps_maps_iListMaps.tpl
r7133 r7177 10 10 <td style="width:90px;">{$data.navigationControl}</td> 11 11 <td style="width:90px;">{$data.scaleControl}</td> 12 <td style="width:90px;">{$data.streetViewControl}</td> 12 13 13 14 <td width="40px">
Note: See TracChangeset
for help on using the changeset viewer.