[include(틀:지도)]에서 장소에 좌표 또는 위치 이름을, 너비와 높이에 각각 크기를 넘겨주면 됩니다. 너비와 높이를 입력하지 않으면 300px × 150px의 크기로 생성됩니다.
[include(틀:지도, 장소=37.586484%2C126.974940)] |
<iframe width="" height="" frameborder="0" style="border:0px; display:inline-block; width:auto; height:auto; max-width:; min-width:; max-height:; min-height:; border:none;" src="https://www.google.com/maps/embed/v1/place?q=37.586484%2C126.974940&key=AIzaSyCwJVbH8ZCJOQ1mvr_qVLBhZ1QL-zhguT4®ion=KR&maptype=roadmap" allowfullscreen></iframe> |
좌표 대신 주소나 장소를 넣어도 됩니다.
(1) 축척을 조정하려면 장소명 뒤에 '&zoom=숫자'를 넣으면 됩니다. 숫자가 커질수록 축척이 작아집니다.(지도 확대)
[include(틀:지도, 장소=서울특별시 용산구 한강대로 405, 너비=500px, 높이=281px)] |
<iframe width="500px" height="281px" frameborder="0" style="border:0px; display:inline-block; width:auto; height:auto; max-width:500px; min-width:500px; max-height:281px; min-height:281px; border:none;" src="https://www.google.com/maps/embed/v1/place?q=서울특별시 용산구 한강대로 405&key=AIzaSyCwJVbH8ZCJOQ1mvr_qVLBhZ1QL-zhguT4®ion=KR&maptype=roadmap" allowfullscreen></iframe> |
[include(틀:지도, 장소=서울특별시청, 너비=500px, 높이=281px)] |
<iframe width="500px" height="281px" frameborder="0" style="border:0px; display:inline-block; width:auto; height:auto; max-width:500px; min-width:500px; max-height:281px; min-height:281px; border:none;" src="https://www.google.com/maps/embed/v1/place?q=서울특별시청&key=AIzaSyCwJVbH8ZCJOQ1mvr_qVLBhZ1QL-zhguT4®ion=KR&maptype=roadmap" allowfullscreen></iframe> |
위성사진으로도 볼 수 있습니다. 타입=satellite를 이용하면 보여줍니다. 다만, 일정 범위 이상으로 확대하면 제대로 표시되지 않을 수 있습니다.
[include(틀:지도, 장소=서울특별시 용산구, 너비=500px, 높이=281px, 타입=satellite)] |
<iframe width="500px" height="281px" frameborder="0" style="border:0px; display:inline-block; width:auto; height:auto; max-width:500px; min-width:500px; max-height:281px; min-height:281px; border:none;" src="https://www.google.com/maps/embed/v1/place?q=서울특별시 용산구&key=AIzaSyCwJVbH8ZCJOQ1mvr_qVLBhZ1QL-zhguT4®ion=KR&maptype=satellite" allowfullscreen></iframe> |