Commit 80adcd79a5b85d4778c95df2a6fefd3c51078b80

Authored by Edmar Moretti
1 parent db8d2361

Correção no preview de mapfile no editor de mapfiles

Showing 2 changed files with 3 additions and 4 deletions   Show diff stats
admin/admin.db
No preview for this file type
mashups/openlayers3.php
... ... @@ -671,7 +671,6 @@ function ajuda(){
671 671 <script src="../js/configura.js"></script>
672 672 <script src="../js/compactados/mustache.js"></script>
673 673 <script src="../js/interface.js"></script>
674   -<script src="../js/barradebotoes.js"></script>
675 674 <script src="../js/eventos.js"></script>
676 675 <script src="../js/plugini3geo.js"></script>
677 676 <script src="../ferramentas/editorol/editorol.js"></script>
... ... @@ -796,16 +795,16 @@ Popup do identifica no openlayers 3
796 795 <body class=" yui-skin-sam">
797 796 <?php
798 797 if(isset($largura) && $largura != ""){
799   - echo '<div id=i3geoMapa style="width:'.$largura.'px;height:'.$altura.'px;"></div>';
  798 + echo '<div id=openlayers style="width:'.$largura.'px;height:'.$altura.'px;"></div>';
800 799 }
801 800 else{
802   - echo '<div id=i3geoMapa style="width:0;height:0"></div>';
  801 + echo '<div id=openlayers style="width:0;height:0"></div>';
803 802 }
804 803  
805 804 ?>
806 805 <div id=i3geoSelTemaAtivo style="height: 15em; z-index: 3000; display: none" class=" yui-skin-sam"></div>
807 806 <script>
808   -var m = document.getElementById("i3geoMapa");
  807 +var m = document.getElementById("openlayers");
809 808 if(parseInt(m.style.width,10) === 0){
810 809 var t = i3GEO.util.tamanhoBrowser();
811 810 m.style.width = (t[0]-10)+"px";
... ...