구글맵 api 편리하기 사용가능하게 해주는 gmaps.js
페이지 정보
작성자 MintState 댓글 0건 조회 11,883회 작성일 13-03-04 09:44본문
구글맵 api 편리하기 사용가능하게 해주는 gmaps.js
 
http://hpneo.github.com/gmaps/
gmaps.js allows you to use the potential of Google Maps in a simple way.
No more extensive documentation or large amount of code.
가장쉽게 구글 맵을 적용시킬수 있습니다.
아래 주소로 접속하셔서 샘플을 보신후 자신의 홈페이지에 적용하세요
http://hpneo.github.com/gmaps/examples.html
        
        http://hpneo.github.com/gmaps/
gmaps.js allows you to use the potential of Google Maps in a simple way.
No more extensive documentation or large amount of code.
가장쉽게 구글 맵을 적용시킬수 있습니다.
<script type="text/javascript">
var map;
$(document).ready(function(){
	map = new GMaps({
		div: '#map',
		lat: -12.043333,
		lng: -77.028333
	});
	GMaps.geolocate({
		success: function(position){
			map.setCenter(position.coords.latitude, position.coords.longitude);
		},
		error: function(error){
			alert('Geolocation failed: '+error.message);
		},
		not_supported: function(){
			alert("Your browser does not support geolocation");
		},
		always: function(){
			alert("Done!");
		}
	});
});
</script>
아래 주소로 접속하셔서 샘플을 보신후 자신의 홈페이지에 적용하세요
http://hpneo.github.com/gmaps/examples.html
|  | 
댓글목록
등록된 댓글이 없습니다.





 구글맵 api 편리하기 사용가능하게 해주는 gmaps.js
  구글맵 api 편리하기 사용가능하게 해주는 gmaps.js

