var map;var infoWindow;var markerArray = []; map = new google.maps.Map(document.getElementById('divMap'), { zoom: 5, center: { lat: -8.8046, lng: -38.9519}, mapTypeId: 'terrain' });var polygons = [];var polygon = [new google.maps.LatLng(-8.8046,-38.9519),new google.maps.LatLng(-8.8525,-38.9807),new google.maps.LatLng(-8.8703,-38.9822),new google.maps.LatLng(-9.0165,-39.0964),new google.maps.LatLng(-9.0453,-39.101),new google.maps.LatLng(-9.0616,-39.1107),new google.maps.LatLng(-9.0776,-39.1018),new google.maps.LatLng(-9.0957,-39.0743),new google.maps.LatLng(-9.129,-39.0655),new google.maps.LatLng(-9.1612,-39.0721),new google.maps.LatLng(-9.1693,-39.0661),new google.maps.LatLng(-9.1855,-39.0795),new google.maps.LatLng(-9.2252,-39.0794),new google.maps.LatLng(-9.2337,-39.0628),new google.maps.LatLng(-9.2816,-39.0532),new google.maps.LatLng(-9.3538,-39.022),new google.maps.LatLng(-9.368,-39),new google.maps.LatLng(-9.4044,-38.9851),new google.maps.LatLng(-9.4492,-38.9546),new google.maps.LatLng(-9.4947,-38.9713),new google.maps.LatLng(-9.4958,-38.9805),new google.maps.LatLng(-9.5312,-38.9841),new google.maps.LatLng(-9.5713,-39.0041),new google.maps.LatLng(-9.562,-39.0355),new google.maps.LatLng(-9.5711,-39.0517),new google.maps.LatLng(-9.5672,-39.0761),new google.maps.LatLng(-9.5942,-39.0922),new google.maps.LatLng(-9.5947,-39.1252),new google.maps.LatLng(-9.6022,-39.1404),new google.maps.LatLng(-9.6278,-39.1466),new google.maps.LatLng(-9.6392,-39.1704),new google.maps.LatLng(-9.6456,-39.2116),new google.maps.LatLng(-9.6346,-39.2237),new google.maps.LatLng(-9.6405,-39.2644),new google.maps.LatLng(-9.6347,-39.2809),new google.maps.LatLng(-9.6083,-39.3069),new google.maps.LatLng(-9.5943,-39.3308),new google.maps.LatLng(-9.6156,-39.3595),new google.maps.LatLng(-9.5781,-39.3863),new google.maps.LatLng(-9.5798,-39.4054),new google.maps.LatLng(-9.5607,-39.4151),new google.maps.LatLng(-9.5441,-39.4117),new google.maps.LatLng(-9.5336,-39.4284),new google.maps.LatLng(-9.5001,-39.4465),new google.maps.LatLng(-9.4572,-39.4347),new google.maps.LatLng(-9.4561,-39.4098),new google.maps.LatLng(-9.4449,-39.4042),new google.maps.LatLng(-9.4164,-39.41),new google.maps.LatLng(-9.3905,-39.4019),new google.maps.LatLng(-9.3594,-39.408),new google.maps.LatLng(-9.3381,-39.3922),new google.maps.LatLng(-9.3175,-39.3886),new google.maps.LatLng(-9.3103,-39.3675),new google.maps.LatLng(-9.2874,-39.3573),new google.maps.LatLng(-9.2248,-39.3726),new google.maps.LatLng(-9.2101,-39.3603),new google.maps.LatLng(-9.1788,-39.3629),new google.maps.LatLng(-9.1572,-39.3512),new google.maps.LatLng(-9.126,-39.341),new google.maps.LatLng(-9.1094,-39.3267),new google.maps.LatLng(-9.0603,-39.3148),new google.maps.LatLng(-9.0297,-39.2795),new google.maps.LatLng(-9.0112,-39.2801),new google.maps.LatLng(-8.9899,-39.265),new google.maps.LatLng(-8.9578,-39.2632),new google.maps.LatLng(-8.9435,-39.2714),new google.maps.LatLng(-8.8461,-39.1055),new google.maps.LatLng(-8.7692,-39.0747),new google.maps.LatLng(-8.7316,-39.0645),new google.maps.LatLng(-8.7333,-39.0428),new google.maps.LatLng(-8.761,-38.9993),new google.maps.LatLng(-8.793,-38.9774),new google.maps.LatLng(-8.8046,-38.9519)];polygons.push(new google.maps.Polygon({path: polygon,geodesic: false,strokeColor: '#FF0000',strokeOpacity: 1.0,strokeWeight: 1,map: map}));var polygon = [new google.maps.LatLng(-8.96,-38.514),new google.maps.LatLng(-8.9814,-38.5035),new google.maps.LatLng(-9.0263,-38.449),new google.maps.LatLng(-9.0372,-38.4035),new google.maps.LatLng(-9.0009,-38.3624),new google.maps.LatLng(-8.99,-38.3235),new google.maps.LatLng(-9.0138,-38.3027),new google.maps.LatLng(-9.0471,-38.2899),new google.maps.LatLng(-9.07,-38.321),new google.maps.LatLng(-9.0912,-38.3202),new google.maps.LatLng(-9.0967,-38.3045),new google.maps.LatLng(-9.1168,-38.3214),new google.maps.LatLng(-9.1483,-38.3128),new google.maps.LatLng(-9.1721,-38.2887),new google.maps.LatLng(-9.2011,-38.28),new google.maps.LatLng(-9.2171,-38.2875),new google.maps.LatLng(-9.2904,-38.2505),new google.maps.LatLng(-9.3297,-38.2375),new google.maps.LatLng(-9.353,-38.2148),new google.maps.LatLng(-9.3633,-38.2454),new google.maps.LatLng(-9.3843,-38.2817),new google.maps.LatLng(-9.3877,-38.3),new google.maps.LatLng(-9.3789,-38.3211),new google.maps.LatLng(-9.3904,-38.3425),new google.maps.LatLng(-9.3824,-38.366),new google.maps.LatLng(-9.3985,-38.3825),new google.maps.LatLng(-9.4128,-38.4416),new google.maps.LatLng(-9.4034,-38.457),new google.maps.LatLng(-9.3535,-38.513),new google.maps.LatLng(-8.9791,-38.5894),new google.maps.LatLng(-8.9562,-38.5301),new google.maps.LatLng(-8.96,-38.514)];polygons.push(new google.maps.Polygon({path: polygon,geodesic: false,strokeColor: '#FF0000',strokeOpacity: 1.0,strokeWeight: 1,map: map}));var polygon = [new google.maps.LatLng(-9.353,-38.2148),new google.maps.LatLng(-9.3857,-38.1942),new google.maps.LatLng(-9.4198,-38.2025),new google.maps.LatLng(-9.4258,-38.1812),new google.maps.LatLng(-9.4434,-38.1549),new google.maps.LatLng(-9.4361,-38.1133),new google.maps.LatLng(-9.4411,-38.0777),new google.maps.LatLng(-9.4563,-38.0687),new google.maps.LatLng(-9.4685,-38.0431),new google.maps.LatLng(-9.4699,-38.0221),new google.maps.LatLng(-9.4992,-37.9979),new google.maps.LatLng(-9.515,-38.0032),new google.maps.LatLng(-9.541,-38.0218),new google.maps.LatLng(-9.5638,-38.0189),new google.maps.LatLng(-9.5834,-38.039),new google.maps.LatLng(-9.5877,-38.0627),new google.maps.LatLng(-9.6206,-38.1228),new google.maps.LatLng(-9.6439,-38.124),new google.maps.LatLng(-9.6605,-38.1501),new google.maps.LatLng(-9.6775,-38.1566),new google.maps.LatLng(-9.6696,-38.1758),new google.maps.LatLng(-9.6767,-38.1902),new google.maps.LatLng(-9.6783,-38.24),new google.maps.LatLng(-9.6541,-38.2774),new google.maps.LatLng(-9.6639,-38.3013),new google.maps.LatLng(-9.6879,-38.3214),new google.maps.LatLng(-9.706,-38.3253),new google.maps.LatLng(-9.7077,-38.3448),new google.maps.LatLng(-9.7207,-38.3568),new google.maps.LatLng(-9.7177,-38.3725),new google.maps.LatLng(-9.691,-38.513),new google.maps.LatLng(-9.3535,-38.513),new google.maps.LatLng(-9.4034,-38.457),new google.maps.LatLng(-9.4128,-38.4416),new google.maps.LatLng(-9.3985,-38.3825),new google.maps.LatLng(-9.3824,-38.366),new google.maps.LatLng(-9.3904,-38.3425),new google.maps.LatLng(-9.3789,-38.3211),new google.maps.LatLng(-9.3877,-38.3),new google.maps.LatLng(-9.3843,-38.2817),new google.maps.LatLng(-9.3633,-38.2454),new google.maps.LatLng(-9.353,-38.2148)];polygons.push(new google.maps.Polygon({path: polygon,geodesic: false,strokeColor: '#FF0000',strokeOpacity: 1.0,strokeWeight: 1,map: map}));var polygon = [new google.maps.LatLng(-8.7845,-38.8549),new google.maps.LatLng(-8.7877,-38.807),new google.maps.LatLng(-8.8448,-38.7396),new google.maps.LatLng(-8.8622,-38.7065),new google.maps.LatLng(-8.8817,-38.6983),new google.maps.LatLng(-8.9187,-38.6936),new google.maps.LatLng(-8.9473,-38.6892),new google.maps.LatLng(-8.9717,-38.6743),new google.maps.LatLng(-8.9867,-38.6353),new google.maps.LatLng(-8.9573,-38.6102),new google.maps.LatLng(-8.8932,-38.6075),new google.maps.LatLng(-8.8565,-38.5899),new google.maps.LatLng(-8.8303,-38.5704),new google.maps.LatLng(-8.8226,-38.5518),new google.maps.LatLng(-8.8305,-38.5124),new google.maps.LatLng(-8.85,-38.4798),new google.maps.LatLng(-8.8657,-38.4698),new google.maps.LatLng(-8.9017,-38.4793),new google.maps.LatLng(-8.9278,-38.5133),new google.maps.LatLng(-8.96,-38.514),new google.maps.LatLng(-8.9562,-38.5301),new google.maps.LatLng(-8.9791,-38.5894),new google.maps.LatLng(-9.3535,-38.513),new google.maps.LatLng(-9.691,-38.513),new google.maps.LatLng(-9.6276,-38.8463),new google.maps.LatLng(-9.2953,-38.6823),new google.maps.LatLng(-9.0394,-38.8426),new google.maps.LatLng(-8.8703,-38.9822),new google.maps.LatLng(-8.8525,-38.9807),new google.maps.LatLng(-8.8046,-38.9519),new google.maps.LatLng(-8.7957,-38.9279),new google.maps.LatLng(-8.7845,-38.8549)];polygons.push(new google.maps.Polygon({path: polygon,geodesic: false,strokeColor: '#FF0000',strokeOpacity: 1.0,strokeWeight: 1,map: map}));var polygon = [new google.maps.LatLng(-8.621,-38.629),new google.maps.LatLng(-8.6669,-38.6229),new google.maps.LatLng(-8.6957,-38.6412),new google.maps.LatLng(-8.7286,-38.6526),new google.maps.LatLng(-8.8066,-38.6637),new google.maps.LatLng(-8.8297,-38.6574),new google.maps.LatLng(-8.8984,-38.662),new google.maps.LatLng(-8.9187,-38.6936),new google.maps.LatLng(-8.8817,-38.6983),new google.maps.LatLng(-8.8622,-38.7065),new google.maps.LatLng(-8.8448,-38.7396),new google.maps.LatLng(-8.7877,-38.807),new google.maps.LatLng(-8.7845,-38.8549),new google.maps.LatLng(-8.7254,-38.8534),new google.maps.LatLng(-8.6955,-38.8435),new google.maps.LatLng(-8.621,-38.6292),new google.maps.LatLng(-8.621,-38.629)];polygons.push(new google.maps.Polygon({path: polygon,geodesic: false,strokeColor: '#FF0000',strokeOpacity: 1.0,strokeWeight: 1,map: map}));var polygon = [new google.maps.LatLng(-9.1727,-38.0922),new google.maps.LatLng(-9.2091,-38.1283),new google.maps.LatLng(-9.2182,-38.1439),new google.maps.LatLng(-9.25,-38.1563),new google.maps.LatLng(-9.2626,-38.1573),new google.maps.LatLng(-9.2912,-38.1795),new google.maps.LatLng(-9.2969,-38.203),new google.maps.LatLng(-9.3297,-38.2375),new google.maps.LatLng(-9.2904,-38.2505),new google.maps.LatLng(-9.2171,-38.2875),new google.maps.LatLng(-9.2011,-38.28),new google.maps.LatLng(-9.1721,-38.2887),new google.maps.LatLng(-9.1483,-38.3128),new google.maps.LatLng(-9.1039,-38.2049),new google.maps.LatLng(-9.1521,-38.1989),new google.maps.LatLng(-9.1727,-38.0922)];polygons.push(new google.maps.Polygon({path: polygon,geodesic: false,strokeColor: '#FF0000',strokeOpacity: 1.0,strokeWeight: 1,map: map}));var polygon = [new google.maps.LatLng(-8.6844,-38.0654),new google.maps.LatLng(-8.8554,-38.2361),new google.maps.LatLng(-8.8874,-38.2142),new google.maps.LatLng(-8.9041,-38.2157),new google.maps.LatLng(-8.95,-38.2056),new google.maps.LatLng(-8.9795,-38.2125),new google.maps.LatLng(-9.1039,-38.2049),new google.maps.LatLng(-9.1483,-38.3128),new google.maps.LatLng(-9.1168,-38.3214),new google.maps.LatLng(-9.0967,-38.3045),new google.maps.LatLng(-9.0912,-38.3202),new google.maps.LatLng(-9.07,-38.321),new google.maps.LatLng(-9.0471,-38.2899),new google.maps.LatLng(-9.0138,-38.3027),new google.maps.LatLng(-8.99,-38.3235),new google.maps.LatLng(-9.0009,-38.3624),new google.maps.LatLng(-9.0372,-38.4035),new google.maps.LatLng(-9.0263,-38.449),new google.maps.LatLng(-8.9814,-38.5035),new google.maps.LatLng(-8.96,-38.514),new google.maps.LatLng(-8.9278,-38.5133),new google.maps.LatLng(-8.9017,-38.4793),new google.maps.LatLng(-8.8657,-38.4698),new google.maps.LatLng(-8.8406,-38.4574),new google.maps.LatLng(-8.8295,-38.4414),new google.maps.LatLng(-8.8172,-38.4052),new google.maps.LatLng(-8.7899,-38.3745),new google.maps.LatLng(-8.7735,-38.326),new google.maps.LatLng(-8.7544,-38.3053),new google.maps.LatLng(-8.7601,-38.2888),new google.maps.LatLng(-8.7523,-38.2657),new google.maps.LatLng(-8.7078,-38.2598),new google.maps.LatLng(-8.6881,-38.2328),new google.maps.LatLng(-8.6875,-38.2095),new google.maps.LatLng(-8.6769,-38.1903),new google.maps.LatLng(-8.6971,-38.1418),new google.maps.LatLng(-8.6963,-38.1092),new google.maps.LatLng(-8.6799,-38.073),new google.maps.LatLng(-8.6844,-38.0654)];polygons.push(new google.maps.Polygon({path: polygon,geodesic: false,strokeColor: '#FF0000',strokeOpacity: 1.0,strokeWeight: 1,map: map}));var marker_11253 = new Marker({ position: new google.maps.LatLng(-8.8046,-38.9519), icon: { path: MAP_PIN, fillColor: '#99c2ff', fillOpacity: .7, strokeColor: '#001433', strokeWeight: 1 }, map_icon_label: '
', map: map }); var info_11253 = new google.maps.InfoWindow({ content: '
ROTA DO PESCADO |
Polo do Pescado de Sistema Itaparica |
Chorrochó-BA ; |
', position: new google.maps.LatLng(-8.8046,-38.9519)}); google.maps.event.addListener(marker_11253, 'click', function (event) { info_11253.open(map, marker_11253);});markerArray.push(marker_11253);var marker_11296 = new Marker({ position: new google.maps.LatLng(-8.96,-38.514), icon: { path: MAP_PIN, fillColor: '#99c2ff', fillOpacity: .7, strokeColor: '#001433', strokeWeight: 1 }, map_icon_label: '
', map: map }); var info_11296 = new google.maps.InfoWindow({ content: '
ROTA DO PESCADO |
Polo do Pescado de Sistema Itaparica |
Glória-BA ; |
', position: new google.maps.LatLng(-8.96,-38.514)}); google.maps.event.addListener(marker_11296, 'click', function (event) { info_11296.open(map, marker_11296);});markerArray.push(marker_11296);var marker_11451 = new Marker({ position: new google.maps.LatLng(-9.353,-38.2148), icon: { path: MAP_PIN, fillColor: '#99c2ff', fillOpacity: .7, strokeColor: '#001433', strokeWeight: 1 }, map_icon_label: '
', map: map }); var info_11451 = new google.maps.InfoWindow({ content: '
', position: new google.maps.LatLng(-9.353,-38.2148)}); google.maps.event.addListener(marker_11451, 'click', function (event) { info_11451.open(map, marker_11451);});markerArray.push(marker_11451);var marker_11490 = new Marker({ position: new google.maps.LatLng(-8.7845,-38.8549), icon: { path: MAP_PIN, fillColor: '#99c2ff', fillOpacity: .7, strokeColor: '#001433', strokeWeight: 1 }, map_icon_label: '
', map: map }); var info_11490 = new google.maps.InfoWindow({ content: '
ROTA DO PESCADO |
Polo do Pescado de Sistema Itaparica |
Rodelas-BA ; |
', position: new google.maps.LatLng(-8.7845,-38.8549)}); google.maps.event.addListener(marker_11490, 'click', function (event) { info_11490.open(map, marker_11490);});markerArray.push(marker_11490);var marker_14123 = new Marker({ position: new google.maps.LatLng(-8.621,-38.629), icon: { path: MAP_PIN, fillColor: '#99c2ff', fillOpacity: .7, strokeColor: '#001433', strokeWeight: 1 }, map_icon_label: '
', map: map }); var info_14123 = new google.maps.InfoWindow({ content: '
ROTA DO PESCADO |
Polo do Pescado de Sistema Itaparica |
Itacuruba-PE ; |
', position: new google.maps.LatLng(-8.621,-38.629)}); google.maps.event.addListener(marker_14123, 'click', function (event) { info_14123.open(map, marker_14123);});markerArray.push(marker_14123);var marker_20094 = new Marker({ position: new google.maps.LatLng(-9.1727,-38.0922), icon: { path: MAP_PIN, fillColor: '#99c2ff', fillOpacity: .7, strokeColor: '#001433', strokeWeight: 1 }, map_icon_label: '
', map: map }); var info_20094 = new google.maps.InfoWindow({ content: '
ROTA DO PESCADO |
Polo do Pescado de Sistema Itaparica |
Jatobá-PE ; |
', position: new google.maps.LatLng(-9.1727,-38.0922)}); google.maps.event.addListener(marker_20094, 'click', function (event) { info_20094.open(map, marker_20094);});markerArray.push(marker_20094);var marker_14163 = new Marker({ position: new google.maps.LatLng(-8.6844,-38.0654), icon: { path: MAP_PIN, fillColor: '#99c2ff', fillOpacity: .7, strokeColor: '#001433', strokeWeight: 1 }, map_icon_label: '
', map: map }); var info_14163 = new google.maps.InfoWindow({ content: '
', position: new google.maps.LatLng(-8.6844,-38.0654)}); google.maps.event.addListener(marker_14163, 'click', function (event) { info_14163.open(map, marker_14163);});markerArray.push(marker_14163);var mc = new MarkerClusterer(map, [], {imagePath: '../../images/maps/m'});mc.addMarkers(markerArray, true);$('#hidIniLat').val(-8.8046);$('#hidIniLon').val(-38.9519);