Skip to content

Instantly share code, notes, and snippets.

@aborruso
Created October 16, 2018 06:34
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save aborruso/610d7e08a6ae02ef4f6c5f3306b57c8e to your computer and use it in GitHub Desktop.
Save aborruso/610d7e08a6ae02ef4f6c5f3306b57c8e to your computer and use it in GitHub Desktop.
rapQueryOutput.html
<html>
<head>
<meta name="generator" content="HTML Tidy for HTML5 for Linux version 5.2.0">
<title>
</title>
</head>
<body>
<div style="border:1px solid #990000;padding-left:20px;margin:0 0 10px 0;">
<h4>
A PHP Error was encountered
</h4>
<p>
Severity: Warning
</p>
<p>
Message:
file_get_contents(http://maps.google.com/maps/api/geocode/json?address=%2C&amp;sensor=false):
failed to open stream: HTTP request failed! HTTP/1.0 403
Forbidden
</p>
<p>
Filename: libraries/Googlemaps.php
</p>
<p>
Line Number: 2222
</p>
<p>
Backtrace:
</p>
<p style="margin-left:10px">
File:
/web/htdocs/www.rapspaservizi.it/home/develop1/app/libraries/Googlemaps.php
<br>
Line: 2222
<br>
Function: file_get_contents
</p>
<p style="margin-left:10px">
File:
/web/htdocs/www.rapspaservizi.it/home/develop1/app/libraries/Googlemaps.php
<br>
Line: 242
<br>
Function: get_lat_long_from_address
</p>
<p style="margin-left:10px">
File:
/web/htdocs/www.rapspaservizi.it/home/develop1/app/modules/bastaundito/controllers/Bastaundito_dev.php
<br>
Line: 316
<br>
Function: add_marker
</p>
<p style="margin-left:10px">
File:
/web/htdocs/www.rapspaservizi.it/home/develop1/index.php
<br>
Line: 293
<br>
Function: require_once
</p>
</div>
<div style="border:1px solid #990000;padding-left:20px;margin:0 0 10px 0;">
<h4>
A PHP Error was encountered
</h4>
<p>
Severity: Notice
</p>
<p>
Message: Trying to get property of non-object
</p>
<p>
Filename: libraries/Googlemaps.php
</p>
<p>
Line Number: 2226
</p>
<p>
Backtrace:
</p>
<p style="margin-left:10px">
File:
/web/htdocs/www.rapspaservizi.it/home/develop1/app/libraries/Googlemaps.php
<br>
Line: 2226
<br>
Function: _error_handler
</p>
<p style="margin-left:10px">
File:
/web/htdocs/www.rapspaservizi.it/home/develop1/app/libraries/Googlemaps.php
<br>
Line: 242
<br>
Function: get_lat_long_from_address
</p>
<p style="margin-left:10px">
File:
/web/htdocs/www.rapspaservizi.it/home/develop1/app/modules/bastaundito/controllers/Bastaundito_dev.php
<br>
Line: 316
<br>
Function: add_marker
</p>
<p style="margin-left:10px">
File:
/web/htdocs/www.rapspaservizi.it/home/develop1/index.php
<br>
Line: 293
<br>
Function: require_once
</p>
</div>
<div style="border:1px solid #990000;padding-left:20px;margin:0 0 10px 0;">
<h4>
A PHP Error was encountered
</h4>
<p>
Severity: Notice
</p>
<p>
Message: Trying to get property of non-object
</p>
<p>
Filename: libraries/Googlemaps.php
</p>
<p>
Line Number: 2245
</p>
<p>
Backtrace:
</p>
<p style="margin-left:10px">
File:
/web/htdocs/www.rapspaservizi.it/home/develop1/app/libraries/Googlemaps.php
<br>
Line: 2245
<br>
Function: _error_handler
</p>
<p style="margin-left:10px">
File:
/web/htdocs/www.rapspaservizi.it/home/develop1/app/libraries/Googlemaps.php
<br>
Line: 242
<br>
Function: get_lat_long_from_address
</p>
<p style="margin-left:10px">
File:
/web/htdocs/www.rapspaservizi.it/home/develop1/app/modules/bastaundito/controllers/Bastaundito_dev.php
<br>
Line: 316
<br>
Function: add_marker
</p>
<p style="margin-left:10px">
File:
/web/htdocs/www.rapspaservizi.it/home/develop1/index.php
<br>
Line: 293
<br>
Function: require_once
</p>
</div>
<div style="border:1px solid #990000;padding-left:20px;margin:0 0 10px 0;">
<h4>
A PHP Error was encountered
</h4>
<p>
Severity: Warning
</p>
<p>
Message:
file_get_contents(http://maps.google.com/maps/api/geocode/json?address=%2C&amp;sensor=false):
failed to open stream: HTTP request failed! HTTP/1.0 403
Forbidden
</p>
<p>
Filename: libraries/Googlemaps.php
</p>
<p>
Line Number: 2222
</p>
<p>
Backtrace:
</p>
<p style="margin-left:10px">
File:
/web/htdocs/www.rapspaservizi.it/home/develop1/app/libraries/Googlemaps.php
<br>
Line: 2222
<br>
Function: file_get_contents
</p>
<p style="margin-left:10px">
File:
/web/htdocs/www.rapspaservizi.it/home/develop1/app/libraries/Googlemaps.php
<br>
Line: 242
<br>
Function: get_lat_long_from_address
</p>
<p style="margin-left:10px">
File:
/web/htdocs/www.rapspaservizi.it/home/develop1/app/modules/bastaundito/controllers/Bastaundito_dev.php
<br>
Line: 316
<br>
Function: add_marker
</p>
<p style="margin-left:10px">
File:
/web/htdocs/www.rapspaservizi.it/home/develop1/index.php
<br>
Line: 293
<br>
Function: require_once
</p>
</div>
<div style="border:1px solid #990000;padding-left:20px;margin:0 0 10px 0;">
<h4>
A PHP Error was encountered
</h4>
<p>
Severity: Notice
</p>
<p>
Message: Trying to get property of non-object
</p>
<p>
Filename: libraries/Googlemaps.php
</p>
<p>
Line Number: 2226
</p>
<p>
Backtrace:
</p>
<p style="margin-left:10px">
File:
/web/htdocs/www.rapspaservizi.it/home/develop1/app/libraries/Googlemaps.php
<br>
Line: 2226
<br>
Function: _error_handler
</p>
<p style="margin-left:10px">
File:
/web/htdocs/www.rapspaservizi.it/home/develop1/app/libraries/Googlemaps.php
<br>
Line: 242
<br>
Function: get_lat_long_from_address
</p>
<p style="margin-left:10px">
File:
/web/htdocs/www.rapspaservizi.it/home/develop1/app/modules/bastaundito/controllers/Bastaundito_dev.php
<br>
Line: 316
<br>
Function: add_marker
</p>
<p style="margin-left:10px">
File:
/web/htdocs/www.rapspaservizi.it/home/develop1/index.php
<br>
Line: 293
<br>
Function: require_once
</p>
</div>
<div style="border:1px solid #990000;padding-left:20px;margin:0 0 10px 0;">
<h4>
A PHP Error was encountered
</h4>
<p>
Severity: Notice
</p>
<p>
Message: Trying to get property of non-object
</p>
<p>
Filename: libraries/Googlemaps.php
</p>
<p>
Line Number: 2245
</p>
<p>
Backtrace:
</p>
<p style="margin-left:10px">
File:
/web/htdocs/www.rapspaservizi.it/home/develop1/app/libraries/Googlemaps.php
<br>
Line: 2245
<br>
Function: _error_handler
</p>
<p style="margin-left:10px">
File:
/web/htdocs/www.rapspaservizi.it/home/develop1/app/libraries/Googlemaps.php
<br>
Line: 242
<br>
Function: get_lat_long_from_address
</p>
<p style="margin-left:10px">
File:
/web/htdocs/www.rapspaservizi.it/home/develop1/app/modules/bastaundito/controllers/Bastaundito_dev.php
<br>
Line: 316
<br>
Function: add_marker
</p>
<p style="margin-left:10px">
File:
/web/htdocs/www.rapspaservizi.it/home/develop1/index.php
<br>
Line: 293
<br>
Function: require_once
</p>
</div>
<div style="border:1px solid #990000;padding-left:20px;margin:0 0 10px 0;">
<h4>
A PHP Error was encountered
</h4>
<p>
Severity: Warning
</p>
<p>
Message:
file_get_contents(http://maps.google.com/maps/api/geocode/json?address=%2C&amp;sensor=false):
failed to open stream: HTTP request failed! HTTP/1.0 403
Forbidden
</p>
<p>
Filename: libraries/Googlemaps.php
</p>
<p>
Line Number: 2222
</p>
<p>
Backtrace:
</p>
<p style="margin-left:10px">
File:
/web/htdocs/www.rapspaservizi.it/home/develop1/app/libraries/Googlemaps.php
<br>
Line: 2222
<br>
Function: file_get_contents
</p>
<p style="margin-left:10px">
File:
/web/htdocs/www.rapspaservizi.it/home/develop1/app/libraries/Googlemaps.php
<br>
Line: 242
<br>
Function: get_lat_long_from_address
</p>
<p style="margin-left:10px">
File:
/web/htdocs/www.rapspaservizi.it/home/develop1/app/modules/bastaundito/controllers/Bastaundito_dev.php
<br>
Line: 316
<br>
Function: add_marker
</p>
<p style="margin-left:10px">
File:
/web/htdocs/www.rapspaservizi.it/home/develop1/index.php
<br>
Line: 293
<br>
Function: require_once
</p>
</div>
<div style="border:1px solid #990000;padding-left:20px;margin:0 0 10px 0;">
<h4>
A PHP Error was encountered
</h4>
<p>
Severity: Notice
</p>
<p>
Message: Trying to get property of non-object
</p>
<p>
Filename: libraries/Googlemaps.php
</p>
<p>
Line Number: 2226
</p>
<p>
Backtrace:
</p>
<p style="margin-left:10px">
File:
/web/htdocs/www.rapspaservizi.it/home/develop1/app/libraries/Googlemaps.php
<br>
Line: 2226
<br>
Function: _error_handler
</p>
<p style="margin-left:10px">
File:
/web/htdocs/www.rapspaservizi.it/home/develop1/app/libraries/Googlemaps.php
<br>
Line: 242
<br>
Function: get_lat_long_from_address
</p>
<p style="margin-left:10px">
File:
/web/htdocs/www.rapspaservizi.it/home/develop1/app/modules/bastaundito/controllers/Bastaundito_dev.php
<br>
Line: 316
<br>
Function: add_marker
</p>
<p style="margin-left:10px">
File:
/web/htdocs/www.rapspaservizi.it/home/develop1/index.php
<br>
Line: 293
<br>
Function: require_once
</p>
</div>
<div style="border:1px solid #990000;padding-left:20px;margin:0 0 10px 0;">
<h4>
A PHP Error was encountered
</h4>
<p>
Severity: Notice
</p>
<p>
Message: Trying to get property of non-object
</p>
<p>
Filename: libraries/Googlemaps.php
</p>
<p>
Line Number: 2245
</p>
<p>
Backtrace:
</p>
<p style="margin-left:10px">
File:
/web/htdocs/www.rapspaservizi.it/home/develop1/app/libraries/Googlemaps.php
<br>
Line: 2245
<br>
Function: _error_handler
</p>
<p style="margin-left:10px">
File:
/web/htdocs/www.rapspaservizi.it/home/develop1/app/libraries/Googlemaps.php
<br>
Line: 242
<br>
Function: get_lat_long_from_address
</p>
<p style="margin-left:10px">
File:
/web/htdocs/www.rapspaservizi.it/home/develop1/app/modules/bastaundito/controllers/Bastaundito_dev.php
<br>
Line: 316
<br>
Function: add_marker
</p>
<p style="margin-left:10px">
File:
/web/htdocs/www.rapspaservizi.it/home/develop1/index.php
<br>
Line: 293
<br>
Function: require_once
</p>
</div>
<!-- necessary for google maps polyline drawing in IE -->
<script>
var image_id;
</script>
<style type="text/css">
v\:* {
behavior:url(#default#VML);
}
</style>
<style type="text/css">
#map_canvas {
width: 1024px;
height: 768px;
margin-top: 10px;
}
#map_canvas.fullscreen {
position: fixed;
width:100%;
height: 100%;
}
.modal.large {
width: 80%;
}
html, body {
height: 100%;
margin: 0;
padding: 0;
}
.rcorners2 {
border-radius: 0px;
border: 2px solid #73AD21;
padding: 10px;
}
</style>
<script src="https://code.jquery.com/jquery-2.1.4.min.js">
</script>
<!-- Bootstrap core CSS -->
<!-- Latest compiled and minified CSS -->
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css">
<!-- Optional theme -->
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap-theme.min.css">
<!-- Latest compiled and minified JavaScript -->
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/js/bootstrap.min.js">
</script>
<link rel="stylesheet" type="text/css" href="https://maxcdn.bootstrapcdn.com/font-awesome/4.6.3/css/font-awesome.min.css">
<!--&lt;script src=&#34;http://maps.google.com/maps/api/js&#34;&gt;&lt;/script&gt;-->
<script src="https://cdn.jsdelivr.net/gmap3/7.2.0/gmap3.min.js">
</script>
<script type="text/javascript" src="http://maps.google.com/maps/api/js?sensor=false">
</script>
<script type="text/javascript">
//<![CDATA[
var map; // Global declaration of the map
var lat_longs_map = new Array();
var markers_map = new Array();
var iw_map;
iw_map = new google.maps.InfoWindow();
function initialize_map() {
var myLatlng = new google.maps.LatLng(38.1166667, 13.3666667);
var myOptions = {
zoom: 13,
center: myLatlng,
mapTypeId: google.maps.MapTypeId.ROADMAP}
map = new google.maps.Map(document.getElementById("map_canvas"), myOptions);
var myLatlng = new google.maps.LatLng(38.113918,13.377532);
var marker_icon = {
url: "http://maps.google.com/mapfiles/ms/icons/green-dot.png"};
var markerOptions = {
map: map,
position: myLatlng,
icon: marker_icon
};
marker_0 = createMarker_map(markerOptions);
marker_0.set("content", "<h2>Isola Ecologica Mobile<\/h2><h3>Foro Umberto Primo<\/h3><h3>Circoscrizione T<\/h3><h4>Lunedì 7:30-11:30<\/h4>");
google.maps.event.addListener(marker_0, "click", function(event) {
iw_map.setContent(this.get("content"));
iw_map.open(map, this);
});
var myLatlng = new google.maps.LatLng(38.11524140,13.33593320);
var marker_icon = {
url: "http://www.rapspaservizi.it/develop1/images/sito/cerchietto_rosso.png"};
var markerOptions = {
map: map,
position: myLatlng,
icon: marker_icon
};
marker_1 = createMarker_map(markerOptions);
marker_1.set("content", "<h4>16/10/2018 08:16:28<\/h4><p>VIALE CASTIGLIA LUIGI, 60<\/p><p><img style=\"height:400px\" src=\"http://www.rapspaservizi.it/develop1/images/segnalazioni/segnalazione_31632.jpg\" alt=\"Foto non disponibile\"><\/p>");
google.maps.event.addListener(marker_1, "click", function(event) {
iw_map.setContent(this.get("content"));
iw_map.open(map, this);
});
var myLatlng = new google.maps.LatLng(38.11723810,13.34985810);
var marker_icon = {
url: "http://www.rapspaservizi.it/develop1/images/sito/cerchietto_rosso.png"};
var markerOptions = {
map: map,
position: myLatlng,
icon: marker_icon
};
marker_2 = createMarker_map(markerOptions);
marker_2.set("content", "<h4>15/10/2018 20:20:18<\/h4><p>VIA PASOLINI PIER PAOLO, 25<\/p><p><img style=\"height:400px\" src=\"http://www.rapspaservizi.it/develop1/images/segnalazioni/segnalazione_31627.jpg\" alt=\"Foto non disponibile\"><\/p>");
google.maps.event.addListener(marker_2, "click", function(event) {
iw_map.setContent(this.get("content"));
iw_map.open(map, this);
});
var myLatlng = new google.maps.LatLng(38.11541720,13.36656310);
var marker_icon = {
url: "http://www.rapspaservizi.it/develop1/images/sito/cerchietto_rosso.png"};
var markerOptions = {
map: map,
position: myLatlng,
icon: marker_icon
};
marker_3 = createMarker_map(markerOptions);
marker_3.set("content", "<h4>15/10/2018 18:26:41<\/h4><p>VICOLO LUNGARINI, 4<\/p><p><img style=\"height:400px\" src=\"http://www.rapspaservizi.it/develop1/images/segnalazioni/segnalazione_31623.jpg\" alt=\"Foto non disponibile\"><\/p>");
google.maps.event.addListener(marker_3, "click", function(event) {
iw_map.setContent(this.get("content"));
iw_map.open(map, this);
});
var myLatlng = new google.maps.LatLng(38.13991859,13.33970065);
var marker_icon = {
url: "http://www.rapspaservizi.it/develop1/images/sito/cerchietto_rosso.png"};
var markerOptions = {
map: map,
position: myLatlng,
icon: marker_icon
};
marker_4 = createMarker_map(markerOptions);
marker_4.set("content", "<h4>15/10/2018 18:16:28<\/h4><p>VIA VENETO, 5<\/p><p><img style=\"height:400px\" src=\"http://www.rapspaservizi.it/develop1/images/segnalazioni/segnalazione_31622.jpg\" alt=\"Foto non disponibile\"><\/p>");
google.maps.event.addListener(marker_4, "click", function(event) {
iw_map.setContent(this.get("content"));
iw_map.open(map, this);
});
var myLatlng = new google.maps.LatLng(38.13010170,13.35634240);
var marker_icon = {
url: "http://www.rapspaservizi.it/develop1/images/sito/cerchietto_rosso.png"};
var markerOptions = {
map: map,
position: myLatlng,
icon: marker_icon
};
marker_5 = createMarker_map(markerOptions);
marker_5.set("content", "<h4>15/10/2018 13:16:52<\/h4><p>VIA XIMENES ETTORE, 26<\/p><p><img style=\"height:400px\" src=\"http://www.rapspaservizi.it/develop1/images/segnalazioni/segnalazione_31615.jpg\" alt=\"Foto non disponibile\"><\/p>");
google.maps.event.addListener(marker_5, "click", function(event) {
iw_map.setContent(this.get("content"));
iw_map.open(map, this);
});
var myLatlng = new google.maps.LatLng(38.09961740,13.34880710);
var marker_icon = {
url: "http://www.rapspaservizi.it/develop1/images/sito/cerchietto_rosso.png"};
var markerOptions = {
map: map,
position: myLatlng,
icon: marker_icon
};
marker_6 = createMarker_map(markerOptions);
marker_6.set("content", "<h4>15/10/2018 13:09:33<\/h4><p>VIA CRISAFULLI ELIA, 2<\/p><p><img style=\"height:400px\" src=\"http://www.rapspaservizi.it/develop1/images/segnalazioni/segnalazione_31614.jpg\" alt=\"Foto non disponibile\"><\/p>");
google.maps.event.addListener(marker_6, "click", function(event) {
iw_map.setContent(this.get("content"));
iw_map.open(map, this);
});
var myLatlng = new google.maps.LatLng(38.09714980,13.31900560);
var marker_icon = {
url: "http://www.rapspaservizi.it/develop1/images/sito/cerchietto_rosso.png"};
var markerOptions = {
map: map,
position: myLatlng,
icon: marker_icon
};
marker_7 = createMarker_map(markerOptions);
marker_7.set("content", "<h4>14/10/2018 22:40:14<\/h4><p>VIA PARUTA FILIPPO, 10<\/p><p><img style=\"height:400px\" src=\"http://www.rapspaservizi.it/develop1/images/segnalazioni/segnalazione_31606.jpg\" alt=\"Foto non disponibile\"><\/p>");
google.maps.event.addListener(marker_7, "click", function(event) {
iw_map.setContent(this.get("content"));
iw_map.open(map, this);
});
var myLatlng = new google.maps.LatLng(38.18955343,13.35142302);
var marker_icon = {
url: "http://www.rapspaservizi.it/develop1/images/sito/cerchietto_rosso.png"};
var markerOptions = {
map: map,
position: myLatlng,
icon: marker_icon
};
marker_8 = createMarker_map(markerOptions);
marker_8.set("content", "<h4>14/10/2018 13:56:41<\/h4><p>VIA BARBARIGO AGOSTINO, 41<\/p><p><img style=\"height:400px\" src=\"http://www.rapspaservizi.it/develop1/images/segnalazioni/segnalazione_31602.jpg\" alt=\"Foto non disponibile\"><\/p>");
google.maps.event.addListener(marker_8, "click", function(event) {
iw_map.setContent(this.get("content"));
iw_map.open(map, this);
});
var myLatlng = new google.maps.LatLng(38.11314428,13.35947612);
var marker_icon = {
url: "http://www.rapspaservizi.it/develop1/images/sito/cerchietto_rosso.png"};
var markerOptions = {
map: map,
position: myLatlng,
icon: marker_icon
};
marker_9 = createMarker_map(markerOptions);
marker_9.set("content", "<h4>14/10/2018 12:17:38<\/h4><p>PIAZZETTA SETTE FATE, 4<\/p><p><img style=\"height:400px\" src=\"http://www.rapspaservizi.it/develop1/images/segnalazioni/segnalazione_31596.jpg\" alt=\"Foto non disponibile\"><\/p>");
google.maps.event.addListener(marker_9, "click", function(event) {
iw_map.setContent(this.get("content"));
iw_map.open(map, this);
});
var myLatlng = new google.maps.LatLng(38.11710874,13.35664357);
var marker_icon = {
url: "http://www.rapspaservizi.it/develop1/images/sito/cerchietto_rosso.png"};
var markerOptions = {
map: map,
position: myLatlng,
icon: marker_icon
};
marker_10 = createMarker_map(markerOptions);
marker_10.set("content", "<h4>14/10/2018 11:12:11<\/h4><p>VIA DELLE LETTIGHE, 1<\/p><p><img style=\"height:400px\" src=\"http://www.rapspaservizi.it/develop1/images/segnalazioni/segnalazione_31591.jpg\" alt=\"Foto non disponibile\"><\/p>");
google.maps.event.addListener(marker_10, "click", function(event) {
iw_map.setContent(this.get("content"));
iw_map.open(map, this);
});
var myLatlng = new google.maps.LatLng(0, 0);
var marker_icon = {
url: "http://www.rapspaservizi.it/develop1/images/sito/cerchietto_rosso.png"};
var markerOptions = {
map: map,
position: myLatlng,
icon: marker_icon
};
marker_11 = createMarker_map(markerOptions);
marker_11.set("content", "<h4>13/10/2018 12:00:00<\/h4><p>VIA SAN CRISTOFORO, <\/p><p><img style=\"height:400px\" src=\"http://www.rapspaservizi.it/develop1/images/segnalazioni/segnalazione_31561.jpg\" alt=\"Foto non disponibile\"><\/p>");
google.maps.event.addListener(marker_11, "click", function(event) {
iw_map.setContent(this.get("content"));
iw_map.open(map, this);
});
var myLatlng = new google.maps.LatLng(0, 0);
var marker_icon = {
url: "http://www.rapspaservizi.it/develop1/images/sito/cerchietto_rosso.png"};
var markerOptions = {
map: map,
position: myLatlng,
icon: marker_icon
};
marker_12 = createMarker_map(markerOptions);
marker_12.set("content", "<h4>13/10/2018 12:00:00<\/h4><p>VIA LIVORNO, <\/p><p><img style=\"height:400px\" src=\"http://www.rapspaservizi.it/develop1/images/segnalazioni/segnalazione_31560.jpg\" alt=\"Foto non disponibile\"><\/p>");
google.maps.event.addListener(marker_12, "click", function(event) {
iw_map.setContent(this.get("content"));
iw_map.open(map, this);
});
var myLatlng = new google.maps.LatLng(38.14077000,13.35929310);
var marker_icon = {
url: "http://www.rapspaservizi.it/develop1/images/sito/cerchietto_rosso.png"};
var markerOptions = {
map: map,
position: myLatlng,
icon: marker_icon
};
marker_13 = createMarker_map(markerOptions);
marker_13.set("content", "<h4>13/10/2018 11:32:41<\/h4><p>VIA ARENA ORESTE, 32<\/p><p><img style=\"height:400px\" src=\"http://www.rapspaservizi.it/develop1/images/segnalazioni/segnalazione_31559.jpg\" alt=\"Foto non disponibile\"><\/p>");
google.maps.event.addListener(marker_13, "click", function(event) {
iw_map.setContent(this.get("content"));
iw_map.open(map, this);
});
var myLatlng = new google.maps.LatLng(38.09877290,13.32059900);
var marker_icon = {
url: "http://www.rapspaservizi.it/develop1/images/sito/cerchietto_rosso.png"};
var markerOptions = {
map: map,
position: myLatlng,
icon: marker_icon
};
marker_14 = createMarker_map(markerOptions);
marker_14.set("content", "<h4>13/10/2018 10:49:35<\/h4><p>CORSO CALATAFIMI, 981<\/p><p><img style=\"height:400px\" src=\"http://www.rapspaservizi.it/develop1/images/segnalazioni/segnalazione_31555.jpg\" alt=\"Foto non disponibile\"><\/p>");
google.maps.event.addListener(marker_14, "click", function(event) {
iw_map.setContent(this.get("content"));
iw_map.open(map, this);
});
var myLatlng = new google.maps.LatLng(38.11130557,13.36170885);
var marker_icon = {
url: "http://www.rapspaservizi.it/develop1/images/sito/cerchietto_rosso.png"};
var markerOptions = {
map: map,
position: myLatlng,
icon: marker_icon
};
marker_15 = createMarker_map(markerOptions);
marker_15.set("content", "<h4>13/10/2018 09:30:33<\/h4><p>PIAZZA DEL CARMINE, 3<\/p><p><img style=\"height:400px\" src=\"http://www.rapspaservizi.it/develop1/images/segnalazioni/segnalazione_31552.jpg\" alt=\"Foto non disponibile\"><\/p>");
google.maps.event.addListener(marker_15, "click", function(event) {
iw_map.setContent(this.get("content"));
iw_map.open(map, this);
});
var myLatlng = new google.maps.LatLng(38.10682930,13.36440760);
var marker_icon = {
url: "http://www.rapspaservizi.it/develop1/images/sito/cerchietto_rosso.png"};
var markerOptions = {
map: map,
position: myLatlng,
icon: marker_icon
};
marker_16 = createMarker_map(markerOptions);
marker_16.set("content", "<h4>13/10/2018 08:45:53<\/h4><p>VIA MARINUZZI ANTONIO, 65<\/p><p><img style=\"height:400px\" src=\"http://www.rapspaservizi.it/develop1/images/segnalazioni/segnalazione_31549.jpg\" alt=\"Foto non disponibile\"><\/p>");
google.maps.event.addListener(marker_16, "click", function(event) {
iw_map.setContent(this.get("content"));
iw_map.open(map, this);
});
var myLatlng = new google.maps.LatLng(38.09734410,13.40029290);
var marker_icon = {
url: "http://www.rapspaservizi.it/develop1/images/sito/cerchietto_rosso.png"};
var markerOptions = {
map: map,
position: myLatlng,
icon: marker_icon
};
marker_17 = createMarker_map(markerOptions);
marker_17.set("content", "<h4>13/10/2018 08:39:33<\/h4><p>PIAZZA GRANDI ACHILLE, 26<\/p><p><img style=\"height:400px\" src=\"http://www.rapspaservizi.it/develop1/images/segnalazioni/segnalazione_31548.jpg\" alt=\"Foto non disponibile\"><\/p>");
google.maps.event.addListener(marker_17, "click", function(event) {
iw_map.setContent(this.get("content"));
iw_map.open(map, this);
});
var myLatlng = new google.maps.LatLng(38.09856540,13.39670350);
var marker_icon = {
url: "http://www.rapspaservizi.it/develop1/images/sito/cerchietto_rosso.png"};
var markerOptions = {
map: map,
position: myLatlng,
icon: marker_icon
};
marker_18 = createMarker_map(markerOptions);
marker_18.set("content", "<h4>12/10/2018 19:34:56<\/h4><p>VIA PECORI GIRALDI GUGLIELMO M, 21<\/p><p><img style=\"height:400px\" src=\"http://www.rapspaservizi.it/develop1/images/segnalazioni/segnalazione_31539.jpg\" alt=\"Foto non disponibile\"><\/p>");
google.maps.event.addListener(marker_18, "click", function(event) {
iw_map.setContent(this.get("content"));
iw_map.open(map, this);
});
var myLatlng = new google.maps.LatLng(38.13596100,13.32035470);
var marker_icon = {
url: "http://www.rapspaservizi.it/develop1/images/sito/cerchietto_rosso.png"};
var markerOptions = {
map: map,
position: myLatlng,
icon: marker_icon
};
marker_19 = createMarker_map(markerOptions);
marker_19.set("content", "<h4>12/10/2018 18:43:55<\/h4><p>VIALE MICHELANGELO, 1004<\/p><p><img style=\"height:400px\" src=\"http://www.rapspaservizi.it/develop1/images/segnalazioni/segnalazione_31538.jpg\" alt=\"Foto non disponibile\"><\/p>");
google.maps.event.addListener(marker_19, "click", function(event) {
iw_map.setContent(this.get("content"));
iw_map.open(map, this);
});
var myLatlng = new google.maps.LatLng(38.13026690,13.35638370);
var marker_icon = {
url: "http://www.rapspaservizi.it/develop1/images/sito/cerchietto_rosso.png"};
var markerOptions = {
map: map,
position: myLatlng,
icon: marker_icon
};
marker_20 = createMarker_map(markerOptions);
marker_20.set("content", "<h4>12/10/2018 17:23:24<\/h4><p>VIA XIMENES LEONARDO, 28<\/p><p><img style=\"height:400px\" src=\"http://www.rapspaservizi.it/develop1/images/segnalazioni/segnalazione_31536.jpg\" alt=\"Foto non disponibile\"><\/p>");
google.maps.event.addListener(marker_20, "click", function(event) {
iw_map.setContent(this.get("content"));
iw_map.open(map, this);
});
var myLatlng = new google.maps.LatLng(38.16323551,13.32260191);
var marker_icon = {
url: "http://www.rapspaservizi.it/develop1/images/sito/cerchietto_rosso.png"};
var markerOptions = {
map: map,
position: myLatlng,
icon: marker_icon
};
marker_21 = createMarker_map(markerOptions);
marker_21.set("content", "<h4>12/10/2018 16:38:01<\/h4><p>VIA SAN LORENZO, 199<\/p><p><img style=\"height:400px\" src=\"http://www.rapspaservizi.it/develop1/images/segnalazioni/segnalazione_31533.jpg\" alt=\"Foto non disponibile\"><\/p>");
google.maps.event.addListener(marker_21, "click", function(event) {
iw_map.setContent(this.get("content"));
iw_map.open(map, this);
});
var myLatlng = new google.maps.LatLng(38.13391170,13.32029060);
var marker_icon = {
url: "http://www.rapspaservizi.it/develop1/images/sito/cerchietto_rosso.png"};
var markerOptions = {
map: map,
position: myLatlng,
icon: marker_icon
};
marker_22 = createMarker_map(markerOptions);
marker_22.set("content", "<h4>12/10/2018 12:49:23<\/h4><p>VIA ALIAS FRANCESCO MARIA, <\/p><p><img style=\"height:400px\" src=\"http://www.rapspaservizi.it/develop1/images/segnalazioni/segnalazione_31523.jpg\" alt=\"Foto non disponibile\"><\/p>");
google.maps.event.addListener(marker_22, "click", function(event) {
iw_map.setContent(this.get("content"));
iw_map.open(map, this);
});
var myLatlng = new google.maps.LatLng(38.14634992,13.33335108);
var marker_icon = {
url: "http://www.rapspaservizi.it/develop1/images/sito/cerchietto_rosso.png"};
var markerOptions = {
map: map,
position: myLatlng,
icon: marker_icon
};
marker_23 = createMarker_map(markerOptions);
marker_23.set("content", "<h4>12/10/2018 10:09:41<\/h4><p>VIA ABRUZZI, 76<\/p><p><img style=\"height:400px\" src=\"http://www.rapspaservizi.it/develop1/images/segnalazioni/segnalazione_31516.jpg\" alt=\"Foto non disponibile\"><\/p>");
google.maps.event.addListener(marker_23, "click", function(event) {
iw_map.setContent(this.get("content"));
iw_map.open(map, this);
});
var myLatlng = new google.maps.LatLng(38.13197830,13.32044800);
var marker_icon = {
url: "http://www.rapspaservizi.it/develop1/images/sito/cerchietto_rosso.png"};
var markerOptions = {
map: map,
position: myLatlng,
icon: marker_icon
};
marker_24 = createMarker_map(markerOptions);
marker_24.set("content", "<h4>12/10/2018 09:37:10<\/h4><p>VIA SUOR MARIA DOLORES DI MAJO, sn<\/p><p><img style=\"height:400px\" src=\"http://www.rapspaservizi.it/develop1/images/segnalazioni/segnalazione_31514.jpg\" alt=\"Foto non disponibile\"><\/p>");
google.maps.event.addListener(marker_24, "click", function(event) {
iw_map.setContent(this.get("content"));
iw_map.open(map, this);
});
var myLatlng = new google.maps.LatLng(38.09886340,13.31804550);
var marker_icon = {
url: "http://www.rapspaservizi.it/develop1/images/sito/cerchietto_rosso.png"};
var markerOptions = {
map: map,
position: myLatlng,
icon: marker_icon
};
marker_25 = createMarker_map(markerOptions);
marker_25.set("content", "<h4>12/10/2018 08:16:22<\/h4><p>VIA MARCELLINI TOMMASO, 12<\/p><p><img style=\"height:400px\" src=\"http://www.rapspaservizi.it/develop1/images/segnalazioni/segnalazione_31510.jpg\" alt=\"Foto non disponibile\"><\/p>");
google.maps.event.addListener(marker_25, "click", function(event) {
iw_map.setContent(this.get("content"));
iw_map.open(map, this);
});
var myLatlng = new google.maps.LatLng(38.13556370,13.31307996);
var marker_icon = {
url: "http://www.rapspaservizi.it/develop1/images/sito/cerchietto_rosso.png"};
var markerOptions = {
map: map,
position: myLatlng,
icon: marker_icon
};
marker_26 = createMarker_map(markerOptions);
marker_26.set("content", "<h4>12/10/2018 08:12:40<\/h4><p>VIA CAMMARANO GIUSEPPE, <\/p><p><img style=\"height:400px\" src=\"http://www.rapspaservizi.it/develop1/images/segnalazioni/segnalazione_31509.jpg\" alt=\"Foto non disponibile\"><\/p>");
google.maps.event.addListener(marker_26, "click", function(event) {
iw_map.setContent(this.get("content"));
iw_map.open(map, this);
});
var myLatlng = new google.maps.LatLng(38.13636900,13.36030260);
var marker_icon = {
url: "http://www.rapspaservizi.it/develop1/images/sito/cerchietto_rosso.png"};
var markerOptions = {
map: map,
position: myLatlng,
icon: marker_icon
};
marker_27 = createMarker_map(markerOptions);
marker_27.set("content", "<h4>12/10/2018 07:56:48<\/h4><p>VIA DEI CANTIERI, 4<\/p><p><img style=\"height:400px\" src=\"http://www.rapspaservizi.it/develop1/images/segnalazioni/segnalazione_31508.jpg\" alt=\"Foto non disponibile\"><\/p>");
google.maps.event.addListener(marker_27, "click", function(event) {
iw_map.setContent(this.get("content"));
iw_map.open(map, this);
});
var myLatlng = new google.maps.LatLng(38.14189140,13.36035800);
var marker_icon = {
url: "http://www.rapspaservizi.it/develop1/images/sito/cerchietto_rosso.png"};
var markerOptions = {
map: map,
position: myLatlng,
icon: marker_icon
};
marker_28 = createMarker_map(markerOptions);
marker_28.set("content", "<h4>11/10/2018 23:47:17<\/h4><p>VIA LANDOLINA SAVERIO, <\/p><p><img style=\"height:400px\" src=\"http://www.rapspaservizi.it/develop1/images/segnalazioni/segnalazione_31501.jpg\" alt=\"Foto non disponibile\"><\/p>");
google.maps.event.addListener(marker_28, "click", function(event) {
iw_map.setContent(this.get("content"));
iw_map.open(map, this);
});
var myLatlng = new google.maps.LatLng(38.11388192,13.33642603);
var marker_icon = {
url: "http://www.rapspaservizi.it/develop1/images/sito/cerchietto_rosso.png"};
var markerOptions = {
map: map,
position: myLatlng,
icon: marker_icon
};
marker_29 = createMarker_map(markerOptions);
marker_29.set("content", "<h4>11/10/2018 18:57:07<\/h4><p>VIA EUGENIO L'EMIRO, 22<\/p><p><img style=\"height:400px\" src=\"http://www.rapspaservizi.it/develop1/images/segnalazioni/segnalazione_31500.jpg\" alt=\"Foto non disponibile\"><\/p>");
google.maps.event.addListener(marker_29, "click", function(event) {
iw_map.setContent(this.get("content"));
iw_map.open(map, this);
});
var myLatlng = new google.maps.LatLng(38.09666262,13.36807827);
var marker_icon = {
url: "http://www.rapspaservizi.it/develop1/images/sito/cerchietto_rosso.png"};
var markerOptions = {
map: map,
position: myLatlng,
icon: marker_icon
};
marker_30 = createMarker_map(markerOptions);
marker_30.set("content", "<h4>11/10/2018 18:54:57<\/h4><p>VIA CADUTI DELL’8 LUGLIO 1960 – già VIA OS. 5, 19 <\/p><p><img style=\"height:400px\" src=\"http://www.rapspaservizi.it/develop1/images/segnalazioni/segnalazione_31499.jpg\" alt=\"Foto non disponibile\"><\/p>");
google.maps.event.addListener(marker_30, "click", function(event) {
iw_map.setContent(this.get("content"));
iw_map.open(map, this);
});
var myLatlng = new google.maps.LatLng(38.10246687,13.33422989);
var marker_icon = {
url: "http://www.rapspaservizi.it/develop1/images/sito/cerchietto_rosso.png"};
var markerOptions = {
map: map,
position: myLatlng,
icon: marker_icon
};
marker_31 = createMarker_map(markerOptions);
marker_31.set("content", "<h4>11/10/2018 17:26:39<\/h4><p>VIA MULE' GIUSEPPE, 28<\/p><p><img style=\"height:400px\" src=\"http://www.rapspaservizi.it/develop1/images/segnalazioni/segnalazione_31492.jpg\" alt=\"Foto non disponibile\"><\/p>");
google.maps.event.addListener(marker_31, "click", function(event) {
iw_map.setContent(this.get("content"));
iw_map.open(map, this);
});
var myLatlng = new google.maps.LatLng(38.10626850,13.35828460);
var marker_icon = {
url: "http://www.rapspaservizi.it/develop1/images/sito/cerchietto_rosso.png"};
var markerOptions = {
map: map,
position: myLatlng,
icon: marker_icon
};
marker_32 = createMarker_map(markerOptions);
marker_32.set("content", "<h4>11/10/2018 16:40:53<\/h4><p>VIA CHIARAMONTE ANDREA, 32<\/p><p><img style=\"height:400px\" src=\"http://www.rapspaservizi.it/develop1/images/segnalazioni/segnalazione_31490.jpg\" alt=\"Foto non disponibile\"><\/p>");
google.maps.event.addListener(marker_32, "click", function(event) {
iw_map.setContent(this.get("content"));
iw_map.open(map, this);
});
var myLatlng = new google.maps.LatLng(38.13506040,13.36076050);
var marker_icon = {
url: "http://www.rapspaservizi.it/develop1/images/sito/cerchietto_rosso.png"};
var markerOptions = {
map: map,
position: myLatlng,
icon: marker_icon
};
marker_33 = createMarker_map(markerOptions);
marker_33.set("content", "<h4>11/10/2018 11:45:13<\/h4><p>VIA DELL'ARSENALE, <\/p><p><img style=\"height:400px\" src=\"http://www.rapspaservizi.it/develop1/images/segnalazioni/segnalazione_31481.jpg\" alt=\"Foto non disponibile\"><\/p>");
google.maps.event.addListener(marker_33, "click", function(event) {
iw_map.setContent(this.get("content"));
iw_map.open(map, this);
});
var myLatlng = new google.maps.LatLng(38.14295660,13.34857450);
var marker_icon = {
url: "http://www.rapspaservizi.it/develop1/images/sito/cerchietto_rosso.png"};
var markerOptions = {
map: map,
position: myLatlng,
icon: marker_icon
};
marker_34 = createMarker_map(markerOptions);
marker_34.set("content", "<h4>11/10/2018 11:22:26<\/h4><p>VIA SAMPOLO, 121<\/p><p><img style=\"height:400px\" src=\"http://www.rapspaservizi.it/develop1/images/segnalazioni/segnalazione_31480.jpg\" alt=\"Foto non disponibile\"><\/p>");
google.maps.event.addListener(marker_34, "click", function(event) {
iw_map.setContent(this.get("content"));
iw_map.open(map, this);
});
var myLatlng = new google.maps.LatLng(0, 0);
var marker_icon = {
url: "http://www.rapspaservizi.it/develop1/images/sito/cerchietto_rosso.png"};
var markerOptions = {
map: map,
position: myLatlng,
icon: marker_icon
};
marker_35 = createMarker_map(markerOptions);
marker_35.set("content", "<h4>11/10/2018 12:00:00<\/h4><p>VIA COLLEGIO GIUSINO, <\/p><p><img style=\"height:400px\" src=\"http://www.rapspaservizi.it/develop1/images/segnalazioni/segnalazione_31477.jpg\" alt=\"Foto non disponibile\"><\/p>");
google.maps.event.addListener(marker_35, "click", function(event) {
iw_map.setContent(this.get("content"));
iw_map.open(map, this);
});
var myLatlng = new google.maps.LatLng(38.12517280,13.33882130);
var marker_icon = {
url: "http://www.rapspaservizi.it/develop1/images/sito/cerchietto_rosso.png"};
var markerOptions = {
map: map,
position: myLatlng,
icon: marker_icon
};
marker_36 = createMarker_map(markerOptions);
marker_36.set("content", "<h4>11/10/2018 09:54:19<\/h4><p>VIA SERRADIFALCO, 144<\/p><p><img style=\"height:400px\" src=\"http://www.rapspaservizi.it/develop1/images/segnalazioni/segnalazione_31473.jpg\" alt=\"Foto non disponibile\"><\/p>");
google.maps.event.addListener(marker_36, "click", function(event) {
iw_map.setContent(this.get("content"));
iw_map.open(map, this);
});
var myLatlng = new google.maps.LatLng(38.11309460,13.35957080);
var marker_icon = {
url: "http://www.rapspaservizi.it/develop1/images/sito/cerchietto_rosso.png"};
var markerOptions = {
map: map,
position: myLatlng,
icon: marker_icon
};
marker_37 = createMarker_map(markerOptions);
marker_37.set("content", "<h4>11/10/2018 08:46:59<\/h4><p>PIAZZETTA SETTE FATE, 9<\/p><p><img style=\"height:400px\" src=\"http://www.rapspaservizi.it/develop1/images/segnalazioni/segnalazione_31470.jpg\" alt=\"Foto non disponibile\"><\/p>");
google.maps.event.addListener(marker_37, "click", function(event) {
iw_map.setContent(this.get("content"));
iw_map.open(map, this);
});
var myLatlng = new google.maps.LatLng(38.12391980,13.36142760);
var marker_icon = {
url: "http://www.rapspaservizi.it/develop1/images/sito/cerchietto_rosso.png"};
var markerOptions = {
map: map,
position: myLatlng,
icon: marker_icon
};
marker_38 = createMarker_map(markerOptions);
marker_38.set("content", "<h4>10/10/2018 20:27:51<\/h4><p>VIA PRINCIPE DI SCORDIA, 23<\/p><p><img style=\"height:400px\" src=\"http://www.rapspaservizi.it/develop1/images/segnalazioni/segnalazione_31463.jpg\" alt=\"Foto non disponibile\"><\/p>");
google.maps.event.addListener(marker_38, "click", function(event) {
iw_map.setContent(this.get("content"));
iw_map.open(map, this);
});
var myLatlng = new google.maps.LatLng(38.10727220,13.35908650);
var marker_icon = {
url: "http://www.rapspaservizi.it/develop1/images/sito/cerchietto_rosso.png"};
var markerOptions = {
map: map,
position: myLatlng,
icon: marker_icon
};
marker_39 = createMarker_map(markerOptions);
marker_39.set("content", "<h4>10/10/2018 18:37:36<\/h4><p>VIA MACCHIAVELLI NICCOLO', <\/p><p><img style=\"height:400px\" src=\"http://www.rapspaservizi.it/develop1/images/segnalazioni/segnalazione_31458.jpg\" alt=\"Foto non disponibile\"><\/p>");
google.maps.event.addListener(marker_39, "click", function(event) {
iw_map.setContent(this.get("content"));
iw_map.open(map, this);
});
var myLatlng = new google.maps.LatLng(38.13208911,13.31922018);
var marker_icon = {
url: "http://www.rapspaservizi.it/develop1/images/sito/cerchietto_rosso.png"};
var markerOptions = {
map: map,
position: myLatlng,
icon: marker_icon
};
marker_40 = createMarker_map(markerOptions);
marker_40.set("content", "<h4>10/10/2018 08:37:53<\/h4><p>VIA BEATO ANGELICO, 117<\/p><p><img style=\"height:400px\" src=\"http://www.rapspaservizi.it/develop1/images/segnalazioni/segnalazione_31436.jpg\" alt=\"Foto non disponibile\"><\/p>");
google.maps.event.addListener(marker_40, "click", function(event) {
iw_map.setContent(this.get("content"));
iw_map.open(map, this);
});
var myLatlng = new google.maps.LatLng(38.13090400,13.29085640);
var marker_icon = {
url: "http://www.rapspaservizi.it/develop1/images/sito/cerchietto_rosso.png"};
var markerOptions = {
map: map,
position: myLatlng,
icon: marker_icon
};
marker_41 = createMarker_map(markerOptions);
marker_41.set("content", "<h4>10/10/2018 08:04:44<\/h4><p>VIA BAGHERIA, 1<\/p><p><img style=\"height:400px\" src=\"http://www.rapspaservizi.it/develop1/images/segnalazioni/segnalazione_31433.jpg\" alt=\"Foto non disponibile\"><\/p>");
google.maps.event.addListener(marker_41, "click", function(event) {
iw_map.setContent(this.get("content"));
iw_map.open(map, this);
});
var myLatlng = new google.maps.LatLng(38.10163370,13.32201250);
var marker_icon = {
url: "http://www.rapspaservizi.it/develop1/images/sito/cerchietto_rosso.png"};
var markerOptions = {
map: map,
position: myLatlng,
icon: marker_icon
};
marker_42 = createMarker_map(markerOptions);
marker_42.set("content", "<h4>10/10/2018 06:27:16<\/h4><p>VIA MARCELLINI TOMMASO, 27<\/p><p><img style=\"height:400px\" src=\"http://www.rapspaservizi.it/develop1/images/segnalazioni/segnalazione_31430.jpg\" alt=\"Foto non disponibile\"><\/p>");
google.maps.event.addListener(marker_42, "click", function(event) {
iw_map.setContent(this.get("content"));
iw_map.open(map, this);
});
}
function createMarker_map(markerOptions) {
var marker = new google.maps.Marker(markerOptions);
markers_map.push(marker);
lat_longs_map.push(marker.getPosition());
return marker;
}
google.maps.event.addDomListener(window, "load", initialize_map);
//]]>
</script>
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.6/jquery.min.js" type="text/javascript">
</script>
<script src="http://ajax.googleapis.com/ajax/libs/jqueryui/1.8/jquery-ui.min.js" type="text/javascript">
</script>
<link href="http://ajax.googleapis.com/ajax/libs/jqueryui/1.8/themes/base/jquery-ui.css" rel="Stylesheet" type="text/css">
<script src="http://www.rapspaservizi.it/develop1/assets/js/datetimepicker/jquery.datetimepicker.js">
</script>
<link rel="stylesheet" href="http://www.rapspaservizi.it/develop1/assets/css/datetimepicker/jquery.datetimepicker.css">
<!-- Spinner !-->
<script src="http://www.rapspaservizi.it/develop1/assets/js/spin.min.js">
</script>
<div class="container" style="width: 100%;">
<div class="row">
<div class="well center-block">
<div class="panel panel-default">
<div class="panel-body">
<div class="col col-lg-4">
<p>
<a href="http://www.rapspa.it">
<img src="http://www.rapspaservizi.it/develop1/images/sito/logoRap.png" style="height:100px; margin-top:-15px; float:left;">
</a>
</p>
<div style="clear:both">
</div>
<p style="text-align:lefts;">
</p>
<h3 style="text-align: left;">
Segnalazioni rifiuti ingombranti
abbandonati per circoscrizione, quartiere e periodo
</h3>
<small>
<em>
NB: in base al periodo selezionato la query potrebbe
richiedere del tempo...
</em>
</small>
<hr>
<form id="mappa_segnalazioni" name="mappa_segnalazioni" method="post" onsubmit="redirect(); return false" class="form-inline" role="form">
<div class="row" align="center">
<div class="col col-lg-12">
<div class="form-group">
<div class="form-group">
<div class="col-lg-2">
<label for="giorno_da">
Dal
</label>
</div>
<div class="col-lg-4">
<div class="controls">
<input style="width: 150px; text-align:center;" type="text" id="giorno_dal" name="giorno_dal" value="10/10/2018" class="form-control">
</div>
</div>
</div>
<div class="form-group">
<div class="col-lg-2">
<label for="giorno_da">
Al
</label>
</div>
<div class="col-lg-4">
<div class="controls">
<input style="width: 150px; text-align:center;" type="text" id="giorno_al" name="giorno_al" value="16/10/2018" class="form-control">
</div>
</div>
</div>
<hr>
<div class="row">
<div class="form-group">
<div class="col-sm-10">
<label for="attivita">
Servizio
</label>
<div class="controls">
<select name="attivita_id" class=" form-control" id="attivita_id">
<option value="31" selected="selected">
Rimozione Ingombranti
Abban.
</option>
</select>
</div>
</div>
</div>
</div>
<hr>
<div class="form-group">
<label for="circoscrizione_id">
Circoscrizione
</label>
<div class="controls">
<select name="circoscrizione_id" class=" form-control" id="circoscrizione_id">
<option value="T" selected="selected">
TUTTE
</option>
<option value="1">
I
</option>
<option value="2">
II
</option>
<option value="3">
III
</option>
<option value="4">
IV
</option>
<option value="5">
V
</option>
<option value="6">
VI
</option>
<option value="7">
VII
</option>
<option value="8">
VIII
</option>
</select>
</div>
</div>
<div class="form-group">
<label for="quartiere">
Quartiere:
</label>
<div class="controls">
<select name="quartiere_id[]" multiple="multiple" class=" form-control" size="6" id="quartiere_id">
<option value="T">
TUTTI ( quelli della circoscrizione )
</option>
<option value="1-1">
Tribunale - Castellamare
</option>
<option value="1-2">
Palazzo Reale - Monte di PietÃ
</option>
<option value="2-3">
Oreto - Stazione
</option>
<option value="2-12">
Brancaccio-Ciaculli
</option>
<option value="2-11">
Settecannoli
</option>
<option value="3-3">
Oreto - Stazione
</option>
<option value="4-14">
Mezzomonreale - Villatasca
</option>
<option value="4-16">
Boccadifalco
</option>
<option value="4-15">
Altarello
</option>
<option value="4-5">
Cuba - Calatafimi
</option>
<option value="4-4">
Montegrappa - Santa Rosalia
</option>
<option value="5-18">
Borgo Nuovo
</option>
<option value="5-17">
Uditore - Passo id Rigano
</option>
<option value="5-13">
Villagrazia - Falsomiele
</option>
<option value="5-7">
Noce
</option>
<option value="5-6">
Zisa
</option>
<option value="6-19">
Cruillas - San Giovanni Apostolo
</option>
<option value="7-25">
Arenella - Vergine Maria
</option>
<option value="7-23">
Pallavicino
</option>
<option value="7-22">
Partanna - Mondello
</option>
<option value="7-21">
Tommaso Natale - Sferracavallo
</option>
<option value="8-8">
Malaspina - Palagonia
</option>
<option value="8-24">
Montepellegrino
</option>
<option value="8-9">
LibertÃ
</option>
<option value="8-10">
Politeama
</option>
</select>
</div>
</div>
<hr>
<div class="form-group" style="margin-left: 10px;">
<label for="stato">
Stato:
</label>
<div class="controls">
<div class="radio">
<label>
<input type="radio" name="stato" value="T">
Tutte
</label>
</div>
<div class="radio">
<label>
<input type="radio" name="stato" value="A" checked="">
Aperte
</label>
</div>
<div class="radio">
<label>
<input type="radio" name="stato" value="C">
Chiuse
</label>
</div>
</div>
</div>
</div>
</div>
</div>
<div class="row">
<div class="col col-lg-12">
<p style="text-align:center;">
<br>
<button id="submit" type="submit" class="btn-success" data-toggle="modal" data-target=".bs-example-modal-sm">
VISUALIZZA SULLA
MAPPA
</button>
<button id="stampa" class="btn-info">
STAMPA
</button>
</p>
</div>
</div>
</form>
<div style="clear:both;">
</div>
<hr>
<h4>
Sono state trovate 42 segnalazioni con i parametri
impostati
</h4>
<hr>
</div>
<div class="col col-lg-8">
<div class="rcorners2">
<div id="map_canvas" style="width:100%; height:800px;">
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<div id="modal_waiting" class="modal fade bs-example-modal-sm" tabindex="-1" role="dialog" aria-labelledby="mySmallModalLabel">
<div class="modal-dialog" role="document">
<div class="modal-content">
<div class="modal-header">
<h4 class="modal-title" id="myModalLabel">
Attendere.....
</h4>
</div>
<div class="modal-body">
<p style="text-align:center;">
... recupero dati con i parametri
selezionati in corso, la query potrebbe richiedere del tempo...
</p>
<div class="spinner" id="waiting" style="width: 200px; height:200px;">
</div>
</div>
</div>
</div>
</div>
</div>
<script>
document.addEventListener('DOMContentLoaded', function () {
console.log('DOMContentLoaded');
var circoscrizioni = document.getElementById('circoscrizione_id');
var quartieri = document.getElementById('quartiere_id');
var stampa = document.getElementById('stampa');
// Disabilito all'inizio la selezione dei quartieri se prima non si è selezionata la circoscrizione
for (var i = 0; i < quartieri.options.length; ++i) {
if (quartieri.options[i].value != "T") {
quartieri.options[i].disabled = true;
quartieri.options[i].style.display = 'none';
}
}
circoscrizioni.addEventListener("change", function (e) {
//circoscrizione cambiata
if (e.target.value != '') {
fieldcheck(e.target.value);
}
});
circoscrizioni.addEventListener("focus", function (e) {
// focus su circoscrizione
if (e.target.value != '') {
fieldcheck(e.target.value);
}
});
fieldcheck('T');
function fieldcheck(id_circoscrizione) {
for (var i = 0; i < quartieri.options.length; ++i) {
//console.log( quartieri.options[i].value );
var arr = quartieri.options[i].value.split("-"); // in arr[0] recupero la circoscrizione
if (arr[0] == id_circoscrizione) {
quartieri.options[i].disabled = false;
quartieri.options[i].style.color = 'green';
quartieri.options[i].style.display = 'block';
} else {
if (quartieri.options[i].value != "T") {
quartieri.options[i].disabled = true;
quartieri.options[i].style.color = 'lightgrey';
quartieri.options[i].style.display = 'none';
}
}
}
}
stampa.addEventListener('click', function (e) {
e.preventDefault();
printMaps();
});
// Campi data associati al plugin jquery datetimepicker
$(function () {
$("#giorno_dal").datepicker({
numberOfMonths: 1,
onSelect: function (selected) {
var dt = new Date(selected);
dt.setDate(dt.getDate() + 1);
$("#giorno_al").datepicker({
timepicker: false,
dateFormat: 'dd/mm/yy',
mask: true, // '39/19/9999 29:59'
},
"option", "minDate", dt);
},
lang: 'it',
i18n: {
it: {
months: [
'Gennaio', 'Febbraio', 'Marzo', 'Aprile',
'Maggio', 'Giugno', 'Luglio', 'Agosto',
'Settembre', 'Ottobre', 'Novembre', 'Dicembre',
],
dayOfWeek: [
"Dom.", "Lun", "Mar", "Mer",
"Gio", "Ven", "Sab",
]
}
},
timepicker: false,
dateFormat: 'dd/mm/yy',
mask: true, // '39/19/9999 29:59'
});
$("#giorno_al").datepicker({
numberOfMonths: 1,
onSelect: function (selected) {
var dt = new Date(selected);
dt.setDate(dt.getDate() - 1);
$("#giorno_dal").datepicker({
timepicker: false,
dateFormat: 'dd/mm/yy',
mask: true, // '39/19/9999 29:59'
},
"option", "maxDate", dt);
},
lang: 'it',
i18n: {
it: {
months: [
'Gennaio', 'Febbraio', 'Marzo', 'Aprile',
'Maggio', 'Giugno', 'Luglio', 'Agosto',
'Settembre', 'Ottobre', 'Novembre', 'Dicembre',
],
dayOfWeek: [
"Dom.", "Lun", "Mar", "Mer",
"Gio", "Ven", "Sab",
]
}
},
timepicker: false,
dateFormat: 'dd/mm/yy',
mask: true, // '39/19/9999 29:59'
});
});
var base_url = "http://www.rapspaservizi.it/"
var map;
var infoWindow;
function redirect(evt) {
evt.preventDefault();
//$('#waiting').show();
var stato = $('input[name=stato]:checked').val();
var circoscrizione_id = $('#circoscrizione_id').val();
var attivita_id = $('#attivita_id').val();
var giorno_dal = $('#giorno_dal').val();
var giorno_al = $('#giorno_al').val();
if ((!giorno_dal) || (!giorno_al) || attivita_id == 0 || !stato) {
alert('Attenzione, le date e il servizio sono obbligarie ');
return false;
}
//var data_inizio = $("#giorno_dal").datepicker("getDate");
//var data_fine = $("#giorno_al").datepicker("getDate");
/*if ( data_inizio > data_fine ) {
alert('Attenzione, la data di fine deve essere uguale o superiore alla data di inizio!. ');
return false;
}*/
if ((circoscrizione_id == 0)) {
alert('Attenzione, specificare la circoscrizione. ');
return false;
}
//if ( Date.parse(giorno_dal) < Date.parse(giorno_al) ) {
//start is less than End
//var link = "http://www.rapspaservizi.it/develop1/bastaundito/bastaundito2/mappa?attivita_id=" + attivita_id + '&giorno_dal='+giorno_dal+'&giorno_al='+giorno_al+'&stato='+stato + '&circoscrizione_id=' + circoscrizione_id;
//location.href = link;
$('#modal_waiting').modal('show');
$('#mappa_segnalazioni').submit();
//}else{
// alert('Attenzione, la data di fine deve essere maggiore della data di inizio.');
//}
}
//$("#invia").click(redirect);
/*
* Print dat maps! \o/
*/
function printMaps() {
//alert('stampo la mappa');
var body = $('body');
var mapContainer = $('#map_canvas');
var mapContainerParent = mapContainer.parent();
var printContainer = $('<div>');
printContainer
.addClass('print-container')
.css('position', 'relative')
.height(mapContainer.height())
.append(mapContainer)
.prependTo(body);
var content = body
.children()
.not('script')
.not(printContainer)
.detach();
/*
* Needed for those who use Bootstrap 3.x, because some of
* its `@media print` styles ain't play nicely when printing.
*/
var patchedStyle = $('<style>')
.attr('media', 'print')
.text('img { max-width: none !important; }' +
'a[href]:after { content: ""; }')
.appendTo('head');
window.print();
body.prepend(content);
mapContainerParent.prepend(mapContainer);
printContainer.remove();
patchedStyle.remove();
//location.href = location.href;
}
var opts = {
lines: 13 // The number of lines to draw
, length: 28 // The length of each line
, width: 14 // The line thickness
, radius: 42 // The radius of the inner circle
, scale: 1 // Scales overall size of the spinner
, corners: 1 // Corner roundness (0..1)
, color: '#000' // #rgb or #rrggbb or array of colors
, opacity: 0.25 // Opacity of the lines
, rotate: 0 // The rotation offset
, direction: 1 // 1: clockwise, -1: counterclockwise
, speed: 1 // Rounds per second
, trail: 60 // Afterglow percentage
, fps: 20 // Frames per second when using setTimeout() as a fallback for CSS
, zIndex: 2e9 // The z-index (defaults to 2000000000)
, className: 'spinner' // The CSS class to assign to the spinner
, top: '50%' // Top position relative to parent
, left: '50%' // Left position relative to parent
, shadow: false // Whether to render a shadow
, hwaccel: false // Whether to use hardware acceleration
, position: 'absolute' // Element positioning
}
var target = document.getElementById('waiting');
var spinner = new Spinner(opts).spin(target);
});
</script>
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment