
		<script type="text/javascript">
		jQuery(document).on('ready',function(){
			
			var token = 'cabXG';
			
			// Initialize google map
			var map;
			var added_markers = [];
			function initialize(){
			  	
		  	  	// Set google map marker
			  	var markers = [];
				var near_counter = 0;
										markers[near_counter] = ["51.184197", "14.448103", "http://gpc-bautzen.de/wp-content/uploads/2017/12/map_marker.png", ""];
						near_counter++; 
				if( markers.length <= 1 ){
					// Set google map property
				  	var myCenter = new google.maps.LatLng(markers[0][0], markers[0][1]);
				  	var mapProp = {
				  		scrollwheel: false,
				      	center : myCenter,
				      	zoom : 11,
				      	mapTypeId : google.maps.MapTypeId.ROADMAP,
				      	styles: [{"featureType":"administrative","elementType":"labels.text.fill","stylers":[{"color":"#444444"}]},{"featureType":"landscape","elementType":"all","stylers":[{"color":"#f2f2f2"}]},{"featureType":"poi","elementType":"all","stylers":[{"visibility":"off"}]},{"featureType":"road","elementType":"all","stylers":[{"saturation":-100},{"lightness":45}]},{"featureType":"road.highway","elementType":"all","stylers":[{"visibility":"simplified"}]},{"featureType":"road.arterial","elementType":"labels.icon","stylers":[{"visibility":"off"}]},{"featureType":"transit","elementType":"all","stylers":[{"visibility":"off"}]},{"featureType":"water","elementType":"all","stylers":[{"color":"#46bcec"},{"visibility":"on"}]}],
				  	};
				  	var map = new google.maps.Map(document.getElementById("map"+token), mapProp);
				  	
			  		// Set google map marker
				  	var marker = new google.maps.Marker({
				      	position : myCenter,
				      	icon : markers[0][2]				      	
				  	});
					marker.setMap(map);

					var encodedStr = markers[0][3];
					var parser = new DOMParser;
					var dom = parser.parseFromString( encodedStr, 'text/html' );
					var content = dom.body.textContent;

			        if( content ){
						var infowindow = new google.maps.InfoWindow();
						google.maps.event.addListener(marker,'click', (function(marker,content,infowindow){ 
						   	return function(){
						    	infowindow.setContent(content);
						        infowindow.open(map,marker);
						    };
						})(marker,content,infowindow));
					}
				} else {
					// Set google map property
				  	var myCenter = new google.maps.LatLng(40.7127837, -74.005941);
				  	var bounds = new google.maps.LatLngBounds();

				  	var mapProp = {
				  		scrollwheel: false,
				      	center : myCenter,
				      	zoom : 11,
				      	mapTypeId : google.maps.MapTypeId.ROADMAP,
				      	styles: [{"featureType":"administrative","elementType":"labels.text.fill","stylers":[{"color":"#444444"}]},{"featureType":"landscape","elementType":"all","stylers":[{"color":"#f2f2f2"}]},{"featureType":"poi","elementType":"all","stylers":[{"visibility":"off"}]},{"featureType":"road","elementType":"all","stylers":[{"saturation":-100},{"lightness":45}]},{"featureType":"road.highway","elementType":"all","stylers":[{"visibility":"simplified"}]},{"featureType":"road.arterial","elementType":"labels.icon","stylers":[{"visibility":"off"}]},{"featureType":"transit","elementType":"all","stylers":[{"visibility":"off"}]},{"featureType":"water","elementType":"all","stylers":[{"color":"#46bcec"},{"visibility":"on"}]}],
				  	};
				  	var map = new google.maps.Map(document.getElementById("map"+token), mapProp);

					var i;
				    for( i = 0; i < markers.length; i++ ) {
				        var position = new google.maps.LatLng(markers[i][0], markers[i][1]);
				        bounds.extend(position);
				        marker = new google.maps.Marker({
				            position: position,
				            icon : { url: markers[i][2] },
				            map: map,			            
				        });
				        
				        var encodedStr = markers[i][3];
						var parser = new DOMParser;
						var dom = parser.parseFromString( encodedStr, 'text/html' );
						var content = dom.body.textContent;
						
				        if( content ){
							var infowindow = new google.maps.InfoWindow();
							google.maps.event.addListener(marker,'click', (function(marker,content,infowindow){ 
							   	return function(){
							    	infowindow.setContent(content);
							        infowindow.open(map,marker);
							    };
							})(marker,content,infowindow));
						}

						added_markers.push(marker);	        
				    }

				    if(/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent)){
						map.setOptions({ 'draggable': false });
					}

					// Automatically center the map fitting all markers on the screen
				    map.fitBounds(bounds);
				    
				    // Override our map zoom level once our fitBounds function runs (Make sure it only runs once)
			    	var boundsListener = google.maps.event.addListener((map), 'bounds_changed', function(event){
			        	google.maps.event.removeListener(boundsListener);
			    	});
			    }			    
			}

			// Check google map ID is available or not
			if(document.getElementById("map"+token) != null ){
			  	google.maps.event.addDomListener(window, 'load', initialize);   
			}			
		});
		</script>{"id":711,"date":"2018-03-03T09:30:31","date_gmt":"2018-03-03T08:30:31","guid":{"rendered":"http:\/\/gpc-bautzen.de\/?page_id=711"},"modified":"2018-03-03T09:30:59","modified_gmt":"2018-03-03T08:30:59","slug":"anfahrt","status":"publish","type":"page","link":"http:\/\/gpc-bautzen.de\/?page_id=711","title":{"rendered":"Anfahrt"},"content":{"rendered":"<p>[vc_row css=&#8221;.vc_custom_1520065858256{margin-bottom: 50px !important;}&#8221;][vc_column]<div id=\"mapcabXG\" style=\"width:100%;height:500px\"><\/div>[\/vc_column][\/vc_row][vc_row][vc_column][vc_column_text]Von der Autobahn kommend &#8211; Abfahrt Bautzen Ost nehmen<br \/>\ndann an der Ampel links einordnen. Auf die 156 in Richtung Bautzen.<br \/>\nNach ca. 500 m n\u00e4chste Ampel gerade aus einordnen (auf der 156 bleiben).<\/p>\n<p>Nach weiteren ca. 1,5 km folgt eine weitere Ampel. Hier bitte rechts abbiegen und auf die Thomas-M\u00fcntzer-Stra\u00dfe fahren. In ca. 500 m rechts auf den gro\u00dfen Parkplatz des Brautmode-Discount fahren.<\/p>\n<p>Von der B96 &#8211; aus Richtung Hoyerswerda\/Cottbus kommend<br \/>\nAm Stadtrand von Bautzen auf die Autobahn Richtung G\u00f6rlitz auffahren und Bautzen Ost abfahren. Abfahrt Bautzen Ost, an der Ampel links einordnen. Auf die 156 Richtung Bautzen!<\/p>\n<p>Nach ca. 500 m n\u00e4chste Ampel gerade aus einordnen (auf der 156 bleiben).Nach weiteren ca. 1,5 km folgt eine weitere Ampel. Hier bitte rechts abbiegen und auf die Thomas-M\u00fcntzer-Str. fahren. In ca. 500 m rechts auf den gro\u00dfen Parkplatz des Brautmode-Discount fahren.<\/p>\n<p>Von der B6 aus Richtung Bischofswerda\/Dresden kommend<br \/>\nBautzen Neustadt (vor der Friedensbr\u00fccke) erste Ampel links einordnen Richtung Hoyers- werda Autobahn Richtung G\u00f6rlitz auffahren und Bautzen Ost abfahren. Abfahrt Bautzen Ost, an der Ampel links einordnen. Auf die 156 (Umgehungsstra\u00dfe) in Richtung Bautzen.<\/p>\n<p>Nach ca. 500m n\u00e4chste Ampel gerade aus einordnen (auf der 156 bleiben). Nach weiteren ca. 1,5 km folgt eine weitere Ampel. Hier bitte rechts abbiegen und auf die Thomas-M\u00fcntzer-Str. fahren. In ca. 500 m rechts auf den gro\u00dfen Parkplatz des Brautmode-Discount fahren.<\/p>\n<p>&nbsp;<\/p>\n<p>Dipl.-Kfm. Rainer J. Capitain<br \/>\nThomas-M\u00fcntzer-Str. 4c<br \/>\n02625 Bautzen<\/p>\n<p>Telefon: +49 (0) 3591 531 754<br \/>\nTelefax: +49 (0) 3591 531 755<\/p>\n<p>E-Mail: <a href=\"mailto:info@gpc-bautzen\">info@gpc-bautzen<\/a>.de[\/vc_column_text][\/vc_column][\/vc_row]<\/p>\n","protected":false},"excerpt":{"rendered":"<p>[vc_row css=&#8221;.vc_custom_1520065858256{margin-bottom: 50px !important;}&#8221;][vc_column][\/vc_column][\/vc_row][vc_row][vc_column][vc_column_text]Von der Autobahn kommend &#8211; Abfahrt Bautzen Ost nehmen dann an der Ampel links einordnen. Auf die 156 in Richtung Bautzen. Nach ca. 500 m n\u00e4chste Ampel gerade aus einordnen (auf der 156 bleiben). Nach weiteren ca. 1,5 km folgt eine weitere Ampel. Hier bitte rechts abbiegen und auf die Thomas-M\u00fcntzer-Stra\u00dfe fahren. [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"aioseo_notices":[],"_links":{"self":[{"href":"http:\/\/gpc-bautzen.de\/index.php?rest_route=\/wp\/v2\/pages\/711"}],"collection":[{"href":"http:\/\/gpc-bautzen.de\/index.php?rest_route=\/wp\/v2\/pages"}],"about":[{"href":"http:\/\/gpc-bautzen.de\/index.php?rest_route=\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"http:\/\/gpc-bautzen.de\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/gpc-bautzen.de\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=711"}],"version-history":[{"count":2,"href":"http:\/\/gpc-bautzen.de\/index.php?rest_route=\/wp\/v2\/pages\/711\/revisions"}],"predecessor-version":[{"id":713,"href":"http:\/\/gpc-bautzen.de\/index.php?rest_route=\/wp\/v2\/pages\/711\/revisions\/713"}],"wp:attachment":[{"href":"http:\/\/gpc-bautzen.de\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=711"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}