This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // initMap() - функция инициализации карты | |
| function initMap() { | |
| // Скрываем стандартные метки | |
| directionsDisplay = new google.maps.DirectionsRenderer({suppressMarkers: true}); | |
| // Координаты центра на карте | |
| var centerLatLng = new google.maps.LatLng(52.214321, 24.027835); | |
| // Координаты метки на карте | |
| var point = new google.maps.LatLng(52.214321, 24.027835); | |
| // Обязательные опции с которыми будет проинициализированна карта | |
| var mapOptions = { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // initMap() - функция инициализации карты | |
| function initMap() { | |
| // Координаты центра на карте | |
| var centerLatLng = new google.maps.LatLng(52.086576, 23.704269); | |
| // Координаты метки на карте | |
| var point = new google.maps.LatLng(52.086525, 23.703963); | |
| // Обязательные опции с которыми будет проинициализированна карта | |
| var mapOptions = { | |
| center: centerLatLng, // Координаты центра мы берем из переменной centerLatLng | |
| zoom: 17 // Зум по умолчанию. Возможные значения от 0 до 21 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| function isNumeric(n) { | |
| return !isNaN(parseFloat(n)) && isFinite(n) | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| gulp.task('browser-sync', function () { | |
| browserSync({ | |
| server: { | |
| baseDir: '' | |
| }, | |
| notify: false | |
| }); | |
| }); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <form action=""> | |
| <input type="text" name="Name" placeholder="Name"><br> | |
| <input type="password" name="Password" placeholder="Password"><br> | |
| <input type="checkbox" name="Remember" value="1">Remember me <br> | |
| Your sex<input type="radio" value="Man" name="sex"> Man <input type="radio" value="Women" name="sex"> Woman <br> | |
| <input type="submit" name="Find" value="Find"> | |
| </form> |