var map;var infoWindow;var markerArray = []; map = new google.maps.Map(document.getElementById('divMap'), { zoom: 5, center: { lat: -5.2518, lng: -42.6015}, mapTypeId: 'terrain' });var polygons = [];var polygon = [new google.maps.LatLng(-5.2518,-42.6015),new google.maps.LatLng(-5.3504,-42.5988),new google.maps.LatLng(-5.3919,-42.6314),new google.maps.LatLng(-5.3912,-42.6624),new google.maps.LatLng(-5.4278,-42.7266),new google.maps.LatLng(-5.4242,-42.7484),new google.maps.LatLng(-5.339,-42.7488),new google.maps.LatLng(-5.2727,-42.679),new google.maps.LatLng(-5.2763,-42.6601),new google.maps.LatLng(-5.2468,-42.6337),new google.maps.LatLng(-5.2518,-42.6015)];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(-4.551,-42.2957),new google.maps.LatLng(-4.6727,-42.3355),new google.maps.LatLng(-4.8319,-42.3704),new google.maps.LatLng(-4.9042,-42.6017),new google.maps.LatLng(-4.9132,-42.634),new google.maps.LatLng(-4.9055,-42.7128),new google.maps.LatLng(-4.8238,-42.7313),new google.maps.LatLng(-4.8176,-42.7886),new google.maps.LatLng(-4.7638,-42.7783),new google.maps.LatLng(-4.7121,-42.7224),new google.maps.LatLng(-4.6723,-42.6883),new google.maps.LatLng(-4.6063,-42.6142),new google.maps.LatLng(-4.5889,-42.5532),new google.maps.LatLng(-4.5475,-42.5414),new google.maps.LatLng(-4.5213,-42.482),new google.maps.LatLng(-4.504,-42.4798),new google.maps.LatLng(-4.4775,-42.4353),new google.maps.LatLng(-4.551,-42.2957)];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(-4.0951,-42.6867),new google.maps.LatLng(-4.0777,-42.6588),new google.maps.LatLng(-4.1308,-42.6466),new google.maps.LatLng(-4.2379,-42.6159),new google.maps.LatLng(-4.345,-42.548),new google.maps.LatLng(-4.3668,-42.5571),new google.maps.LatLng(-4.3729,-42.571),new google.maps.LatLng(-4.3966,-42.5867),new google.maps.LatLng(-4.427,-42.5816),new google.maps.LatLng(-4.3977,-42.7112),new google.maps.LatLng(-4.3956,-42.7726),new google.maps.LatLng(-4.3984,-42.8121),new google.maps.LatLng(-4.3922,-42.8366),new google.maps.LatLng(-4.3639,-42.8862),new google.maps.LatLng(-4.3515,-42.9638),new google.maps.LatLng(-4.3345,-42.9622),new google.maps.LatLng(-4.305,-42.98),new google.maps.LatLng(-4.234,-42.9891),new google.maps.LatLng(-4.2084,-42.9772),new google.maps.LatLng(-4.167,-42.942),new google.maps.LatLng(-4.1586,-42.932),new google.maps.LatLng(-4.1556,-42.8881),new google.maps.LatLng(-4.136,-42.9013),new google.maps.LatLng(-4.1205,-42.9003),new google.maps.LatLng(-4.1113,-42.8791),new google.maps.LatLng(-4.0772,-42.8557),new google.maps.LatLng(-3.9965,-42.8263),new google.maps.LatLng(-3.9876,-42.8153),new google.maps.LatLng(-3.9966,-42.7979),new google.maps.LatLng(-3.9791,-42.7906),new google.maps.LatLng(-3.9833,-42.7916),new google.maps.LatLng(-4.053,-42.7487),new google.maps.LatLng(-4.0888,-42.7098),new google.maps.LatLng(-4.0951,-42.6867)];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(-5.5617,-42.9706),new google.maps.LatLng(-5.5419,-43.0052),new google.maps.LatLng(-5.5166,-43.0001),new google.maps.LatLng(-5.4858,-42.9743),new google.maps.LatLng(-5.452,-42.9687),new google.maps.LatLng(-5.4417,-42.9377),new google.maps.LatLng(-5.428,-42.923),new google.maps.LatLng(-5.396,-42.9123),new google.maps.LatLng(-5.3907,-42.8836),new google.maps.LatLng(-5.3704,-42.8674),new google.maps.LatLng(-5.3456,-42.8246),new google.maps.LatLng(-5.3141,-42.815),new google.maps.LatLng(-5.3402,-42.7587),new google.maps.LatLng(-5.3549,-42.7527),new google.maps.LatLng(-5.4315,-42.7689),new google.maps.LatLng(-5.4965,-42.8109),new google.maps.LatLng(-5.49,-42.8515),new google.maps.LatLng(-5.5252,-42.8478),new google.maps.LatLng(-5.5311,-42.9047),new google.maps.LatLng(-5.5425,-42.91),new google.maps.LatLng(-5.5355,-42.9433),new google.maps.LatLng(-5.5617,-42.9706)];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(-5.7177,-42.7448),new google.maps.LatLng(-5.7467,-42.7248),new google.maps.LatLng(-5.8171,-42.7201),new google.maps.LatLng(-5.8323,-42.6559),new google.maps.LatLng(-5.8966,-42.6765),new google.maps.LatLng(-5.9586,-42.6861),new google.maps.LatLng(-5.9662,-42.7148),new google.maps.LatLng(-6.0107,-42.7228),new google.maps.LatLng(-6.0116,-42.7345),new google.maps.LatLng(-6.0156,-42.7848),new google.maps.LatLng(-5.9753,-42.777),new google.maps.LatLng(-5.9635,-42.7803),new google.maps.LatLng(-5.9585,-42.7765),new google.maps.LatLng(-5.8498,-42.7443),new google.maps.LatLng(-5.8474,-42.7774),new google.maps.LatLng(-5.8701,-42.8513),new google.maps.LatLng(-5.8482,-42.8537),new google.maps.LatLng(-5.72,-42.9415),new google.maps.LatLng(-5.7044,-42.9364),new google.maps.LatLng(-5.6783,-42.814),new google.maps.LatLng(-5.6976,-42.8078),new google.maps.LatLng(-5.6891,-42.7669),new google.maps.LatLng(-5.7177,-42.7448)];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(-4.427,-42.5816),new google.maps.LatLng(-4.4766,-42.672),new google.maps.LatLng(-4.542,-42.6806),new google.maps.LatLng(-4.6063,-42.6142),new google.maps.LatLng(-4.6723,-42.6883),new google.maps.LatLng(-4.7121,-42.7224),new google.maps.LatLng(-4.7638,-42.7783),new google.maps.LatLng(-4.8176,-42.7886),new google.maps.LatLng(-4.7862,-42.8158),new google.maps.LatLng(-4.886,-42.8948),new google.maps.LatLng(-4.8398,-42.8995),new google.maps.LatLng(-4.8229,-42.9244),new google.maps.LatLng(-4.7979,-42.9478),new google.maps.LatLng(-4.7633,-42.9459),new google.maps.LatLng(-4.7504,-42.926),new google.maps.LatLng(-4.7216,-42.923),new google.maps.LatLng(-4.7085,-42.9425),new google.maps.LatLng(-4.6894,-42.9545),new google.maps.LatLng(-4.6749,-42.9477),new google.maps.LatLng(-4.6474,-42.913),new google.maps.LatLng(-4.5722,-42.869),new google.maps.LatLng(-4.5401,-42.8743),new google.maps.LatLng(-4.4946,-42.8518),new google.maps.LatLng(-4.479,-42.8507),new google.maps.LatLng(-4.464,-42.8764),new google.maps.LatLng(-4.4326,-42.872),new google.maps.LatLng(-4.417,-42.88),new google.maps.LatLng(-4.3823,-42.9301),new google.maps.LatLng(-4.3868,-42.9508),new google.maps.LatLng(-4.3764,-42.9633),new google.maps.LatLng(-4.3515,-42.9638),new google.maps.LatLng(-4.3639,-42.8862),new google.maps.LatLng(-4.3922,-42.8366),new google.maps.LatLng(-4.3984,-42.8121),new google.maps.LatLng(-4.3956,-42.7726),new google.maps.LatLng(-4.3977,-42.7112),new google.maps.LatLng(-4.427,-42.5816)];polygons.push(new google.maps.Polygon({path: polygon,geodesic: false,strokeColor: '#FF0000',strokeOpacity: 1.0,strokeWeight: 1,map: map}));var marker_14281 = new Marker({ position: new google.maps.LatLng(-5.2518,-42.6015), icon: { path: MAP_PIN, fillColor: '#99c2ff', fillOpacity: .7, strokeColor: '#001433', strokeWeight: 1 }, map_icon_label: '
', map: map }); var info_14281 = new google.maps.InfoWindow({ content: '
', position: new google.maps.LatLng(-5.2518,-42.6015)}); google.maps.event.addListener(marker_14281, 'click', function (event) { info_14281.open(map, marker_14281);});markerArray.push(marker_14281);var marker_14317 = new Marker({ position: new google.maps.LatLng(-4.551,-42.2957), icon: { path: MAP_PIN, fillColor: '#99c2ff', fillOpacity: .7, strokeColor: '#001433', strokeWeight: 1 }, map_icon_label: '
', map: map }); var info_14317 = new google.maps.InfoWindow({ content: '
', position: new google.maps.LatLng(-4.551,-42.2957)}); google.maps.event.addListener(marker_14317, 'click', function (event) { info_14317.open(map, marker_14317);});markerArray.push(marker_14317);var marker_14335 = new Marker({ position: new google.maps.LatLng(-4.0951,-42.6867), icon: { path: MAP_PIN, fillColor: '#99c2ff', fillOpacity: .7, strokeColor: '#001433', strokeWeight: 1 }, map_icon_label: '
', map: map }); var info_14335 = new google.maps.InfoWindow({ content: '
', position: new google.maps.LatLng(-4.0951,-42.6867)}); google.maps.event.addListener(marker_14335, 'click', function (event) { info_14335.open(map, marker_14335);});markerArray.push(marker_14335);var marker_14345 = new Marker({ position: new google.maps.LatLng(-5.5617,-42.9706), icon: { path: MAP_PIN, fillColor: '#99c2ff', fillOpacity: .7, strokeColor: '#001433', strokeWeight: 1 }, map_icon_label: '
', map: map }); var info_14345 = new google.maps.InfoWindow({ content: '
ROTA DO PESCADO |
Polo do Pescado de Entre Rios |
Nazária-PI ; |
', position: new google.maps.LatLng(-5.5617,-42.9706)}); google.maps.event.addListener(marker_14345, 'click', function (event) { info_14345.open(map, marker_14345);});markerArray.push(marker_14345);var marker_14410 = new Marker({ position: new google.maps.LatLng(-5.7177,-42.7448), icon: { path: MAP_PIN, fillColor: '#99c2ff', fillOpacity: .7, strokeColor: '#001433', strokeWeight: 1 }, map_icon_label: '
', map: map }); var info_14410 = new google.maps.InfoWindow({ content: '
', position: new google.maps.LatLng(-5.7177,-42.7448)}); google.maps.event.addListener(marker_14410, 'click', function (event) { info_14410.open(map, marker_14410);});markerArray.push(marker_14410);var marker_14422 = new Marker({ position: new google.maps.LatLng(-4.427,-42.5816), icon: { path: MAP_PIN, fillColor: '#99c2ff', fillOpacity: .7, strokeColor: '#001433', strokeWeight: 1 }, map_icon_label: '
', map: map }); var info_14422 = new google.maps.InfoWindow({ content: '
ROTA DO PESCADO |
Polo do Pescado de Entre Rios |
União-PI ; |
', position: new google.maps.LatLng(-4.427,-42.5816)}); google.maps.event.addListener(marker_14422, 'click', function (event) { info_14422.open(map, marker_14422);});markerArray.push(marker_14422);var mc = new MarkerClusterer(map, [], {imagePath: '../../images/maps/m'});mc.addMarkers(markerArray, true);$('#hidIniLat').val(-5.2518);$('#hidIniLon').val(-42.6015);