// Create and Initialise the Map (required) our google map below
google.maps.event.addDomListener(window, 'load', init);
/* Footer Map */
function initMap() {
// Basic options for a simple Google Map
// For more options see: https://developers.google.com/maps/documentation/javascript/reference#MapOptions
var mapOptions = {
// How zoomed in you want the map to start at (always required)
zoom: 14,
// The latitude and longitude to center the map (always required)
scrollwheel: false,
center: new google.maps.LatLng(53.278907, -6.376372), // South City Business Park, Tallaght, Dublin 24.
// How you would like to style the map.
styles: [{"featureType":"water","elementType":"geometry","stylers":[{"color":"#c0eafb"},{"lightness":17}]},{"featureType":"landscape","elementType":"geometry","stylers":[{"color":"#eef1fa"},{"lightness":20}]},{"featureType":"road.highway","elementType":"geometry.fill","stylers":[{"color":"#ffffff"},{"lightness":17}]},{"featureType":"road.highway","elementType":"geometry.stroke","stylers":[{"color":"#ffffff"},{"lightness":29},{"weight":0.2}]},{"featureType":"road.arterial","elementType":"geometry","stylers":[{"color":"#ffffff"},{"lightness":18}]},{"featureType":"road.local","elementType":"geometry","stylers":[{"color":"#ffffff"},{"lightness":16}]},{"featureType":"poi","elementType":"geometry","stylers":[{"color":"#eef1fa"},{"lightness":21}]},{"featureType":"poi.park","elementType":"geometry","stylers":[{"color":"#cac9d7"},{"lightness":21}]},{"elementType":"labels.text.stroke","stylers":[{"visibility":"on"},{"color":"#ffffff"},{"lightness":16}]},{"elementType":"labels.text.fill","stylers":[{"saturation":36},{"color":"#333333"},{"lightness":40}]},{"elementType":"labels.icon","stylers":[{"visibility":"off"}]},{"featureType":"transit","elementType":"geometry","stylers":[{"color":"#f2f2f2"},{"lightness":19}]},{"featureType":"administrative","elementType":"geometry.fill","stylers":[{"color":"#fefefe"},{"lightness":20}]},{"featureType":"administrative","elementType":"geometry.stroke","stylers":[{"color":"#fefefe"},{"lightness":17},{"weight":1.2}]}]
};
var mapOptions2 = {
// How zoomed in you want the map to start at (always required)
zoom: 6,
// The latitude and longitude to center the map (always required)
scrollwheel: false,
center: new google.maps.LatLng(53.545702, -7.690432), // Longford, Ireland.
// How you would like to style the map.
styles: [{"featureType":"water","elementType":"geometry","stylers":[{"color":"#c0eafb"},{"lightness":17}]},{"featureType":"landscape","elementType":"geometry","stylers":[{"color":"#eef1fa"},{"lightness":20}]},{"featureType":"road.highway","elementType":"geometry.fill","stylers":[{"color":"#ffffff"},{"lightness":17}]},{"featureType":"road.highway","elementType":"geometry.stroke","stylers":[{"color":"#ffffff"},{"lightness":29},{"weight":0.2}]},{"featureType":"road.arterial","elementType":"geometry","stylers":[{"color":"#ffffff"},{"lightness":18}]},{"featureType":"road.local","elementType":"geometry","stylers":[{"color":"#ffffff"},{"lightness":16}]},{"featureType":"poi","elementType":"geometry","stylers":[{"color":"#eef1fa"},{"lightness":21}]},{"featureType":"poi.park","elementType":"geometry","stylers":[{"color":"#cac9d7"},{"lightness":21}]},{"elementType":"labels.text.stroke","stylers":[{"visibility":"on"},{"color":"#ffffff"},{"lightness":16}]},{"elementType":"labels.text.fill","stylers":[{"saturation":36},{"color":"#333333"},{"lightness":40}]},{"elementType":"labels.icon","stylers":[{"visibility":"off"}]},{"featureType":"transit","elementType":"geometry","stylers":[{"color":"#f2f2f2"},{"lightness":19}]},{"featureType":"administrative","elementType":"geometry.fill","stylers":[{"color":"#fefefe"},{"lightness":20}]},{"featureType":"administrative","elementType":"geometry.stroke","stylers":[{"color":"#fefefe"},{"lightness":17},{"weight":1.2}]}]
};
var mapElement = document.getElementById('map');
var mapElement2 = document.getElementById('contact-map');
// Create the Google Map using out element and options defined above
var map = new google.maps.Map(mapElement, mapOptions);
var map2 = new google.maps.Map(mapElement2, mapOptions2);
// Following section, you can create your info window content using html markup
var contentString = '
'+
'
TechPlus Ltd.
'+
'
'+
'
Unit E9, South City Business Park, Tallaght, Dublin 24, D24 XT61, Ireland.
Email: info@techplus.ie
Phone: 00353 (0)1 404 9060
'+
'
'+
'
';
// Define the image to use for the map marker (58 x 44 px)
var image = 'js/plugins/imagemanager/files/map-marker.png';
// Define the Lattitude and Longitude for the map location
var myLatLng = new google.maps.LatLng(53.278907, -6.376372);
// Define the map marker characteristics
var mapMarker = new google.maps.Marker({
position: myLatLng,
map: map,
icon: image,
title: 'TechPlus Showroom'
});
// Following Lines are needed if you use the Info Window to display content when map marker is clicked
var infowindow = new google.maps.InfoWindow({
content: contentString
});
// Following line turns the marker, into a clickable button and when clicked, opens the info window
google.maps.event.addListener(mapMarker, 'click', function() {
infowindow.open(map, mapMarker);
});
// Start of Carlow Map Marker
// Following section, you can create your info window content using html markup
var contentStringCarlow =
'Carlow
'+
'Brian Shanahan
Sales Representative
Tel: 086 812 4746
'
;
// Define the Lattitude and Longitude for the map location
var myLatLngCarlow = new google.maps.LatLng(52.836371, -6.933713); // Carlow
// Define the map marker characteristics
var mapMarkerCarlow = new google.maps.Marker({
position: myLatLngCarlow,
map: map2,
icon: image,
title: '{TechPlus Carlow}'
});
// Following Lines are needed if you use the Info Window to display content when map marker is clicked
var infowindowCarlow = new google.maps.InfoWindow({
content: contentStringCarlow
});
// Following line turns the marker, into a clickable button and when clicked, opens the info window
google.maps.event.addListener(mapMarkerCarlow, 'click', function() {
infowindowCarlow.open(map, mapMarkerCarlow);
});
// End of Carlow Marker
// Start of Cavan Map Marker
// Following section, you can create your info window content using html markup
var contentStringCavan =
'Cavan
'+
'Hugh Brady
Managing Director
Tel: 086 257 5722
'
;
// Define the Lattitude and Longitude for the map location
var myLatLngCavan = new google.maps.LatLng(53.985534, -7.359553); // Cavan
// Define the map marker characteristics
var mapMarkerCavan = new google.maps.Marker({
position: myLatLngCavan,
map: map2,
icon: image,
title: '{TechPlus Cavan}'
});
// Following Lines are needed if you use the Info Window to display content when map marker is clicked
var infowindowCavan = new google.maps.InfoWindow({
content: contentStringCavan
});
// Following line turns the marker, into a clickable button and when clicked, opens the info window
google.maps.event.addListener(mapMarkerCavan, 'click', function() {
infowindowCavan.open(map, mapMarkerCavan);
});
// End of Cavan Marker
// Start of Clare Map Marker
// Following section, you can create your info window content using html markup
var contentStringClare =
'Clare
'+
'Brian Shanahan
Sales Representative
Tel: 086 812 4746
'
;
// Define the Lattitude and Longitude for the map location
var myLatLngClare = new google.maps.LatLng(52.848006, -8.984986); // Clare
// Define the map marker characteristics
var mapMarkerClare = new google.maps.Marker({
position: myLatLngClare,
map: map2,
icon: image,
title: '{TechPlus Clare}'
});
// Following Lines are needed if you use the Info Window to display content when map marker is clicked
var infowindowClare = new google.maps.InfoWindow({
content: contentStringClare
});
// Following line turns the marker, into a clickable button and when clicked, opens the info window
google.maps.event.addListener(mapMarkerClare, 'click', function() {
infowindowClare.open(map, mapMarkerClare);
});
// End of Clare Marker
// Start of Cork Map Marker
// Following section, you can create your info window content using html markup
var contentStringCork =
'Cork
'+
'Brian Shanahan
Sales Representative
Tel: 086 812 4746
'
;
// Define the Lattitude and Longitude for the map location
var myLatLngCork = new google.maps.LatLng(51.897377, -8.486568); // Cork
// Define the map marker characteristics
var mapMarkerCork = new google.maps.Marker({
position: myLatLngCork,
map: map2,
icon: image,
title: '{TechPlus Cork}'
});
// Following Lines are needed if you use the Info Window to display content when map marker is clicked
var infowindowCork = new google.maps.InfoWindow({
content: contentStringCork
});
// Following line turns the marker, into a clickable button and when clicked, opens the info window
google.maps.event.addListener(mapMarkerCork, 'click', function() {
infowindowCork.open(map, mapMarkerCork);
});
// End of Cork Marker
// Start of Donegal Map Marker
// Following section, you can create your info window content using html markup
var contentStringDonegal =
'Donegal
'+
'Paul Butler
Sales Representative
Tel: 086 254 5518
'
;
// Define the Lattitude and Longitude for the map location
var myLatLngDonegal = new google.maps.LatLng(54.960004, -7.740654); // Donegal
// Define the map marker characteristics
var mapMarkerDonegal = new google.maps.Marker({
position: myLatLngDonegal,
map: map2,
icon: image,
title: '{TechPlus Donegal}'
});
// Following Lines are needed if you use the Info Window to display content when map marker is clicked
var infowindowDonegal = new google.maps.InfoWindow({
content: contentStringDonegal
});
// Following line turns the marker, into a clickable button and when clicked, opens the info window
google.maps.event.addListener(mapMarkerDonegal, 'click', function() {
infowindowDonegal.open(map, mapMarkerDonegal);
});
// End of Donegal Marker
// Start of Dublin Map Marker
// Following section, you can create your info window content using html markup
var contentStringDublin =
'Dublin
'+
'Paul Butler
Sales Representative
Tel: 086 254 5518
'
;
// Define the Lattitude and Longitude for the map location
var myLatLngDublin = new google.maps.LatLng(53.349412, -6.262209); // Dublin
// Define the map marker characteristics
var mapMarkerDublin = new google.maps.Marker({
position: myLatLngDublin,
map: map2,
icon: image,
title: '{TechPlus Dublin}'
});
// Following Lines are needed if you use the Info Window to display content when map marker is clicked
var infowindowDublin = new google.maps.InfoWindow({
content: contentStringDublin
});
// Following line turns the marker, into a clickable button and when clicked, opens the info window
google.maps.event.addListener(mapMarkerDublin, 'click', function() {
infowindowDublin.open(map, mapMarkerDublin);
});
// End of Dublin Marker
// Start of Galway Map Marker
// Following section, you can create your info window content using html markup
var contentStringGalway =
'Galway
'+
'Hugh Brady
Managing Director
Tel: 086 257 5722
'
;
// Define the Lattitude and Longitude for the map location
var myLatLngGalway = new google.maps.LatLng(53.270759, -9.056651); // Galway
// Define the map marker characteristics
var mapMarkerGalway = new google.maps.Marker({
position: myLatLngGalway,
map: map2,
icon: image,
title: '{TechPlus Galway}'
});
// Following Lines are needed if you use the Info Window to display content when map marker is clicked
var infowindowGalway = new google.maps.InfoWindow({
content: contentStringGalway
});
// Following line turns the marker, into a clickable button and when clicked, opens the info window
google.maps.event.addListener(mapMarkerGalway, 'click', function() {
infowindowGalway.open(map, mapMarkerGalway);
});
// End of Galway Marker
// Start of Kerry Map Marker
// Following section, you can create your info window content using html markup
var contentStringKerry =
'Kerry
'+
'Brian Shanahan
Sales Representative
Tel: 086 812 4746
'
;
// Define the Lattitude and Longitude for the map location
var myLatLngKerry = new google.maps.LatLng(52.064520, -9.533704); // Kerry
// Define the map marker characteristics
var mapMarkerKerry = new google.maps.Marker({
position: myLatLngKerry,
map: map2,
icon: image,
title: '{TechPlus Kerry}'
});
// Following Lines are needed if you use the Info Window to display content when map marker is clicked
var infowindowKerry = new google.maps.InfoWindow({
content: contentStringKerry
});
// Following line turns the marker, into a clickable button and when clicked, opens the info window
google.maps.event.addListener(mapMarkerKerry, 'click', function() {
infowindowKerry.open(map, mapMarkerKerry);
});
// End of Kerry Marker
// Start of Kildare Map Marker
// Following section, you can create your info window content using html markup
var contentStringKildare =
'Kildare
'+
'Paul Butler
Sales Representative
Tel: 086 254 5518
'
;
// Define the Lattitude and Longitude for the map location
var myLatLngKildare = new google.maps.LatLng(53.157373, -6.910598); // Dublin
// Define the map marker characteristics
var mapMarkerKildare = new google.maps.Marker({
position: myLatLngKildare,
map: map2,
icon: image,
title: '{TechPlus Kildare}'
});
// Following Lines are needed if you use the Info Window to display content when map marker is clicked
var infowindowKildare = new google.maps.InfoWindow({
content: contentStringKildare
});
// Following line turns the marker, into a clickable button and when clicked, opens the info window
google.maps.event.addListener(mapMarkerKildare, 'click', function() {
infowindowKildare.open(map, mapMarkerKildare);
});
// End of Kildare Marker
// Start of Kilkenny Map Marker
// Following section, you can create your info window content using html markup
var contentStringKilkenny =
'Kilkenny
'+
'Brian Shanahan
Sales Representative
Tel: 086 812 4746
'
;
// Define the Lattitude and Longitude for the map location
var myLatLngKilkenny = new google.maps.LatLng(52.653992, -7.243950); // Kilkenny
// Define the map marker characteristics
var mapMarkerKilkenny = new google.maps.Marker({
position: myLatLngKilkenny,
map: map2,
icon: image,
title: '{TechPlus Kilkenny}'
});
// Following Lines are needed if you use the Info Window to display content when map marker is clicked
var infowindowKilkenny = new google.maps.InfoWindow({
content: contentStringKilkenny
});
// Following line turns the marker, into a clickable button and when clicked, opens the info window
google.maps.event.addListener(mapMarkerKilkenny, 'click', function() {
infowindowKilkenny.open(map, mapMarkerKilkenny);
});
// End of Kilkenny Marker
// Start of Laois Map Marker
// Following section, you can create your info window content using html markup
var contentStringLaois =
'Laois
'+
'Hugh Brady
Managing Director
Tel: 086 257 5722
'
;
// Define the Lattitude and Longitude for the map location
var myLatLngLaois = new google.maps.LatLng(53.028701, -7.289367); // Laois
// Define the map marker characteristics
var mapMarkerLaois = new google.maps.Marker({
position: myLatLngLaois,
map: map2,
icon: image,
title: '{TechPlus Laois}'
});
// Following Lines are needed if you use the Info Window to display content when map marker is clicked
var infowindowLaois = new google.maps.InfoWindow({
content: contentStringLaois
});
// Following line turns the marker, into a clickable button and when clicked, opens the info window
google.maps.event.addListener(mapMarkerLaois, 'click', function() {
infowindowLaois.open(map, mapMarkerLaois);
});
// End of Laois Marker
// Start of Leitrim Map Marker
// Following section, you can create your info window content using html markup
var contentStringLeitrim =
'Leitrim
'+
'Hugh Brady
Managing Director
Tel: 086 257 5722
'
;
// Define the Lattitude and Longitude for the map location
var myLatLngLeitrim = new google.maps.LatLng(53.990744, -8.067726); // Leitrim
// Define the map marker characteristics
var mapMarkerLeitrim = new google.maps.Marker({
position: myLatLngLeitrim,
map: map2,
icon: image,
title: '{TechPlus Leitrim}'
});
// Following Lines are needed if you use the Info Window to display content when map marker is clicked
var infowindowLeitrim = new google.maps.InfoWindow({
content: contentStringLeitrim
});
// Following line turns the marker, into a clickable button and when clicked, opens the info window
google.maps.event.addListener(mapMarkerLeitrim, 'click', function() {
infowindowLeitrim.open(map, mapMarkerLeitrim);
});
// End of Leitrim Marker
// Start of Limerick Map Marker
// Following section, you can create your info window content using html markup
var contentStringLimerick =
'Limerick
'+
'Brian Shanahan
Sales Representative
Tel: 086 812 4746
'
;
// Define the Lattitude and Longitude for the map location
var myLatLngLimerick = new google.maps.LatLng(52.668065, -8.630140); // Limerick
// Define the map marker characteristics
var mapMarkerLimerick = new google.maps.Marker({
position: myLatLngLimerick,
map: map2,
icon: image,
title: '{TechPlus Limerick}'
});
// Following Lines are needed if you use the Info Window to display content when map marker is clicked
var infowindowLimerick = new google.maps.InfoWindow({
content: contentStringLimerick
});
// Following line turns the marker, into a clickable button and when clicked, opens the info window
google.maps.event.addListener(mapMarkerLimerick, 'click', function() {
infowindowLimerick.open(map, mapMarkerLimerick);
});
// End of Limerick Marker
// Start of Longford Map Marker
// Following section, you can create your info window content using html markup
var contentStringLongford =
'Longford
'+
'Hugh Brady
Managing Director
Tel: 086 257 5722
'
;
// Define the Lattitude and Longitude for the map location
var myLatLngLongford = new google.maps.LatLng(53.727777, -7.793887); // Longford
// Define the map marker characteristics
var mapMarkerLongford = new google.maps.Marker({
position: myLatLngLongford,
map: map2,
icon: image,
title: '{TechPlus Longford}'
});
// Following Lines are needed if you use the Info Window to display content when map marker is clicked
var infowindowLongford = new google.maps.InfoWindow({
content: contentStringLongford
});
// Following line turns the marker, into a clickable button and when clicked, opens the info window
google.maps.event.addListener(mapMarkerLongford, 'click', function() {
infowindowLongford.open(map, mapMarkerLongford);
});
// End of Longford Marker
// Start of Louth Map Marker
// Following section, you can create your info window content using html markup
var contentStringLouth =
'Louth
'+
'Hugh Brady
Managing Director
Tel: 086 257 5722
'
;
// Define the Lattitude and Longitude for the map location
var myLatLngLouth = new google.maps.LatLng(54.000444, -6.403317); // Louth
// Define the map marker characteristics
var mapMarkerLouth = new google.maps.Marker({
position: myLatLngLouth,
map: map2,
icon: image,
title: '{TechPlus Louth}'
});
// Following Lines are needed if you use the Info Window to display content when map marker is clicked
var infowindowLouth = new google.maps.InfoWindow({
content: contentStringLouth
});
// Following line turns the marker, into a clickable button and when clicked, opens the info window
google.maps.event.addListener(mapMarkerLouth, 'click', function() {
infowindowLouth.open(map, mapMarkerLouth);
});
// End of Louth Marker
// Start of Mayo Map Marker
// Following section, you can create your info window content using html markup
var contentStringMayo =
'Mayo
'+
'Hugh Brady
Managing Director
Tel: 086 257 5722
'
;
// Define the Lattitude and Longitude for the map location
var myLatLngMayo = new google.maps.LatLng(53.862042, -9.302950); // Mayo
// Define the map marker characteristics
var mapMarkerMayo = new google.maps.Marker({
position: myLatLngMayo,
map: map2,
icon: image,
title: '{TechPlus Mayo}'
});
// Following Lines are needed if you use the Info Window to display content when map marker is clicked
var infowindowMayo = new google.maps.InfoWindow({
content: contentStringMayo
});
// Following line turns the marker, into a clickable button and when clicked, opens the info window
google.maps.event.addListener(mapMarkerMayo, 'click', function() {
infowindowMayo.open(map, mapMarkerMayo);
});
// End of Mayo Marker
// Start of Meath Map Marker
// Following section, you can create your info window content using html markup
var contentStringMeath =
'Meath
'+
'Hugh Brady
Managing Director
Tel: 086 257 5722
'
;
// Define the Lattitude and Longitude for the map location
var myLatLngMeath = new google.maps.LatLng(53.645369, -6.690314); // Meath
// Define the map marker characteristics
var mapMarkerMeath = new google.maps.Marker({
position: myLatLngMeath,
map: map2,
icon: image,
title: '{TechPlus Meath}'
});
// Following Lines are needed if you use the Info Window to display content when map marker is clicked
var infowindowMeath = new google.maps.InfoWindow({
content: contentStringMeath
});
// Following line turns the marker, into a clickable button and when clicked, opens the info window
google.maps.event.addListener(mapMarkerMeath, 'click', function() {
infowindowMeath.open(map, mapMarkerMeath);
});
// End of Meath Marker
// Start of Monaghan Map Marker
// Following section, you can create your info window content using html markup
var contentStringMonaghan =
'Monaghan
'+
'Hugh Brady
Managing Director
Tel: 086 257 5722
'
;
// Define the Lattitude and Longitude for the map location
var myLatLngMonaghan = new google.maps.LatLng(54.249485, -6.968087); // Monaghan
// Define the map marker characteristics
var mapMarkerMonaghan = new google.maps.Marker({
position: myLatLngMonaghan,
map: map2,
icon: image,
title: '{TechPlus Monaghan}'
});
// Following Lines are needed if you use the Info Window to display content when map marker is clicked
var infowindowMonaghan = new google.maps.InfoWindow({
content: contentStringMonaghan
});
// Following line turns the marker, into a clickable button and when clicked, opens the info window
google.maps.event.addListener(mapMarkerMonaghan, 'click', function() {
infowindowMonaghan.open(map, mapMarkerMonaghan);
});
// End of Monaghan Marker
// Start of Offaly Map Marker
// Following section, you can create your info window content using html markup
var contentStringOffaly =
'Offaly
'+
'Hugh Brady
Managing Director
Tel: 086 257 5722
'
;
// Define the Lattitude and Longitude for the map location
var myLatLngOffaly = new google.maps.LatLng(53.275725, -7.505800); // Offaly
// Define the map marker characteristics
var mapMarkerOffaly = new google.maps.Marker({
position: myLatLngOffaly,
map: map2,
icon: image,
title: '{TechPlus Offaly}'
});
// Following Lines are needed if you use the Info Window to display content when map marker is clicked
var infowindowOffaly = new google.maps.InfoWindow({
content: contentStringOffaly
});
// Following line turns the marker, into a clickable button and when clicked, opens the info window
google.maps.event.addListener(mapMarkerOffaly, 'click', function() {
infowindowOffaly.open(map, mapMarkerOffaly);
});
// End of Offaly Marker
// Start of Roscommon Map Marker
// Following section, you can create your info window content using html markup
var contentStringRoscommon =
'Roscommon
'+
'Hugh Brady
Managing Director
Tel: 086 257 5722
'
;
// Define the Lattitude and Longitude for the map location
var myLatLngRoscommon = new google.maps.LatLng(53.630254, -8.178453); // Roscommon
// Define the map marker characteristics
var mapMarkerRoscommon = new google.maps.Marker({
position: myLatLngRoscommon,
map: map2,
icon: image,
title: '{TechPlus Roscommon}'
});
// Following Lines are needed if you use the Info Window to display content when map marker is clicked
var infowindowRoscommon = new google.maps.InfoWindow({
content: contentStringRoscommon
});
// Following line turns the marker, into a clickable button and when clicked, opens the info window
google.maps.event.addListener(mapMarkerRoscommon, 'click', function() {
infowindowRoscommon.open(map, mapMarkerRoscommon);
});
// End of Roscommon Marker
// Start of Sligo Map Marker
// Following section, you can create your info window content using html markup
var contentStringSligo =
'Sligo
'+
'Hugh Brady
Managing Director
Tel: 086 257 5722
'
;
// Define the Lattitude and Longitude for the map location
var myLatLngSligo = new google.maps.LatLng(54.276593, -8.475323); // Sligo
// Define the map marker characteristics
var mapMarkerSligo = new google.maps.Marker({
position: myLatLngSligo,
map: map2,
icon: image,
title: '{TechPlus Sligo}'
});
// Following Lines are needed if you use the Info Window to display content when map marker is clicked
var infowindowSligo = new google.maps.InfoWindow({
content: contentStringSligo
});
// Following line turns the marker, into a clickable button and when clicked, opens the info window
google.maps.event.addListener(mapMarkerSligo, 'click', function() {
infowindowSligo.open(map, mapMarkerSligo);
});
// End of Sligo Marker
// Start of Tipperary Map Marker
// Following section, you can create your info window content using html markup
var contentStringTipperary =
'Tipperary
'+
'Brian Shanahan
Sales Representative
Tel: 086 812 4746
'
;
// Define the Lattitude and Longitude for the map location
var myLatLngTipperary = new google.maps.LatLng(52.514946, -7.890293); // Tipperary
// Define the map marker characteristics
var mapMarkerTipperary = new google.maps.Marker({
position: myLatLngTipperary,
map: map2,
icon: image,
title: '{TechPlus Tipperary}'
});
// Following Lines are needed if you use the Info Window to display content when map marker is clicked
var infowindowTipperary = new google.maps.InfoWindow({
content: contentStringTipperary
});
// Following line turns the marker, into a clickable button and when clicked, opens the info window
google.maps.event.addListener(mapMarkerTipperary, 'click', function() {
infowindowTipperary.open(map, mapMarkerTipperary);
});
// End of Tipperary Marker
// Start of Waterford Map Marker
// Following section, you can create your info window content using html markup
var contentStringWaterford =
'Waterford
'+
'Brian Shanahan
Sales Representative
Tel: 086 812 4746
'
;
// Define the Lattitude and Longitude for the map location
var myLatLngWaterford = new google.maps.LatLng(52.259221, -7.109082); // Waterford
// Define the map marker characteristics
var mapMarkerWaterford = new google.maps.Marker({
position: myLatLngWaterford,
map: map2,
icon: image,
title: '{TechPlus Waterford}'
});
// Following Lines are needed if you use the Info Window to display content when map marker is clicked
var infowindowWaterford = new google.maps.InfoWindow({
content: contentStringWaterford
});
// Following line turns the marker, into a clickable button and when clicked, opens the info window
google.maps.event.addListener(mapMarkerWaterford, 'click', function() {
infowindowWaterford.open(map, mapMarkerWaterford);
});
// End of Waterford Marker
// Start of Westmeath Map Marker
// Following section, you can create your info window content using html markup
var contentStringWestmeath =
'Westmeath
'+
'Hugh Brady
Managing Director
Tel: 086 257 5722
'
;
// Define the Lattitude and Longitude for the map location
var myLatLngWestmeath = new google.maps.LatLng(53.528151, -7.338919); // Westmeath
// Define the map marker characteristics
var mapMarkerWestmeath = new google.maps.Marker({
position: myLatLngWestmeath,
map: map2,
icon: image,
title: '{TechPlus Westmeath}'
});
// Following Lines are needed if you use the Info Window to display content when map marker is clicked
var infowindowWestmeath = new google.maps.InfoWindow({
content: contentStringWestmeath
});
// Following line turns the marker, into a clickable button and when clicked, opens the info window
google.maps.event.addListener(mapMarkerWestmeath, 'click', function() {
infowindowWestmeath.open(map, mapMarkerWestmeath);
});
// End of Westmeath Marker
// Start of Wexford Map Marker
// Following section, you can create your info window content using html markup
var contentStringWexford =
'Wexford
'+
'Brian Shanahan
Sales Representative
Tel: 086 812 4746
'
;
// Define the Lattitude and Longitude for the map location
var myLatLngWexford = new google.maps.LatLng(52.336870, -6.462290); // Wexford
// Define the map marker characteristics
var mapMarkerWexford = new google.maps.Marker({
position: myLatLngWexford,
map: map2,
icon: image,
title: '{TechPlus Wexford}'
});
// Following Lines are needed if you use the Info Window to display content when map marker is clicked
var infowindowWexford = new google.maps.InfoWindow({
content: contentStringWexford
});
// Following line turns the marker, into a clickable button and when clicked, opens the info window
google.maps.event.addListener(mapMarkerWexford, 'click', function() {
infowindowWexford.open(map, mapMarkerWexford);
});
// End of Wexford Marker
// Start of Wicklow Map Marker
// Following section, you can create your info window content using html markup
var contentStringWicklow =
'Wicklow
'+
'Paul Butler
Sales Representative
Tel: 086 254 5518
'
;
// Define the Lattitude and Longitude for the map location
var myLatLngWicklow = new google.maps.LatLng(52.979359, -6.043563); // Wicklow
// Define the map marker characteristics
var mapMarkerWicklow = new google.maps.Marker({
position: myLatLngWicklow,
map: map2,
icon: image,
title: '{TechPlus Wicklow}'
});
// Following Lines are needed if you use the Info Window to display content when map marker is clicked
var infowindowWicklow = new google.maps.InfoWindow({
content: contentStringWicklow
});
// Following line turns the marker, into a clickable button and when clicked, opens the info window
google.maps.event.addListener(mapMarkerWicklow, 'click', function() {
infowindowWicklow.open(map, mapMarkerWicklow);
});
// End of Wicklow Marker
}