Skip to content

Commit

Permalink
Main Page Completed
Browse files Browse the repository at this point in the history
  • Loading branch information
RevanthR committed Oct 20, 2021
1 parent 54acb18 commit 8f7ea48
Show file tree
Hide file tree
Showing 4 changed files with 57 additions and 22 deletions.
14 changes: 7 additions & 7 deletions css/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -260,7 +260,12 @@ a{
font-size: 60px;
margin: 0px;
}

#map{
display: block;
margin: auto;
width: 90%;
height: 100%;
}
.email{
display: flex;
align-items: center;
Expand Down Expand Up @@ -320,9 +325,4 @@ footer .col-lg-2 a{
.blue{
color: rgb(1, 19, 43);
}
#map{
display: block;
margin: auto;
width: 90%;
height: 100%;
}

Binary file modified images/.DS_Store
Binary file not shown.
2 changes: 1 addition & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ <h2 data-aos="fade-down" data-aos-duration="1000" data-aos-delay="100">OUR PRODU
<h2 data-aos="fade-down" data-aos-duration="1000" data-aos-delay="100">WHO ARE WE</h2>
<p data-aos="fade-up" data-aos-duration="1000" data-aos-delay="100">
SVS group is an engineering based manufacturing group with a multi locational presence in India,
It has an experience and expertise of almost 22 years (since 1996). Company is serving to refrigeration
We have an experience and expertise of more than 25 years. Company is serving to refrigeration
industry for their manufacturing needs. We have well educated and trained staff that gives a stability in
working to the Company.

Expand Down
63 changes: 49 additions & 14 deletions js/script.js
Original file line number Diff line number Diff line change
@@ -1,17 +1,52 @@
function initMap() {
// The location of Uluru
const uluru = { lat: 20.59 , lng: 78.9 };
// The map, centered at Uluru
const map = new google.maps.Map(document.getElementById("map"), {
zoom: 4,
center: uluru,
});
// The marker, positioned at Uluru
const marker = new google.maps.Marker({
position: uluru,
var center = {lat: 24.5, lng: 78.01};
var locations = [
['SVS Refcomp Pvt Limited<br>\
Q86J+X8F<br>\
Maharashtra 412210<br>\
<a href="https://goo.gl/maps/M5pdCDzTYQp3rVoF6">Get Directions</a>', 18.762665778713465, 74.33082795501],

['SVS Refcomp<br>\
Hyderbad, Narsapur Rd, Telangana<br>\
<a href="https://goo.gl/maps/cvvN8tjsBQTBf7qb9">Get Directions</a>', 17.697733904470695, 78.3520581972884],

['CS Wires Pvt Ltd.<br>\
IDA Jeedimetla, Hyderabad, Telangana 500054<br>\
<a href="https://goo.gl/maps/VRejn2Xh5vvc17ts7">Get Directions</a>', 17.510414827886642, 78.45106778379176],

['SVS Wires Pvt Ltd.<br>\
Plot No. D-37, Phase IV Extension, Jeedimetla, Hyderabad, Telangana 500055<br>\
<a href="https://goo.gl/maps/qLUWqSVT4jGpAS7c8">Get Directions</a>',17.521910800205536, 78.44033726845059],

['SVS Novatech PVT LTD<br>\
Ahmedabad, Gujarat 382110<br>\
<a href="https://goo.gl/maps/PzYkd5s7SmxGS4Yn6">Get Directions</a>', 22.998119433186954, 72.3332010774617],

['SVS Refcomp Pvt. Ltd.<br>\
Sikandrabad, Bulandshahr, Uttar Pradesh 203206<br>\
<a href="https://goo.gl/maps/MP1TZpDePgykHdEq8">Get Directions</a>', 28.46548456102284, 77.66452509748649],

['SVS Wires Pvt. Ltd<br>\
Talabpur Urf hathipur, Uttar Pradesh 203207<br>\
<a href="https://goo.gl/maps/LJPRNVYn3XpKvUus6">Get Directions</a>', 28.618278856779103, 77.49293100493945]
];
var map = new google.maps.Map(document.getElementById('map'), {
zoom: 5,
center: center
});
var infowindow = new google.maps.InfoWindow({});
var marker, count;
for (count = 0; count < locations.length; count++) {
marker = new google.maps.Marker({
position: new google.maps.LatLng(locations[count][1], locations[count][2]),
map: map,
title: locations[count][0]
});
}

initMap();
//Google Maps Script Above
google.maps.event.addListener(marker, 'click', (function (marker, count) {
return function () {
infowindow.setContent(locations[count][0]);
infowindow.open(map, marker);
}
})(marker, count));
}
}

0 comments on commit 8f7ea48

Please sign in to comment.