Skip to content
social-coding-kr edited this page Jun 26, 2015 · 2 revisions

MapBox

<script src="http://cdnjs.cloudflare.com/ajax/libs/leaflet/0.7.3/leaflet.js"></script> <style> #map { height: 250px; } </style>
<script> var map = L.map('map').setView([37.525, 126.93], 13); L.tileLayer('https://api.tiles.mapbox.com/v4/{id}/{z}/{x}/{y}.png?access_token={accessToken}', { attribution: 'Map data © OpenStreetMap contributors, CC-BY-SA, Imagery © Mapbox', maxZoom: 18, id: 'sky1core.42508f24', accessToken: 'pk.eyJ1Ijoic2t5MWNvcmUiLCJhIjoiMmM4ZmJjOGQyNzNhMWZkMzM4ZjA0Yjg5MTkxNDU2MDgifQ.pgVDjn2i0EJVjxSWPmtppA' }).addTo(map);

var marker = L.marker([37.525, 126.93]).addTo(map); var circle = L.circle([37.523, 126.925], 300, { color: 'red', fillColor: '#f03', fillOpacity: 0.5 }).addTo(map);

var polygon = L.polygon([ [37.52, 126.930], [37.5235, 126.934], [37.518, 126.9315] ]).addTo(map);

marker.bindPopup("Hello world!
I am a popup.").openPopup(); circle.bindPopup("I am a circle."); polygon.bindPopup("I am a polygon."); var popup = L.popup() .setLatLng([37.527, 126.91]) .setContent("I am a standalone popup.") .openOn(map); </script>

개발

  1. 개발준비
  2. [서버 실행을 위한 로컬 세팅 및 실행법] (서버 실행을 위한 로컬 세팅 및 실행법)
  3. Geolocation
  4. [api spec](api spec)
  5. client 개발도구 설치
  6. client 개발도구 사용법
  7. cordova-plugin 설치 및 실행
  8. REST API
  9. AngularJS
  10. Ionic
  11. Android
  12. 데이터 시각화

참고

  1. 마크다운

연습

  1. home
  2. test
  3. 개발준비2_test
  4. AsciiDoc 연습
Clone this wiki locally