function initialize() {
var locations = [
['
SESI Americana
Avenida Bandeirantes, 1000
Chácara Machadinho
Americana/SP
', -22.7347800,-47.3277740, 4],
['
SESI Araçatuba
Rua Doutor Álvaro Afonso do Nascimento, 300
Presidente
Araçatuba/SP
', -21.1966780,-50.4659130, 4],
['
SESI Araraquara
Av. Octaviano de Arruda Campos, 686
Jardim Floridiana
Araraquara/SP
', -21.7764570, -48.1558610, 4],
['
SESI Bauru
Rua Rubens Arruda, 20-8
Altos da Cidade
Bauru/SP
', -22.3432670,-49.0715330, 4],
['
SESI Birigui
Av. José Agostinho Rossi, 620
Pinheiro
Birigui/SP
', -21.2977120, -50.3331550, 4],
['
SESI Botucatu
Rua Celso Cariola, 60
Engenheiro Francisco
Botucatu/SP
', -22.9172430, -48.4442930, 4],
['
SESI Campinas
Av. das Amoreiras, 450
Campinas I
Campinas/SP
', -22.9159020, -47.0688180, 4],
['
SESI Diadema
Av. Paranapanema, 1500
Taboão
Diadema/SP
', -23.6722260, -46.6241910, 4],
['
SESI Itapetininga
Av. Padre Antonio Brunetti, 1360
Vila Rio Branco
Itapetininga/SP
', -23.5905500, -48.0687960, 4],
['
SESI Matão
Avenida Marlene David dos Santos, 940
Jardim Paraíso III
Matão/SP
', -21.6297810, -48.3426250, 4],
['
SESI Osasco
Avenida Getúlio Vargas, 401
Piratininga
Osasco/SP
', -23.5154720,-46.7885010, 4],
['
SESI Santana de Parnaiba
Rua Conselheiro Ramalho ,264
Cidade São Pedro
Santana de Parnaiba/SP
', -23.4218680, -46.8632120, 4],
['
SESI São José dos Campos
Av. Cidade Jardim, 4389
Bosque dos Eucalíptos
São José dos Campos/SP
', -23.2520540, -45.8855510, 4],
['
SESI Tatuí
Av. São Carlos, 900
Vila Laurindo
Tatuí/SP
', -23.3423220, -47.8393260, 4],
['
SESI Vila Leopoldina
R. Carlos Weber, 835
Vila Leopoldina
São Paulo/SP
', -23.5283040, -46.7297920, 4]
];
var styleArray = [
{
"featureType": "water",
"stylers": [
{ "color": "#eff0f3" },
{ "visibility": "on" }
]
},
{
"featureType": "administrative.province",
"elementType": "geometry.stroke",
"stylers": [
{ "visibility": "on" },
{ "weight": 2.7 },
{ "color": "#e0001a" }
]
},
{
"featureType": "road",
"stylers": [
{ "visibility": "off" }
]
},
{
"featureType": "poi",
"stylers": [
{ "visibility": "off" }
]
},
{
"featureType": "administrative.neighborhood",
"stylers": [
{ "visibility": "off" }
]
},
{
"featureType": "poi" },
{
"featureType": "landscape",
"elementType": "geometry.fill",
"stylers": [
{ "hue": "#ff0000" },
{ "visibility": "on" },
{ "saturation": 100 }
]
}
];
var mapOptions = {
scaleControl: true,
center: new google.maps.LatLng(-22.498857356582082, -48.73233567187504),
zoom: 7,
mapTypeId: google.maps.MapTypeId.ROADMAP,
styles: styleArray,
disableDefaultUI: true,
draggable: false, zoomControl: false, scrollwheel: false, disableDoubleClickZoom: true
};
var map = new google.maps.Map(document.getElementById('map_canvas'),
mapOptions);
//Add map markers
var infowindow = new google.maps.InfoWindow({
maxWidth: 1000
});
var marker, i;
for (i = 0; i < locations.length; i++) {
marker = new google.maps.Marker({
position: new google.maps.LatLng(locations[i][1], locations[i][2]),
map: map
});
google.maps.event.addListener(marker, 'click', (function (marker, i) {
return function () {
infowindow.setContent(locations[i][0]);
infowindow.open(map, marker);
}
})(marker, i));
}
}
initialize();