YesYo.com MintState Forums
뒤로    YesYo.com MintState BBS > Tech > Ajax & Issue
검색
멤버이름    오토
비밀번호 
 

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

페이지 정보

작성자 MintState 댓글 0건 조회 10,873회 작성일 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.

가장쉽게 구글 맵을 적용시킬수 있습니다.

<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
첨부 파일
파일 종류: png gmaps.png (250.4K, 55 views)
파일 종류: js gmaps.js (56.2K, 8 views)

댓글목록

등록된 댓글이 없습니다.

Total 32건 1 페이지
Ajax & Issue 목록
번호 제목 글쓴이 조회 날짜
32 MintState 8559 02-02
31 MintState 9201 05-30
열람중 MintState 10874 03-04
29 MintState 12104 03-21
28 MintState 11915 11-25
27 MintState 16593 09-19
26 MintState 13234 06-23
25 MintState 10655 06-01
24 MintState 15328 06-01
23 MintState 11396 06-01
22 MintState 13036 04-18
21 MintState 11612 02-21
20 MintState 15602 07-13
19 MintState 15456 07-02
18 MintState 12448 01-19
17 MintState 17202 01-19
16 MintState 15635 08-27
15 MintState 15081 08-27
14 MintState 15543 07-07
13
Google Maps API 댓글+ 1
MintState 21114 03-18
게시물 검색
모바일 버전으로 보기
CopyRight ©2004 - 2024, YesYo.com MintState. ™