mapa

/**
* Render map on page
**/
render: function() {

this.positions.wysoka = new google.maps.LatLng(53.182205, 17.076842);
this.positions.bydgoszcz = new google.maps.LatLng(53.126586, 18.02865);

this.map = new google.maps.Map(document.getElementById(“map_canvas”), {
scaleControl: false,
zoom: 15,
center: this.positions.wysoka,
mapTypeId: google.maps.MapTypeId.ROADMAP,
streetViewControl: false,
mapTypeControlOptions: {
mapTypeIds: [
google.maps.MapTypeId.ROADMAP,
google.maps.MapTypeId.HYBRID
] }
});

this.goToPositionButton(
MyUI.maps.positions.wysoka,
‘BreTerm Wysoka’,
‘Pokaż adres siedziby BreTerm w Wysokiej’,
MyUI.maps.setHomeWysoka
);

this.goToPositionButton(
MyUI.maps.positions.bydgoszcz,
‘BreTerm Bydgoszcz’,
‘Pokaż adres siedziby BreTerm w Bydgoszczy’,
MyUI.maps.setHomeBydgoszcz
);

this.addMarkers(
MyUI.maps.positions.wysoka,
this.descriptions.wysoka,
‘BreTerm’
);

this.addMarkers(
MyUI.maps.positions.bydgoszcz,
this.descriptions.bydgoszcz,
‘BreTerm’
);

},