Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $(document).ready(function(){
- function colMexico() {
- var panorama;
- panorama = new google.maps.StreetViewPanorama(
- document.getElementById('map'), {
- position: {
- lat: 25.6448721,
- lng: -100.2954885
- },
- pov: {
- heading: 165,
- pitch: 0
- },
- zoom: 1
- });
- $(window).resize(function () {
- var h = $(window).height(),
- offsetTop = 190; // Calculate the top offset
- $('#map').css('height', (h - offsetTop));
- }).resize();
- }
- function colTec() {
- var panorama;
- panorama = new google.maps.StreetViewPanorama(
- document.getElementById('map'), {
- position: {
- lat: 25.6499818,
- lng: -100.2944567
- },
- pov: {
- heading: 165,
- pitch: 0
- },
- zoom: 1
- });
- $(window).resize(function () {
- var h = $(window).height(),
- offsetTop = 190; // Calculate the top offset
- $('#map').css('height', (h - offsetTop));
- }).resize();
- }
- function colAltavista() {
- var panorama;
- panorama = new google.maps.StreetViewPanorama(
- document.getElementById('map'), {
- position: {
- lat: 25.6455769,
- lng: -100.2910731
- },
- pov: {
- heading: 165,
- pitch: 0
- },
- zoom: 1
- });
- $(window).resize(function () {
- var h = $(window).height(),
- offsetTop = 190; // Calculate the top offset
- $('#map').css('height', (h - offsetTop));
- }).resize();
- }
- function colRoma() {
- var panorama;
- panorama = new google.maps.StreetViewPanorama(
- document.getElementById('map'), {
- position: {
- lat: 25.654753,
- lng: -100.297327
- },
- pov: {
- heading: 165,
- pitch: 0
- },
- zoom: 1
- });
- $(window).resize(function () {
- var h = $(window).height(),
- offsetTop = 190; // Calculate the top offset
- $('#map').css('height', (h - offsetTop));
- }).resize();
- }
- function colFlorida() {
- var panorama;
- panorama = new google.maps.StreetViewPanorama(
- document.getElementById('map'), {
- position: {
- lat: 25.6600207,
- lng: -100.2948236
- },
- pov: {
- heading: 165,
- pitch: 0
- },
- zoom: 1
- });
- $(window).resize(function () {
- var h = $(window).height(),
- offsetTop = 190; // Calculate the top offset
- $('#map').css('height', (h - offsetTop));
- }).resize();
- }
- function colResFlor() {
- var panorama;
- panorama = new google.maps.StreetViewPanorama(
- document.getElementById('map'), {
- position: {
- lat: 25.6584667,
- lng: -100.2916545
- },
- pov: {
- heading: 165,
- pitch: 0
- },
- zoom: 1
- });
- $(window).resize(function () {
- var h = $(window).height(),
- offsetTop = 190; // Calculate the top offset
- $('#map').css('height', (h - offsetTop));
- }).resize();
- }
- function colCerro() {
- var panorama;
- panorama = new google.maps.StreetViewPanorama(
- document.getElementById('map'), {
- position: {
- lat: 25.6561476,
- lng: -100.290805
- },
- pov: {
- heading: 165,
- pitch: 0
- },
- zoom: 1
- });
- $(window).resize(function () {
- var h = $(window).height(),
- offsetTop = 190; // Calculate the top offset
- $('#map').css('height', (h - offsetTop));
- }).resize();
- }
- function colVillaFlorida() {
- var panorama;
- panorama = new google.maps.StreetViewPanorama(
- document.getElementById('map'), {
- position: {
- lat: 25.6588606,
- lng: -100.2889578
- },
- pov: {
- heading: 165,
- pitch: 0
- },
- zoom: 1
- });
- $(window).resize(function () {
- var h = $(window).height(),
- offsetTop = 190; // Calculate the top offset
- $('#map').css('height', (h - offsetTop));
- }).resize();
- }
- function colBuenosAires() {
- var panorama;
- panorama = new google.maps.StreetViewPanorama(
- document.getElementById('map'), {
- position: {
- lat: 25.6593136,
- lng: -100.283136
- },
- pov: {
- heading: 165,
- pitch: 0
- },
- zoom: 1
- });
- $(window).resize(function () {
- var h = $(window).height(),
- offsetTop = 190; // Calculate the top offset
- $('#map').css('height', (h - offsetTop));
- }).resize();
- }
- function colRevolucion() {
- var panorama;
- panorama = new google.maps.StreetViewPanorama(
- document.getElementById('map'), {
- position: {
- lat: 25.6578033,
- lng: -100.2813863
- },
- pov: {
- heading: 165,
- pitch: 0
- },
- zoom: 1
- });
- $(window).resize(function () {
- var h = $(window).height(),
- offsetTop = 190; // Calculate the top offset
- $('#map').css('height', (h - offsetTop));
- }).resize();
- }
- function colVillaEstadio() {
- var panorama;
- panorama = new google.maps.StreetViewPanorama(
- document.getElementById('map'), {
- position: {
- lat: 25.6544688,
- lng: -100.2839185
- },
- pov: {
- heading: 165,
- pitch: 0
- },
- zoom: 1
- });
- $(window).resize(function () {
- var h = $(window).height(),
- offsetTop = 190; // Calculate the top offset
- $('#map').css('height', (h - offsetTop));
- }).resize();
- }
- function colEstadio() {
- var panorama;
- panorama = new google.maps.StreetViewPanorama(
- document.getElementById('map'), {
- position: {
- lat: 25.6541985,
- lng: -100.281973
- },
- pov: {
- heading: 165,
- pitch: 0
- },
- zoom: 1
- });
- $(window).resize(function () {
- var h = $(window).height(),
- offsetTop = 190; // Calculate the top offset
- $('#map').css('height', (h - offsetTop));
- }).resize();
- }
- function colLadrillera() {
- var panorama;
- panorama = new google.maps.StreetViewPanorama(
- document.getElementById('map'), {
- position: {
- lat: 25.6553777,
- lng: -100.2767622
- },
- pov: {
- heading: 165,
- pitch: 0
- },
- zoom: 1
- });
- $(window).resize(function () {
- var h = $(window).height(),
- offsetTop = 190; // Calculate the top offset
- $('#map').css('height', (h - offsetTop));
- }).resize();
- }
- function colLTH() {
- var panorama;
- panorama = new google.maps.StreetViewPanorama(
- document.getElementById('map'), {
- position: {
- lat: 25.6536912,
- lng: -100.2789162
- },
- pov: {
- heading: 165,
- pitch: 0
- },
- zoom: 1
- });
- $(window).resize(function () {
- var h = $(window).height(),
- offsetTop = 190; // Calculate the top offset
- $('#map').css('height', (h - offsetTop));
- }).resize();
- }
- function colPrim3er() {
- var panorama;
- panorama = new google.maps.StreetViewPanorama(
- document.getElementById('map'), {
- position: {
- lat: 25.6517583,
- lng: -100.2775446
- },
- pov: {
- heading: 165,
- pitch: 0
- },
- zoom: 1
- });
- $(window).resize(function () {
- var h = $(window).height(),
- offsetTop = 190; // Calculate the top offset
- $('#map').css('height', (h - offsetTop));
- }).resize();
- }
- function colPrim1er() {
- var panorama;
- panorama = new google.maps.StreetViewPanorama(
- document.getElementById('map'), {
- position: {
- lat: 25.6506081,
- lng: -100.2801297
- },
- pov: {
- heading: 165,
- pitch: 0
- },
- zoom: 1
- });
- $(window).resize(function () {
- var h = $(window).height(),
- offsetTop = 190; // Calculate the top offset
- $('#map').css('height', (h - offsetTop));
- }).resize();
- }
- function colNarvarte() {
- var panorama;
- panorama = new google.maps.StreetViewPanorama(
- document.getElementById('map'), {
- position: {
- lat: 25.6510025,
- lng: -100.283025
- },
- pov: {
- heading: 165,
- pitch: 0
- },
- zoom: 1
- });
- $(window).resize(function () {
- var h = $(window).height(),
- offsetTop = 190; // Calculate the top offset
- $('#map').css('height', (h - offsetTop));
- }).resize();
- }
- function colJardinesAlt() {
- var panorama;
- panorama = new google.maps.StreetViewPanorama(
- document.getElementById('map'), {
- position: {
- lat: 25.6471919,
- lng: -100.2820764
- },
- pov: {
- heading: 165,
- pitch: 0
- },
- zoom: 1
- });
- $(window).resize(function () {
- var h = $(window).height(),
- offsetTop = 190; // Calculate the top offset
- $('#map').css('height', (h - offsetTop));
- }).resize();
- }
- function colVallePrim() {
- var panorama;
- panorama = new google.maps.StreetViewPanorama(
- document.getElementById('map'), {
- position: {
- lat: 25.6480358,
- lng: -100.2821139
- },
- pov: {
- heading: 165,
- pitch: 0
- },
- zoom: 1
- });
- $(window).resize(function () {
- var h = $(window).height(),
- offsetTop = 190; // Calculate the top offset
- $('#map').css('height', (h - offsetTop));
- }).resize();
- }
- function colRinconAlt() {
- var panorama;
- panorama = new google.maps.StreetViewPanorama(
- document.getElementById('map'), {
- position: {
- lat: 25.64667,
- lng: -100.2835729
- },
- pov: {
- heading: 165,
- pitch: 0
- },
- zoom: 1
- });
- $(window).resize(function () {
- var h = $(window).height(),
- offsetTop = 190; // Calculate the top offset
- $('#map').css('height', (h - offsetTop));
- }).resize();
- }
- function colTecnologico() {
- var panorama;
- panorama = new google.maps.StreetViewPanorama(
- document.getElementById('map'), {
- position: {
- lat: 25.6533637,
- lng: -100.2895531
- },
- pov: {
- heading: 165,
- pitch: 0
- },
- zoom: 1
- });
- $(window).resize(function () {
- var h = $(window).height(),
- offsetTop = 190; // Calculate the top offset
- $('#map').css('height', (h - offsetTop));
- }).resize();
- }
- function colNuevaEspana() {
- var panorama;
- panorama = new google.maps.StreetViewPanorama(
- document.getElementById('map'), {
- position: {
- lat: 25.6450139,
- lng: -100.2853919
- },
- pov: {
- heading: 165,
- pitch: 0
- },
- zoom: 1
- });
- $(window).resize(function () {
- var h = $(window).height(),
- offsetTop = 190; // Calculate the top offset
- $('#map').css('height', (h - offsetTop));
- }).resize();
- }
- $('#1').on('click', function () {
- colFlorida();
- });
- $('#2').on('click', function () {
- colRoma();
- });
- $('#7').on('click', function () {
- colResFlor();
- });
- $('#11').on('click', function () {
- colCerro();
- });
- $('#9').on('click', function () {
- colVillaFlorida();
- });
- $('#6').on('click', function () {
- colBuenosAires();
- });
- $('#10').on('click', function () {
- colVillaEstadio();
- });
- $('#12').on('click', function () {
- colLadrillera();
- });
- $('#16').on('click', function () {
- colLTH();
- });
- $('#14').on('click', function () {
- colEstadio();
- });
- $('#43').on('click', function () {
- colTec();
- });
- $('#42').on('click', function () {
- colNarvarte();
- });
- $('#8').on('click', function () {
- colTecnologico();
- });
- $('#58').on('click', function () {
- colMexico();
- });
- $('#54').on('click', function () {
- colAltavista();
- });
- $('#61').on('click', function () {
- colRinconAlt();
- });
- $('#57').on('click', function () {
- colVallePrim();
- });
- $('#60').on('click', function () {
- colJardinesAlt();
- });
- $('#64').on('click', function () {
- colNuevaEspana();
- });
- $('#48').on('click', function () {
- colPrim1er();
- });
- $('#44').on('click', function () {
- colPrim3er();
- });
- });
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement