My Name is Kay....

DIY , 먹방 , 개발 , 육아 , 여행 좋아합니다.
AdBlock 사용시 화면이 정상적으로 노출되지 않습니다.
포스팅 관련 문의 및 개발 문의는 Email : wkzkfmxksi@gmail.com

추가 포스팅이 이뤄지지 않는 블로그입니다. 문의는 wkzkfmxksi@gmail.com 으로 연락주세요.
rhal1072015.06.05 23:51
주소 값$get_addr 를 받아서 바로 보여주고싶은데...
이렇게 하면될줄알았는데 안되네요 실례가 안된다면 좀갈켜주세요... ㅜㅜ

function initialize() {
var geocoder = new google.maps.Geocoder();
geocoder.geocode( {address:'$get_addr'}, function(results, status) {
if (status == google.maps.GeocoderStatus.OK) {
//var latLng = results[0].geometry.location;
var lat = results[0].geometry.location.lat();
var lng = results[0].geometry.location.lng();
}
});

var myLatlng = new google.maps.LatLng('lat', 'lng');
var myOptions = {
zoom: 14,
center: myLatlng,
mapTypeId: google.maps.MapTypeId.ROADMAP
};
.
.
.
문서 첨부 제한 : 0Byte/ 100.00MB
파일 크기 제한 : 100.00MB (허용 확장자 : *.*)