76
| <![CDATA[<script type="text/javascript">
var baseurl = "https://acegua.rs.gov.br";
var action = "";
var controller = "";
var module = "";
var iconspath = "https://acegua.rs.gov.br/img/icons/";
var urlAmigavel = "";
</script>]]>
|
102
| <![CDATA[<script>
(function(d, s, id) {
var js, fjs = d.getElementsByTagName(s)[0];
if (d.getElementById(id)) return;
js = d.createElement(s); js.id = id;
js.src = "//connect.facebook.net/pt_BR/sdk.js#xfbml=1&version=v2.3&appId=729585460503347";
fjs.parentNode.insertBefore(js, fjs);
}(document, 'script', 'facebook-jssdk'));
</script>]]>
|
347
| <![CDATA[<script type='text/javascript'>
function callMapsApi(initWhat) {
var script = document.createElement('script');
script.type = 'text/javascript';
script.src = 'https://maps.googleapis.com/maps/api/js?v=3.exp&key=AIzaSyAV0ka_NktwSWkKqpxfJFtl7qbq3B01N5M&callback='+initWhat;
document.body.appendChild(script);
}
function waitGoogleLoad(callback, numberCall){
numberCall++;
if (typeof google === 'undefined' || typeof google.maps === 'undefined') {
if(parseInt(numberCall) < 5){
setTimeout(
'waitGoogleLoad('+callback+','+numberCall+')',
1000
);
}
} else {
setTimeout(callback, 0);
}
}
var map1 = null;
function showMap1() {
latitude = -31.868366;
longitude = -54.165122;
zoom = 16;
//define configuração de latitude e longitude do mapa
var latLang1 = new google.maps.LatLng(
parseFloat(latitude),
parseFloat(longitude)
);
//configurações do mapa
var mapOptions1 = {
zoom:parseInt(zoom),
center: latLang1,
disableDefaultUI: false,
navigationControl: false,
mapTypeControl: false,
scrollwheel: false,
mapTypeId: google.maps.MapTypeId.ROADMAP
};
//inicializa mapa
map1 = new google.maps.Map(
document.getElementById('mapa_departameto1'),
mapOptions1
);
//chama função de onresize para centralizar mapa
google.maps.event.trigger(map1, 'resize');
//cria markers
geocoder = new google.maps.Geocoder();
var latLangMarker1_0 = new google.maps.LatLng(
parseFloat(-31.868366),
parseFloat(-54.165122)
);
marker1_0 = new google.maps.Marker({
position: latLangMarker1_0,
map: map1,
icon: '',
title: '',
draggable:false
});
infoWindowOpened1_0 = false;
infowindow1_0 = new google.maps.InfoWindow(
{content:unescape(' <div style="width:350px;"> <div id="bodyContent"> <div class="col-md-12 col-xs-12"> <p style="margin-bottom:0px;"><strong>Prefeitura Municipal de Aceguá</strong></p><p style="margin-bottom:0px;">Avenida Internacional, 321 / Esquerda ; ; ;Bairro: Centro</p><p style="margin-bottom:0px;">Aceguá / RS</p><p style="margin-bottom:0px;">96445-000</p> </div> </div> </div> ')}
);
//abre infowindow
google.maps.event.addListener(
marker1_0,
'click',
function() {
if (!infoWindowOpened1_0) {
infowindow1_0.open(
map1,
marker1_0
);
infoWindowOpened1_0 = true;
} else {
infowindow1_0.close();
infoWindowOpened1_0 = false;
}
map1.setCenter(latLang1);
}
);
google.maps.event.addListener(
infowindow1_0,
'closeclick',
function() {
infoWindowOpened1_0 = false;
console.log(this.getPosition());
map1.setCenter(this.getPosition());
}
);
google.maps.event.addListener(
map1,
'click',
function() {
infowindow1_0.close();
infoWindowOpened1_0 = false;
}
);
//função para centralizar o mapa ao redimencionar a tela
google.maps.event.addDomListener(
window,
'resize',
function() {
center = map1.getCenter();
google.maps.event.trigger(map1, 'resize');
map1.setCenter(center);
}
);
}
function setMarkerPosition(marker, address) {
geocoder.geocode(
{'address': address},
function(results, status) {
if (status == google.maps.GeocoderStatus.OK) {
marker.setPosition(results[0].geometry.location);
}
}
);
}
$(function() {
if (typeof google !== 'undefined' && typeof google.maps !== 'undefined') {
showMap1();
} else {
callMapsApi('showMap1');
}
});
</script>]]>
|
496
| <![CDATA[<script type="text/javascript">
$("#mapaDep1").on("shown.bs.modal", function () {
showMap1();
});
</script>]]>
|
553
| <![CDATA[<script type='text/javascript'>
var map2 = null;
function showMap2() {
latitude = -31.868366;
longitude = -54.165122;
zoom = 16;
//define configuração de latitude e longitude do mapa
var latLang2 = new google.maps.LatLng(
parseFloat(latitude),
parseFloat(longitude)
);
//configurações do mapa
var mapOptions2 = {
zoom:parseInt(zoom),
center: latLang2,
disableDefaultUI: false,
navigationControl: false,
mapTypeControl: false,
scrollwheel: false,
mapTypeId: google.maps.MapTypeId.ROADMAP
};
//inicializa mapa
map2 = new google.maps.Map(
document.getElementById('mapa_departameto1003'),
mapOptions2
);
//chama função de onresize para centralizar mapa
google.maps.event.trigger(map2, 'resize');
//cria markers
geocoder = new google.maps.Geocoder();
var latLangMarker2_0 = new google.maps.LatLng(
parseFloat(-31.868366),
parseFloat(-54.165122)
);
marker2_0 = new google.maps.Marker({
position: latLangMarker2_0,
map: map2,
icon: '',
title: '',
draggable:false
});
infoWindowOpened2_0 = false;
infowindow2_0 = new google.maps.InfoWindow(
{content:unescape(' <div style="width:350px;"> <div id="bodyContent"> <div class="col-md-12 col-xs-12"> <p style="margin-bottom:0px;"><strong>Prefeitura Municipal de Aceguá</strong></p><p style="margin-bottom:0px;">Avenida Internacional, 321 / Esquerda ; ; ;Bairro: Centro</p><p style="margin-bottom:0px;">Aceguá / RS</p><p style="margin-bottom:0px;">96445-000</p> </div> </div> </div> ')}
);
//abre infowindow
google.maps.event.addListener(
marker2_0,
'click',
function() {
if (!infoWindowOpened2_0) {
infowindow2_0.open(
map2,
marker2_0
);
infoWindowOpened2_0 = true;
} else {
infowindow2_0.close();
infoWindowOpened2_0 = false;
}
map2.setCenter(latLang2);
}
);
google.maps.event.addListener(
infowindow2_0,
'closeclick',
function() {
infoWindowOpened2_0 = false;
console.log(this.getPosition());
map2.setCenter(this.getPosition());
}
);
google.maps.event.addListener(
map2,
'click',
function() {
infowindow2_0.close();
infoWindowOpened2_0 = false;
}
);
//função para centralizar o mapa ao redimencionar a tela
google.maps.event.addDomListener(
window,
'resize',
function() {
center = map2.getCenter();
google.maps.event.trigger(map2, 'resize');
map2.setCenter(center);
}
);
}
function setMarkerPosition(marker, address) {
geocoder.geocode(
{'address': address},
function(results, status) {
if (status == google.maps.GeocoderStatus.OK) {
marker.setPosition(results[0].geometry.location);
}
}
);
}
$(function() {
if (typeof google !== 'undefined' && typeof google.maps !== 'undefined') {
showMap2();
} else {
waitGoogleLoad(showMap2, 0);
}
});
</script>]]>
|
681
| <![CDATA[<script type="text/javascript">
$("#mapaDep1003").on("shown.bs.modal", function () {
showMap2();
});
</script>]]>
|
737
| <![CDATA[<script type='text/javascript'>
var map3 = null;
function showMap3() {
latitude = -31.868366;
longitude = -54.165122;
zoom = 16;
//define configuração de latitude e longitude do mapa
var latLang3 = new google.maps.LatLng(
parseFloat(latitude),
parseFloat(longitude)
);
//configurações do mapa
var mapOptions3 = {
zoom:parseInt(zoom),
center: latLang3,
disableDefaultUI: false,
navigationControl: false,
mapTypeControl: false,
scrollwheel: false,
mapTypeId: google.maps.MapTypeId.ROADMAP
};
//inicializa mapa
map3 = new google.maps.Map(
document.getElementById('mapa_departameto14'),
mapOptions3
);
//chama função de onresize para centralizar mapa
google.maps.event.trigger(map3, 'resize');
//cria markers
geocoder = new google.maps.Geocoder();
var latLangMarker3_0 = new google.maps.LatLng(
parseFloat(-31.868366),
parseFloat(-54.165122)
);
marker3_0 = new google.maps.Marker({
position: latLangMarker3_0,
map: map3,
icon: '',
title: '',
draggable:false
});
infoWindowOpened3_0 = false;
infowindow3_0 = new google.maps.InfoWindow(
{content:unescape(' <div style="width:350px;"> <div id="bodyContent"> <div class="col-md-12 col-xs-12"> <p style="margin-bottom:0px;"><strong>Prefeitura Municipal de Aceguá</strong></p><p style="margin-bottom:0px;">Avenida Internacional, 321 / Esquerda ; ; ;Bairro: Centro</p><p style="margin-bottom:0px;">Aceguá / RS</p><p style="margin-bottom:0px;">96445-000</p> </div> </div> </div> ')}
);
//abre infowindow
google.maps.event.addListener(
marker3_0,
'click',
function() {
if (!infoWindowOpened3_0) {
infowindow3_0.open(
map3,
marker3_0
);
infoWindowOpened3_0 = true;
} else {
infowindow3_0.close();
infoWindowOpened3_0 = false;
}
map3.setCenter(latLang3);
}
);
google.maps.event.addListener(
infowindow3_0,
'closeclick',
function() {
infoWindowOpened3_0 = false;
console.log(this.getPosition());
map3.setCenter(this.getPosition());
}
);
google.maps.event.addListener(
map3,
'click',
function() {
infowindow3_0.close();
infoWindowOpened3_0 = false;
}
);
//função para centralizar o mapa ao redimencionar a tela
google.maps.event.addDomListener(
window,
'resize',
function() {
center = map3.getCenter();
google.maps.event.trigger(map3, 'resize');
map3.setCenter(center);
}
);
}
function setMarkerPosition(marker, address) {
geocoder.geocode(
{'address': address},
function(results, status) {
if (status == google.maps.GeocoderStatus.OK) {
marker.setPosition(results[0].geometry.location);
}
}
);
}
$(function() {
if (typeof google !== 'undefined' && typeof google.maps !== 'undefined') {
showMap3();
} else {
waitGoogleLoad(showMap3, 0);
}
});
</script>]]>
|
865
| <![CDATA[<script type="text/javascript">
$("#mapaDep14").on("shown.bs.modal", function () {
showMap3();
});
</script>]]>
|
921
| <![CDATA[<script type='text/javascript'>
var map4 = null;
function showMap4() {
latitude = -31.868366;
longitude = -54.165122;
zoom = 16;
//define configuração de latitude e longitude do mapa
var latLang4 = new google.maps.LatLng(
parseFloat(latitude),
parseFloat(longitude)
);
//configurações do mapa
var mapOptions4 = {
zoom:parseInt(zoom),
center: latLang4,
disableDefaultUI: false,
navigationControl: false,
mapTypeControl: false,
scrollwheel: false,
mapTypeId: google.maps.MapTypeId.ROADMAP
};
//inicializa mapa
map4 = new google.maps.Map(
document.getElementById('mapa_departameto5'),
mapOptions4
);
//chama função de onresize para centralizar mapa
google.maps.event.trigger(map4, 'resize');
//cria markers
geocoder = new google.maps.Geocoder();
var latLangMarker4_0 = new google.maps.LatLng(
parseFloat(-31.868366),
parseFloat(-54.165122)
);
marker4_0 = new google.maps.Marker({
position: latLangMarker4_0,
map: map4,
icon: '',
title: '',
draggable:false
});
infoWindowOpened4_0 = false;
infowindow4_0 = new google.maps.InfoWindow(
{content:unescape(' <div style="width:350px;"> <div id="bodyContent"> <div class="col-md-12 col-xs-12"> <p style="margin-bottom:0px;"><strong>Prefeitura Municipal de Aceguá</strong></p><p style="margin-bottom:0px;">Avenida Internacional, 321 / Esquerda ; ; ;Bairro: Centro</p><p style="margin-bottom:0px;">Aceguá / RS</p><p style="margin-bottom:0px;">96445-000</p> </div> </div> </div> ')}
);
//abre infowindow
google.maps.event.addListener(
marker4_0,
'click',
function() {
if (!infoWindowOpened4_0) {
infowindow4_0.open(
map4,
marker4_0
);
infoWindowOpened4_0 = true;
} else {
infowindow4_0.close();
infoWindowOpened4_0 = false;
}
map4.setCenter(latLang4);
}
);
google.maps.event.addListener(
infowindow4_0,
'closeclick',
function() {
infoWindowOpened4_0 = false;
console.log(this.getPosition());
map4.setCenter(this.getPosition());
}
);
google.maps.event.addListener(
map4,
'click',
function() {
infowindow4_0.close();
infoWindowOpened4_0 = false;
}
);
//função para centralizar o mapa ao redimencionar a tela
google.maps.event.addDomListener(
window,
'resize',
function() {
center = map4.getCenter();
google.maps.event.trigger(map4, 'resize');
map4.setCenter(center);
}
);
}
function setMarkerPosition(marker, address) {
geocoder.geocode(
{'address': address},
function(results, status) {
if (status == google.maps.GeocoderStatus.OK) {
marker.setPosition(results[0].geometry.location);
}
}
);
}
$(function() {
if (typeof google !== 'undefined' && typeof google.maps !== 'undefined') {
showMap4();
} else {
waitGoogleLoad(showMap4, 0);
}
});
</script>]]>
|
1049
| <![CDATA[<script type="text/javascript">
$("#mapaDep5").on("shown.bs.modal", function () {
showMap4();
});
</script>]]>
|
1095
| <![CDATA[<script type='text/javascript'>
var map5 = null;
function showMap5() {
latitude = -31.868366;
longitude = -54.165122;
zoom = 16;
//define configuração de latitude e longitude do mapa
var latLang5 = new google.maps.LatLng(
parseFloat(latitude),
parseFloat(longitude)
);
//configurações do mapa
var mapOptions5 = {
zoom:parseInt(zoom),
center: latLang5,
disableDefaultUI: false,
navigationControl: false,
mapTypeControl: false,
scrollwheel: false,
mapTypeId: google.maps.MapTypeId.ROADMAP
};
//inicializa mapa
map5 = new google.maps.Map(
document.getElementById('mapa_setor1005'),
mapOptions5
);
//chama função de onresize para centralizar mapa
google.maps.event.trigger(map5, 'resize');
//cria markers
geocoder = new google.maps.Geocoder();
var latLangMarker5_0 = new google.maps.LatLng(
parseFloat(-31.868366),
parseFloat(-54.165122)
);
marker5_0 = new google.maps.Marker({
position: latLangMarker5_0,
map: map5,
icon: '',
title: '',
draggable:false
});
infoWindowOpened5_0 = false;
infowindow5_0 = new google.maps.InfoWindow(
{content:unescape(' <div style="width:350px;"> <div id="bodyContent"> <div class="col-md-12 col-xs-12"> <p style="margin-bottom:0px;"><strong>Prefeitura Municipal de Aceguá</strong></p><p style="margin-bottom:0px;">Avenida Internacional, 321 / Esquerda ; ; ;Bairro: Centro</p><p style="margin-bottom:0px;">Aceguá / RS</p><p style="margin-bottom:0px;">96445-000</p> </div> </div> </div> ')}
);
//abre infowindow
google.maps.event.addListener(
marker5_0,
'click',
function() {
if (!infoWindowOpened5_0) {
infowindow5_0.open(
map5,
marker5_0
);
infoWindowOpened5_0 = true;
} else {
infowindow5_0.close();
infoWindowOpened5_0 = false;
}
map5.setCenter(latLang5);
}
);
google.maps.event.addListener(
infowindow5_0,
'closeclick',
function() {
infoWindowOpened5_0 = false;
console.log(this.getPosition());
map5.setCenter(this.getPosition());
}
);
google.maps.event.addListener(
map5,
'click',
function() {
infowindow5_0.close();
infoWindowOpened5_0 = false;
}
);
//função para centralizar o mapa ao redimencionar a tela
google.maps.event.addDomListener(
window,
'resize',
function() {
center = map5.getCenter();
google.maps.event.trigger(map5, 'resize');
map5.setCenter(center);
}
);
}
function setMarkerPosition(marker, address) {
geocoder.geocode(
{'address': address},
function(results, status) {
if (status == google.maps.GeocoderStatus.OK) {
marker.setPosition(results[0].geometry.location);
}
}
);
}
$(function() {
if (typeof google !== 'undefined' && typeof google.maps !== 'undefined') {
showMap5();
} else {
waitGoogleLoad(showMap5, 0);
}
});
</script>]]>
|
1223
| <![CDATA[<script type="text/javascript">
$("#mapaSet1005").on("shown.bs.modal", function () {
showMap5();
});
</script>]]>
|
1271
| <![CDATA[<script type='text/javascript'>
var map6 = null;
function showMap6() {
latitude = -31.868366;
longitude = -54.165122;
zoom = 16;
//define configuração de latitude e longitude do mapa
var latLang6 = new google.maps.LatLng(
parseFloat(latitude),
parseFloat(longitude)
);
//configurações do mapa
var mapOptions6 = {
zoom:parseInt(zoom),
center: latLang6,
disableDefaultUI: false,
navigationControl: false,
mapTypeControl: false,
scrollwheel: false,
mapTypeId: google.maps.MapTypeId.ROADMAP
};
//inicializa mapa
map6 = new google.maps.Map(
document.getElementById('mapa_setor1006'),
mapOptions6
);
//chama função de onresize para centralizar mapa
google.maps.event.trigger(map6, 'resize');
//cria markers
geocoder = new google.maps.Geocoder();
var latLangMarker6_0 = new google.maps.LatLng(
parseFloat(-31.868366),
parseFloat(-54.165122)
);
marker6_0 = new google.maps.Marker({
position: latLangMarker6_0,
map: map6,
icon: '',
title: '',
draggable:false
});
infoWindowOpened6_0 = false;
infowindow6_0 = new google.maps.InfoWindow(
{content:unescape(' <div style="width:350px;"> <div id="bodyContent"> <div class="col-md-12 col-xs-12"> <p style="margin-bottom:0px;"><strong>Prefeitura Municipal de Aceguá</strong></p><p style="margin-bottom:0px;">Avenida Internacional, 321 / Esquerda ; ; ;Bairro: Centro</p><p style="margin-bottom:0px;">Aceguá / RS</p><p style="margin-bottom:0px;">96445-000</p> </div> </div> </div> ')}
);
//abre infowindow
google.maps.event.addListener(
marker6_0,
'click',
function() {
if (!infoWindowOpened6_0) {
infowindow6_0.open(
map6,
marker6_0
);
infoWindowOpened6_0 = true;
} else {
infowindow6_0.close();
infoWindowOpened6_0 = false;
}
map6.setCenter(latLang6);
}
);
google.maps.event.addListener(
infowindow6_0,
'closeclick',
function() {
infoWindowOpened6_0 = false;
console.log(this.getPosition());
map6.setCenter(this.getPosition());
}
);
google.maps.event.addListener(
map6,
'click',
function() {
infowindow6_0.close();
infoWindowOpened6_0 = false;
}
);
//função para centralizar o mapa ao redimencionar a tela
google.maps.event.addDomListener(
window,
'resize',
function() {
center = map6.getCenter();
google.maps.event.trigger(map6, 'resize');
map6.setCenter(center);
}
);
}
function setMarkerPosition(marker, address) {
geocoder.geocode(
{'address': address},
function(results, status) {
if (status == google.maps.GeocoderStatus.OK) {
marker.setPosition(results[0].geometry.location);
}
}
);
}
$(function() {
if (typeof google !== 'undefined' && typeof google.maps !== 'undefined') {
showMap6();
} else {
waitGoogleLoad(showMap6, 0);
}
});
</script>]]>
|
1399
| <![CDATA[<script type="text/javascript">
$("#mapaSet1006").on("shown.bs.modal", function () {
showMap6();
});
</script>]]>
|
1447
| <![CDATA[<script type='text/javascript'>
var map7 = null;
function showMap7() {
latitude = -31.868366;
longitude = -54.165122;
zoom = 16;
//define configuração de latitude e longitude do mapa
var latLang7 = new google.maps.LatLng(
parseFloat(latitude),
parseFloat(longitude)
);
//configurações do mapa
var mapOptions7 = {
zoom:parseInt(zoom),
center: latLang7,
disableDefaultUI: false,
navigationControl: false,
mapTypeControl: false,
scrollwheel: false,
mapTypeId: google.maps.MapTypeId.ROADMAP
};
//inicializa mapa
map7 = new google.maps.Map(
document.getElementById('mapa_setor1003'),
mapOptions7
);
//chama função de onresize para centralizar mapa
google.maps.event.trigger(map7, 'resize');
//cria markers
geocoder = new google.maps.Geocoder();
var latLangMarker7_0 = new google.maps.LatLng(
parseFloat(-31.868366),
parseFloat(-54.165122)
);
marker7_0 = new google.maps.Marker({
position: latLangMarker7_0,
map: map7,
icon: '',
title: '',
draggable:false
});
infoWindowOpened7_0 = false;
infowindow7_0 = new google.maps.InfoWindow(
{content:unescape(' <div style="width:350px;"> <div id="bodyContent"> <div class="col-md-12 col-xs-12"> <p style="margin-bottom:0px;"><strong>Prefeitura Municipal de Aceguá</strong></p><p style="margin-bottom:0px;">Avenida Internacional, 321 / Esquerda ; ; ;Bairro: Centro</p><p style="margin-bottom:0px;">Aceguá / RS</p><p style="margin-bottom:0px;">96445-000</p> </div> </div> </div> ')}
);
//abre infowindow
google.maps.event.addListener(
marker7_0,
'click',
function() {
if (!infoWindowOpened7_0) {
infowindow7_0.open(
map7,
marker7_0
);
infoWindowOpened7_0 = true;
} else {
infowindow7_0.close();
infoWindowOpened7_0 = false;
}
map7.setCenter(latLang7);
}
);
google.maps.event.addListener(
infowindow7_0,
'closeclick',
function() {
infoWindowOpened7_0 = false;
console.log(this.getPosition());
map7.setCenter(this.getPosition());
}
);
google.maps.event.addListener(
map7,
'click',
function() {
infowindow7_0.close();
infoWindowOpened7_0 = false;
}
);
//função para centralizar o mapa ao redimencionar a tela
google.maps.event.addDomListener(
window,
'resize',
function() {
center = map7.getCenter();
google.maps.event.trigger(map7, 'resize');
map7.setCenter(center);
}
);
}
function setMarkerPosition(marker, address) {
geocoder.geocode(
{'address': address},
function(results, status) {
if (status == google.maps.GeocoderStatus.OK) {
marker.setPosition(results[0].geometry.location);
}
}
);
}
$(function() {
if (typeof google !== 'undefined' && typeof google.maps !== 'undefined') {
showMap7();
} else {
waitGoogleLoad(showMap7, 0);
}
});
</script>]]>
|
1575
| <![CDATA[<script type="text/javascript">
$("#mapaSet1003").on("shown.bs.modal", function () {
showMap7();
});
</script>]]>
|
1623
| <![CDATA[<script type='text/javascript'>
var map8 = null;
function showMap8() {
latitude = -31.868366;
longitude = -54.165122;
zoom = 16;
//define configuração de latitude e longitude do mapa
var latLang8 = new google.maps.LatLng(
parseFloat(latitude),
parseFloat(longitude)
);
//configurações do mapa
var mapOptions8 = {
zoom:parseInt(zoom),
center: latLang8,
disableDefaultUI: false,
navigationControl: false,
mapTypeControl: false,
scrollwheel: false,
mapTypeId: google.maps.MapTypeId.ROADMAP
};
//inicializa mapa
map8 = new google.maps.Map(
document.getElementById('mapa_setor1004'),
mapOptions8
);
//chama função de onresize para centralizar mapa
google.maps.event.trigger(map8, 'resize');
//cria markers
geocoder = new google.maps.Geocoder();
var latLangMarker8_0 = new google.maps.LatLng(
parseFloat(-31.868366),
parseFloat(-54.165122)
);
marker8_0 = new google.maps.Marker({
position: latLangMarker8_0,
map: map8,
icon: '',
title: '',
draggable:false
});
infoWindowOpened8_0 = false;
infowindow8_0 = new google.maps.InfoWindow(
{content:unescape(' <div style="width:350px;"> <div id="bodyContent"> <div class="col-md-12 col-xs-12"> <p style="margin-bottom:0px;"><strong>Prefeitura Municipal de Aceguá</strong></p><p style="margin-bottom:0px;">Avenida Internacional, 321 / Esquerda ; ; ;Bairro: Centro</p><p style="margin-bottom:0px;">Aceguá / RS</p><p style="margin-bottom:0px;">96445-000</p> </div> </div> </div> ')}
);
//abre infowindow
google.maps.event.addListener(
marker8_0,
'click',
function() {
if (!infoWindowOpened8_0) {
infowindow8_0.open(
map8,
marker8_0
);
infoWindowOpened8_0 = true;
} else {
infowindow8_0.close();
infoWindowOpened8_0 = false;
}
map8.setCenter(latLang8);
}
);
google.maps.event.addListener(
infowindow8_0,
'closeclick',
function() {
infoWindowOpened8_0 = false;
console.log(this.getPosition());
map8.setCenter(this.getPosition());
}
);
google.maps.event.addListener(
map8,
'click',
function() {
infowindow8_0.close();
infoWindowOpened8_0 = false;
}
);
//função para centralizar o mapa ao redimencionar a tela
google.maps.event.addDomListener(
window,
'resize',
function() {
center = map8.getCenter();
google.maps.event.trigger(map8, 'resize');
map8.setCenter(center);
}
);
}
function setMarkerPosition(marker, address) {
geocoder.geocode(
{'address': address},
function(results, status) {
if (status == google.maps.GeocoderStatus.OK) {
marker.setPosition(results[0].geometry.location);
}
}
);
}
$(function() {
if (typeof google !== 'undefined' && typeof google.maps !== 'undefined') {
showMap8();
} else {
waitGoogleLoad(showMap8, 0);
}
});
</script>]]>
|
1751
| <![CDATA[<script type="text/javascript">
$("#mapaSet1004").on("shown.bs.modal", function () {
showMap8();
});
</script>]]>
|
1799
| <![CDATA[<script type='text/javascript'>
var map9 = null;
function showMap9() {
latitude = -31.868366;
longitude = -54.165122;
zoom = 16;
//define configuração de latitude e longitude do mapa
var latLang9 = new google.maps.LatLng(
parseFloat(latitude),
parseFloat(longitude)
);
//configurações do mapa
var mapOptions9 = {
zoom:parseInt(zoom),
center: latLang9,
disableDefaultUI: false,
navigationControl: false,
mapTypeControl: false,
scrollwheel: false,
mapTypeId: google.maps.MapTypeId.ROADMAP
};
//inicializa mapa
map9 = new google.maps.Map(
document.getElementById('mapa_setor1001'),
mapOptions9
);
//chama função de onresize para centralizar mapa
google.maps.event.trigger(map9, 'resize');
//cria markers
geocoder = new google.maps.Geocoder();
var latLangMarker9_0 = new google.maps.LatLng(
parseFloat(-31.868366),
parseFloat(-54.165122)
);
marker9_0 = new google.maps.Marker({
position: latLangMarker9_0,
map: map9,
icon: '',
title: '',
draggable:false
});
infoWindowOpened9_0 = false;
infowindow9_0 = new google.maps.InfoWindow(
{content:unescape(' <div style="width:350px;"> <div id="bodyContent"> <div class="col-md-12 col-xs-12"> <p style="margin-bottom:0px;"><strong>Prefeitura Municipal de Aceguá</strong></p><p style="margin-bottom:0px;">Avenida Internacional, 321 / Esquerda ; ; ;Bairro: Centro</p><p style="margin-bottom:0px;">Aceguá / RS</p><p style="margin-bottom:0px;">96445-000</p> </div> </div> </div> ')}
);
//abre infowindow
google.maps.event.addListener(
marker9_0,
'click',
function() {
if (!infoWindowOpened9_0) {
infowindow9_0.open(
map9,
marker9_0
);
infoWindowOpened9_0 = true;
} else {
infowindow9_0.close();
infoWindowOpened9_0 = false;
}
map9.setCenter(latLang9);
}
);
google.maps.event.addListener(
infowindow9_0,
'closeclick',
function() {
infoWindowOpened9_0 = false;
console.log(this.getPosition());
map9.setCenter(this.getPosition());
}
);
google.maps.event.addListener(
map9,
'click',
function() {
infowindow9_0.close();
infoWindowOpened9_0 = false;
}
);
//função para centralizar o mapa ao redimencionar a tela
google.maps.event.addDomListener(
window,
'resize',
function() {
center = map9.getCenter();
google.maps.event.trigger(map9, 'resize');
map9.setCenter(center);
}
);
}
function setMarkerPosition(marker, address) {
geocoder.geocode(
{'address': address},
function(results, status) {
if (status == google.maps.GeocoderStatus.OK) {
marker.setPosition(results[0].geometry.location);
}
}
);
}
$(function() {
if (typeof google !== 'undefined' && typeof google.maps !== 'undefined') {
showMap9();
} else {
waitGoogleLoad(showMap9, 0);
}
});
</script>]]>
|
1927
| <![CDATA[<script type="text/javascript">
$("#mapaSet1001").on("shown.bs.modal", function () {
showMap9();
});
</script>]]>
|
1975
| <![CDATA[<script type='text/javascript'>
var map10 = null;
function showMap10() {
latitude = -31.868366;
longitude = -54.165122;
zoom = 16;
//define configuração de latitude e longitude do mapa
var latLang10 = new google.maps.LatLng(
parseFloat(latitude),
parseFloat(longitude)
);
//configurações do mapa
var mapOptions10 = {
zoom:parseInt(zoom),
center: latLang10,
disableDefaultUI: false,
navigationControl: false,
mapTypeControl: false,
scrollwheel: false,
mapTypeId: google.maps.MapTypeId.ROADMAP
};
//inicializa mapa
map10 = new google.maps.Map(
document.getElementById('mapa_setor1002'),
mapOptions10
);
//chama função de onresize para centralizar mapa
google.maps.event.trigger(map10, 'resize');
//cria markers
geocoder = new google.maps.Geocoder();
var latLangMarker10_0 = new google.maps.LatLng(
parseFloat(-31.868366),
parseFloat(-54.165122)
);
marker10_0 = new google.maps.Marker({
position: latLangMarker10_0,
map: map10,
icon: '',
title: '',
draggable:false
});
infoWindowOpened10_0 = false;
infowindow10_0 = new google.maps.InfoWindow(
{content:unescape(' <div style="width:350px;"> <div id="bodyContent"> <div class="col-md-12 col-xs-12"> <p style="margin-bottom:0px;"><strong>Prefeitura Municipal de Aceguá</strong></p><p style="margin-bottom:0px;">Avenida Internacional, 321 / Esquerda ; ; ;Bairro: Centro</p><p style="margin-bottom:0px;">Aceguá / RS</p><p style="margin-bottom:0px;">96445-000</p> </div> </div> </div> ')}
);
//abre infowindow
google.maps.event.addListener(
marker10_0,
'click',
function() {
if (!infoWindowOpened10_0) {
infowindow10_0.open(
map10,
marker10_0
);
infoWindowOpened10_0 = true;
} else {
infowindow10_0.close();
infoWindowOpened10_0 = false;
}
map10.setCenter(latLang10);
}
);
google.maps.event.addListener(
infowindow10_0,
'closeclick',
function() {
infoWindowOpened10_0 = false;
console.log(this.getPosition());
map10.setCenter(this.getPosition());
}
);
google.maps.event.addListener(
map10,
'click',
function() {
infowindow10_0.close();
infoWindowOpened10_0 = false;
}
);
//função para centralizar o mapa ao redimencionar a tela
google.maps.event.addDomListener(
window,
'resize',
function() {
center = map10.getCenter();
google.maps.event.trigger(map10, 'resize');
map10.setCenter(center);
}
);
}
function setMarkerPosition(marker, address) {
geocoder.geocode(
{'address': address},
function(results, status) {
if (status == google.maps.GeocoderStatus.OK) {
marker.setPosition(results[0].geometry.location);
}
}
);
}
$(function() {
if (typeof google !== 'undefined' && typeof google.maps !== 'undefined') {
showMap10();
} else {
waitGoogleLoad(showMap10, 0);
}
});
</script>]]>
|
2103
| <![CDATA[<script type="text/javascript">
$("#mapaSet1002").on("shown.bs.modal", function () {
showMap10();
});
</script>]]>
|
2162
| <![CDATA[<script type='text/javascript'>
var map11 = null;
function showMap11() {
latitude = -31.868366;
longitude = -54.165122;
zoom = 16;
//define configuração de latitude e longitude do mapa
var latLang11 = new google.maps.LatLng(
parseFloat(latitude),
parseFloat(longitude)
);
//configurações do mapa
var mapOptions11 = {
zoom:parseInt(zoom),
center: latLang11,
disableDefaultUI: false,
navigationControl: false,
mapTypeControl: false,
scrollwheel: false,
mapTypeId: google.maps.MapTypeId.ROADMAP
};
//inicializa mapa
map11 = new google.maps.Map(
document.getElementById('mapa_departameto1001'),
mapOptions11
);
//chama função de onresize para centralizar mapa
google.maps.event.trigger(map11, 'resize');
//cria markers
geocoder = new google.maps.Geocoder();
var latLangMarker11_0 = new google.maps.LatLng(
parseFloat(-31.868366),
parseFloat(-54.165122)
);
marker11_0 = new google.maps.Marker({
position: latLangMarker11_0,
map: map11,
icon: '',
title: '',
draggable:false
});
infoWindowOpened11_0 = false;
infowindow11_0 = new google.maps.InfoWindow(
{content:unescape(' <div style="width:350px;"> <div id="bodyContent"> <div class="col-md-12 col-xs-12"> <p style="margin-bottom:0px;"><strong>Prefeitura Municipal de Aceguá</strong></p><p style="margin-bottom:0px;">Avenida Internacional, 321 / Esquerda ; ; ;Bairro: Centro</p><p style="margin-bottom:0px;">Aceguá / RS</p><p style="margin-bottom:0px;">96445-000</p> </div> </div> </div> ')}
);
//abre infowindow
google.maps.event.addListener(
marker11_0,
'click',
function() {
if (!infoWindowOpened11_0) {
infowindow11_0.open(
map11,
marker11_0
);
infoWindowOpened11_0 = true;
} else {
infowindow11_0.close();
infoWindowOpened11_0 = false;
}
map11.setCenter(latLang11);
}
);
google.maps.event.addListener(
infowindow11_0,
'closeclick',
function() {
infoWindowOpened11_0 = false;
console.log(this.getPosition());
map11.setCenter(this.getPosition());
}
);
google.maps.event.addListener(
map11,
'click',
function() {
infowindow11_0.close();
infoWindowOpened11_0 = false;
}
);
//função para centralizar o mapa ao redimencionar a tela
google.maps.event.addDomListener(
window,
'resize',
function() {
center = map11.getCenter();
google.maps.event.trigger(map11, 'resize');
map11.setCenter(center);
}
);
}
function setMarkerPosition(marker, address) {
geocoder.geocode(
{'address': address},
function(results, status) {
if (status == google.maps.GeocoderStatus.OK) {
marker.setPosition(results[0].geometry.location);
}
}
);
}
$(function() {
if (typeof google !== 'undefined' && typeof google.maps !== 'undefined') {
showMap11();
} else {
waitGoogleLoad(showMap11, 0);
}
});
</script>]]>
|
2290
| <![CDATA[<script type="text/javascript">
$("#mapaDep1001").on("shown.bs.modal", function () {
showMap11();
});
</script>]]>
|
2346
| <![CDATA[<script type='text/javascript'>
var map12 = null;
function showMap12() {
latitude = -31.868366;
longitude = -54.165122;
zoom = 16;
//define configuração de latitude e longitude do mapa
var latLang12 = new google.maps.LatLng(
parseFloat(latitude),
parseFloat(longitude)
);
//configurações do mapa
var mapOptions12 = {
zoom:parseInt(zoom),
center: latLang12,
disableDefaultUI: false,
navigationControl: false,
mapTypeControl: false,
scrollwheel: false,
mapTypeId: google.maps.MapTypeId.ROADMAP
};
//inicializa mapa
map12 = new google.maps.Map(
document.getElementById('mapa_departameto11'),
mapOptions12
);
//chama função de onresize para centralizar mapa
google.maps.event.trigger(map12, 'resize');
//cria markers
geocoder = new google.maps.Geocoder();
var latLangMarker12_0 = new google.maps.LatLng(
parseFloat(-31.868366),
parseFloat(-54.165122)
);
marker12_0 = new google.maps.Marker({
position: latLangMarker12_0,
map: map12,
icon: '',
title: '',
draggable:false
});
infoWindowOpened12_0 = false;
infowindow12_0 = new google.maps.InfoWindow(
{content:unescape(' <div style="width:350px;"> <div id="bodyContent"> <div class="col-md-12 col-xs-12"> <p style="margin-bottom:0px;"><strong>Prefeitura Municipal de Aceguá</strong></p><p style="margin-bottom:0px;">Avenida Internacional, 321 / Esquerda ; ; ;Bairro: Centro</p><p style="margin-bottom:0px;">Aceguá / RS</p><p style="margin-bottom:0px;">96445-000</p> </div> </div> </div> ')}
);
//abre infowindow
google.maps.event.addListener(
marker12_0,
'click',
function() {
if (!infoWindowOpened12_0) {
infowindow12_0.open(
map12,
marker12_0
);
infoWindowOpened12_0 = true;
} else {
infowindow12_0.close();
infoWindowOpened12_0 = false;
}
map12.setCenter(latLang12);
}
);
google.maps.event.addListener(
infowindow12_0,
'closeclick',
function() {
infoWindowOpened12_0 = false;
console.log(this.getPosition());
map12.setCenter(this.getPosition());
}
);
google.maps.event.addListener(
map12,
'click',
function() {
infowindow12_0.close();
infoWindowOpened12_0 = false;
}
);
//função para centralizar o mapa ao redimencionar a tela
google.maps.event.addDomListener(
window,
'resize',
function() {
center = map12.getCenter();
google.maps.event.trigger(map12, 'resize');
map12.setCenter(center);
}
);
}
function setMarkerPosition(marker, address) {
geocoder.geocode(
{'address': address},
function(results, status) {
if (status == google.maps.GeocoderStatus.OK) {
marker.setPosition(results[0].geometry.location);
}
}
);
}
$(function() {
if (typeof google !== 'undefined' && typeof google.maps !== 'undefined') {
showMap12();
} else {
waitGoogleLoad(showMap12, 0);
}
});
</script>]]>
|
2474
| <![CDATA[<script type="text/javascript">
$("#mapaDep11").on("shown.bs.modal", function () {
showMap12();
});
</script>]]>
|
2530
| <![CDATA[<script type='text/javascript'>
var map13 = null;
function showMap13() {
latitude = -31.868366;
longitude = -54.165122;
zoom = 16;
//define configuração de latitude e longitude do mapa
var latLang13 = new google.maps.LatLng(
parseFloat(latitude),
parseFloat(longitude)
);
//configurações do mapa
var mapOptions13 = {
zoom:parseInt(zoom),
center: latLang13,
disableDefaultUI: false,
navigationControl: false,
mapTypeControl: false,
scrollwheel: false,
mapTypeId: google.maps.MapTypeId.ROADMAP
};
//inicializa mapa
map13 = new google.maps.Map(
document.getElementById('mapa_departameto16'),
mapOptions13
);
//chama função de onresize para centralizar mapa
google.maps.event.trigger(map13, 'resize');
//cria markers
geocoder = new google.maps.Geocoder();
var latLangMarker13_0 = new google.maps.LatLng(
parseFloat(-31.868366),
parseFloat(-54.165122)
);
marker13_0 = new google.maps.Marker({
position: latLangMarker13_0,
map: map13,
icon: '',
title: '',
draggable:false
});
infoWindowOpened13_0 = false;
infowindow13_0 = new google.maps.InfoWindow(
{content:unescape(' <div style="width:350px;"> <div id="bodyContent"> <div class="col-md-12 col-xs-12"> <p style="margin-bottom:0px;"><strong>Prefeitura Municipal de Aceguá</strong></p><p style="margin-bottom:0px;">Avenida Internacional, 321 / Esquerda ; ; ;Bairro: Centro</p><p style="margin-bottom:0px;">Aceguá / RS</p><p style="margin-bottom:0px;">96445-000</p> </div> </div> </div> ')}
);
//abre infowindow
google.maps.event.addListener(
marker13_0,
'click',
function() {
if (!infoWindowOpened13_0) {
infowindow13_0.open(
map13,
marker13_0
);
infoWindowOpened13_0 = true;
} else {
infowindow13_0.close();
infoWindowOpened13_0 = false;
}
map13.setCenter(latLang13);
}
);
google.maps.event.addListener(
infowindow13_0,
'closeclick',
function() {
infoWindowOpened13_0 = false;
console.log(this.getPosition());
map13.setCenter(this.getPosition());
}
);
google.maps.event.addListener(
map13,
'click',
function() {
infowindow13_0.close();
infoWindowOpened13_0 = false;
}
);
//função para centralizar o mapa ao redimencionar a tela
google.maps.event.addDomListener(
window,
'resize',
function() {
center = map13.getCenter();
google.maps.event.trigger(map13, 'resize');
map13.setCenter(center);
}
);
}
function setMarkerPosition(marker, address) {
geocoder.geocode(
{'address': address},
function(results, status) {
if (status == google.maps.GeocoderStatus.OK) {
marker.setPosition(results[0].geometry.location);
}
}
);
}
$(function() {
if (typeof google !== 'undefined' && typeof google.maps !== 'undefined') {
showMap13();
} else {
waitGoogleLoad(showMap13, 0);
}
});
</script>]]>
|
2658
| <![CDATA[<script type="text/javascript">
$("#mapaDep16").on("shown.bs.modal", function () {
showMap13();
});
</script>]]>
|
2714
| <![CDATA[<script type='text/javascript'>
var map14 = null;
function showMap14() {
latitude = -31.868366;
longitude = -54.165122;
zoom = 16;
//define configuração de latitude e longitude do mapa
var latLang14 = new google.maps.LatLng(
parseFloat(latitude),
parseFloat(longitude)
);
//configurações do mapa
var mapOptions14 = {
zoom:parseInt(zoom),
center: latLang14,
disableDefaultUI: false,
navigationControl: false,
mapTypeControl: false,
scrollwheel: false,
mapTypeId: google.maps.MapTypeId.ROADMAP
};
//inicializa mapa
map14 = new google.maps.Map(
document.getElementById('mapa_departameto9'),
mapOptions14
);
//chama função de onresize para centralizar mapa
google.maps.event.trigger(map14, 'resize');
//cria markers
geocoder = new google.maps.Geocoder();
var latLangMarker14_0 = new google.maps.LatLng(
parseFloat(-31.868366),
parseFloat(-54.165122)
);
marker14_0 = new google.maps.Marker({
position: latLangMarker14_0,
map: map14,
icon: '',
title: '',
draggable:false
});
infoWindowOpened14_0 = false;
infowindow14_0 = new google.maps.InfoWindow(
{content:unescape(' <div style="width:350px;"> <div id="bodyContent"> <div class="col-md-12 col-xs-12"> <p style="margin-bottom:0px;"><strong>Prefeitura Municipal de Aceguá</strong></p><p style="margin-bottom:0px;">Avenida Internacional, 321 / Esquerda ; ; ;Bairro: Centro</p><p style="margin-bottom:0px;">Aceguá / RS</p><p style="margin-bottom:0px;">96445-000</p> </div> </div> </div> ')}
);
//abre infowindow
google.maps.event.addListener(
marker14_0,
'click',
function() {
if (!infoWindowOpened14_0) {
infowindow14_0.open(
map14,
marker14_0
);
infoWindowOpened14_0 = true;
} else {
infowindow14_0.close();
infoWindowOpened14_0 = false;
}
map14.setCenter(latLang14);
}
);
google.maps.event.addListener(
infowindow14_0,
'closeclick',
function() {
infoWindowOpened14_0 = false;
console.log(this.getPosition());
map14.setCenter(this.getPosition());
}
);
google.maps.event.addListener(
map14,
'click',
function() {
infowindow14_0.close();
infoWindowOpened14_0 = false;
}
);
//função para centralizar o mapa ao redimencionar a tela
google.maps.event.addDomListener(
window,
'resize',
function() {
center = map14.getCenter();
google.maps.event.trigger(map14, 'resize');
map14.setCenter(center);
}
);
}
function setMarkerPosition(marker, address) {
geocoder.geocode(
{'address': address},
function(results, status) {
if (status == google.maps.GeocoderStatus.OK) {
marker.setPosition(results[0].geometry.location);
}
}
);
}
$(function() {
if (typeof google !== 'undefined' && typeof google.maps !== 'undefined') {
showMap14();
} else {
waitGoogleLoad(showMap14, 0);
}
});
</script>]]>
|
2842
| <![CDATA[<script type="text/javascript">
$("#mapaDep9").on("shown.bs.modal", function () {
showMap14();
});
</script>]]>
|
2893
| <![CDATA[<script type='text/javascript'>
var map15 = null;
function showMap15() {
latitude = -31.868366;
longitude = -54.165122;
zoom = 16;
//define configuração de latitude e longitude do mapa
var latLang15 = new google.maps.LatLng(
parseFloat(latitude),
parseFloat(longitude)
);
//configurações do mapa
var mapOptions15 = {
zoom:parseInt(zoom),
center: latLang15,
disableDefaultUI: false,
navigationControl: false,
mapTypeControl: false,
scrollwheel: false,
mapTypeId: google.maps.MapTypeId.ROADMAP
};
//inicializa mapa
map15 = new google.maps.Map(
document.getElementById('mapa_departameto1005'),
mapOptions15
);
//chama função de onresize para centralizar mapa
google.maps.event.trigger(map15, 'resize');
//cria markers
geocoder = new google.maps.Geocoder();
var latLangMarker15_0 = new google.maps.LatLng(
parseFloat(-31.868366),
parseFloat(-54.165122)
);
marker15_0 = new google.maps.Marker({
position: latLangMarker15_0,
map: map15,
icon: '',
title: '',
draggable:false
});
infoWindowOpened15_0 = false;
infowindow15_0 = new google.maps.InfoWindow(
{content:unescape(' <div style="width:350px;"> <div id="bodyContent"> <div class="col-md-12 col-xs-12"> <p style="margin-bottom:0px;"><strong>Prefeitura Municipal de Aceguá</strong></p><p style="margin-bottom:0px;">Avenida Internacional, 321 / Esquerda ; ; ;Bairro: Centro</p><p style="margin-bottom:0px;">Aceguá / RS</p><p style="margin-bottom:0px;">96445-000</p> </div> </div> </div> ')}
);
//abre infowindow
google.maps.event.addListener(
marker15_0,
'click',
function() {
if (!infoWindowOpened15_0) {
infowindow15_0.open(
map15,
marker15_0
);
infoWindowOpened15_0 = true;
} else {
infowindow15_0.close();
infoWindowOpened15_0 = false;
}
map15.setCenter(latLang15);
}
);
google.maps.event.addListener(
infowindow15_0,
'closeclick',
function() {
infoWindowOpened15_0 = false;
console.log(this.getPosition());
map15.setCenter(this.getPosition());
}
);
google.maps.event.addListener(
map15,
'click',
function() {
infowindow15_0.close();
infoWindowOpened15_0 = false;
}
);
//função para centralizar o mapa ao redimencionar a tela
google.maps.event.addDomListener(
window,
'resize',
function() {
center = map15.getCenter();
google.maps.event.trigger(map15, 'resize');
map15.setCenter(center);
}
);
}
function setMarkerPosition(marker, address) {
geocoder.geocode(
{'address': address},
function(results, status) {
if (status == google.maps.GeocoderStatus.OK) {
marker.setPosition(results[0].geometry.location);
}
}
);
}
$(function() {
if (typeof google !== 'undefined' && typeof google.maps !== 'undefined') {
showMap15();
} else {
waitGoogleLoad(showMap15, 0);
}
});
</script>]]>
|
3021
| <![CDATA[<script type="text/javascript">
$("#mapaDep1005").on("shown.bs.modal", function () {
showMap15();
});
</script>]]>
|
3077
| <![CDATA[<script type='text/javascript'>
var map16 = null;
function showMap16() {
latitude = -31.868366;
longitude = -54.165122;
zoom = 16;
//define configuração de latitude e longitude do mapa
var latLang16 = new google.maps.LatLng(
parseFloat(latitude),
parseFloat(longitude)
);
//configurações do mapa
var mapOptions16 = {
zoom:parseInt(zoom),
center: latLang16,
disableDefaultUI: false,
navigationControl: false,
mapTypeControl: false,
scrollwheel: false,
mapTypeId: google.maps.MapTypeId.ROADMAP
};
//inicializa mapa
map16 = new google.maps.Map(
document.getElementById('mapa_departameto1002'),
mapOptions16
);
//chama função de onresize para centralizar mapa
google.maps.event.trigger(map16, 'resize');
//cria markers
geocoder = new google.maps.Geocoder();
var latLangMarker16_0 = new google.maps.LatLng(
parseFloat(-31.868366),
parseFloat(-54.165122)
);
marker16_0 = new google.maps.Marker({
position: latLangMarker16_0,
map: map16,
icon: '',
title: '',
draggable:false
});
infoWindowOpened16_0 = false;
infowindow16_0 = new google.maps.InfoWindow(
{content:unescape(' <div style="width:350px;"> <div id="bodyContent"> <div class="col-md-12 col-xs-12"> <p style="margin-bottom:0px;"><strong>Prefeitura Municipal de Aceguá</strong></p><p style="margin-bottom:0px;">Avenida Internacional, 321 / Esquerda ; ; ;Bairro: Centro</p><p style="margin-bottom:0px;">Aceguá / RS</p><p style="margin-bottom:0px;">96445-000</p> </div> </div> </div> ')}
);
//abre infowindow
google.maps.event.addListener(
marker16_0,
'click',
function() {
if (!infoWindowOpened16_0) {
infowindow16_0.open(
map16,
marker16_0
);
infoWindowOpened16_0 = true;
} else {
infowindow16_0.close();
infoWindowOpened16_0 = false;
}
map16.setCenter(latLang16);
}
);
google.maps.event.addListener(
infowindow16_0,
'closeclick',
function() {
infoWindowOpened16_0 = false;
console.log(this.getPosition());
map16.setCenter(this.getPosition());
}
);
google.maps.event.addListener(
map16,
'click',
function() {
infowindow16_0.close();
infoWindowOpened16_0 = false;
}
);
//função para centralizar o mapa ao redimencionar a tela
google.maps.event.addDomListener(
window,
'resize',
function() {
center = map16.getCenter();
google.maps.event.trigger(map16, 'resize');
map16.setCenter(center);
}
);
}
function setMarkerPosition(marker, address) {
geocoder.geocode(
{'address': address},
function(results, status) {
if (status == google.maps.GeocoderStatus.OK) {
marker.setPosition(results[0].geometry.location);
}
}
);
}
$(function() {
if (typeof google !== 'undefined' && typeof google.maps !== 'undefined') {
showMap16();
} else {
waitGoogleLoad(showMap16, 0);
}
});
</script>]]>
|
3205
| <![CDATA[<script type="text/javascript">
$("#mapaDep1002").on("shown.bs.modal", function () {
showMap16();
});
</script>]]>
|
3261
| <![CDATA[<script type='text/javascript'>
var map17 = null;
function showMap17() {
latitude = -31.868366;
longitude = -54.165122;
zoom = 16;
//define configuração de latitude e longitude do mapa
var latLang17 = new google.maps.LatLng(
parseFloat(latitude),
parseFloat(longitude)
);
//configurações do mapa
var mapOptions17 = {
zoom:parseInt(zoom),
center: latLang17,
disableDefaultUI: false,
navigationControl: false,
mapTypeControl: false,
scrollwheel: false,
mapTypeId: google.maps.MapTypeId.ROADMAP
};
//inicializa mapa
map17 = new google.maps.Map(
document.getElementById('mapa_departameto1004'),
mapOptions17
);
//chama função de onresize para centralizar mapa
google.maps.event.trigger(map17, 'resize');
//cria markers
geocoder = new google.maps.Geocoder();
var latLangMarker17_0 = new google.maps.LatLng(
parseFloat(-31.868366),
parseFloat(-54.165122)
);
marker17_0 = new google.maps.Marker({
position: latLangMarker17_0,
map: map17,
icon: '',
title: '',
draggable:false
});
infoWindowOpened17_0 = false;
infowindow17_0 = new google.maps.InfoWindow(
{content:unescape(' <div style="width:350px;"> <div id="bodyContent"> <div class="col-md-12 col-xs-12"> <p style="margin-bottom:0px;"><strong>Prefeitura Municipal de Aceguá</strong></p><p style="margin-bottom:0px;">Avenida Internacional, 321 / Esquerda ; ; ;Bairro: Centro</p><p style="margin-bottom:0px;">Aceguá / RS</p><p style="margin-bottom:0px;">96445-000</p> </div> </div> </div> ')}
);
//abre infowindow
google.maps.event.addListener(
marker17_0,
'click',
function() {
if (!infoWindowOpened17_0) {
infowindow17_0.open(
map17,
marker17_0
);
infoWindowOpened17_0 = true;
} else {
infowindow17_0.close();
infoWindowOpened17_0 = false;
}
map17.setCenter(latLang17);
}
);
google.maps.event.addListener(
infowindow17_0,
'closeclick',
function() {
infoWindowOpened17_0 = false;
console.log(this.getPosition());
map17.setCenter(this.getPosition());
}
);
google.maps.event.addListener(
map17,
'click',
function() {
infowindow17_0.close();
infoWindowOpened17_0 = false;
}
);
//função para centralizar o mapa ao redimencionar a tela
google.maps.event.addDomListener(
window,
'resize',
function() {
center = map17.getCenter();
google.maps.event.trigger(map17, 'resize');
map17.setCenter(center);
}
);
}
function setMarkerPosition(marker, address) {
geocoder.geocode(
{'address': address},
function(results, status) {
if (status == google.maps.GeocoderStatus.OK) {
marker.setPosition(results[0].geometry.location);
}
}
);
}
$(function() {
if (typeof google !== 'undefined' && typeof google.maps !== 'undefined') {
showMap17();
} else {
waitGoogleLoad(showMap17, 0);
}
});
</script>]]>
|
3389
| <![CDATA[<script type="text/javascript">
$("#mapaDep1004").on("shown.bs.modal", function () {
showMap17();
});
</script>]]>
|
3670
| <![CDATA[<script>
new window.VLibras.Widget('https://vlibras.gov.br/app');
</script>]]>
|