반응형
Recent Posts
Recent Comments
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | 5 | 6 | 7 |
8 | 9 | 10 | 11 | 12 | 13 | 14 |
15 | 16 | 17 | 18 | 19 | 20 | 21 |
22 | 23 | 24 | 25 | 26 | 27 | 28 |
29 | 30 | 31 |
Tags
- 함수
- IfWinExist
- autohotkey
- ControlGetText
- DetectHiddenWindows
- EnvSet
- SetControlDelay
- if
- EnvMult
- SetTitleMatchMode
- API
- StringGetPos
- 식
- EnvSub
- if(식)
- MouseClick
- ControlSend
- SetMouseDelay
- IF (식)
- Menu
- Var:=식
- 식의 설명
- Threads
- SetEnv
- IfInString
- 배열
- SetKeyDelay
- EnvAdd
- Blocks
- EnvDiv
Archives
- Today
- Total
ㄴrㅎnㅂrㄹrㄱi
Google AJAX Search API 본문
반응형
http://www.google.com/uds/solutions/localsearch/reference.html
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="content-type" content="text/html; charset=utf-8"/> <title>Local Search Control for Google Maps - default.html</title> <script src="http://maps.google.com/maps?file=api&v=2&key=YOUR-KEY" type="text/javascript"></script> <script src="http://www.google.com/uds/api?file=uds.js&v=1.0&key=YOUR-KEY" type="text/javascript"></script> <script src="http://www.google.com/uds/solutions/localsearch/gmlocalsearch.js" type="text/javascript"></script> <style type="text/css"> @import url("http://www.google.com/uds/css/gsearch.css"); @import url("http://www.google.com/uds/solutions/localsearch/gmlocalsearch.css"); #map { border : 1px solid #979797; width : 100%; height : 600px; } </style> <script type="text/javascript"> //<![CDATA[ function load() { if (GBrowserIsCompatible()) { // Create and Center a Map var map = new GMap2(document.getElementById("map")); map.setCenter(new GLatLng(37.4419, -122.1419), 13); map.addControl(new GLargeMapControl()); map.addControl(new GMapTypeControl()); // bind a search control to the map, suppress result list map.addControl(new google.maps.LocalSearch()); } } GSearch.setOnLoadCallback(load); //]]> </script> </head> <body onunload="GUnload()"> <div id="map"></div> </body> </html>
반응형
Comments