Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function initMap() {
- var image = 'common/img/img-map-pin.png';
- var center = {
- lat: 35.136249,
- lng: 138.912401
- };
- var map = new google.maps.Map(document.getElementById('map'), {
- zoom: 13,
- center: center,
- });
- new google.maps.Marker({
- position: center,
- map: map,
- icon: image
- });
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement