This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var MapContainer = $('#map_canvas_default').mcMap(); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<script type="text/javascript" src="//ajax.googleapis.com/ajax/libs/jquery/1.9.1/jquery.min.js"></script> | |
<script type="text/javascript" src="http://maps.google.com/maps/api/js?sensor=false"></script> | |
<script type="text/javascript" src="jquery.mcmap.js"></script> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<div id="map_canvas_polyline"></div> | |
<button class="polyline" data-key="折線2">折線2</button> | |
<script> | |
var MapContainerPolyline = $('#map_canvas_polyline').mcMap({ | |
center: { // 中心點位置 | |
x: '25.040893', | |
y: '121.515827' | |
}, | |
polyline : |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<div id="map_canvas_route"></div> | |
<button class="route" data-key="路徑1"> 路徑1</button> | |
<button class="route_marker" data-key="路徑1">路徑1:標記</button> | |
<script> | |
var MapContainerRoute = $('#map_canvas_route').mcMap({ | |
center: { // 中心點位置 | |
x: '25.040893', | |
y: '121.515827' | |
}, | |
// 路徑群組 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<div id="map_canvas_add"></div> | |
<button class="add_polyline" data-key="加入的折線">加入折線</button> | |
<button class="add_polyline_display" data-key="加入的折線">控制加入折線</button> | |
<button class="add_marker" data-key="加入的標記">加入標記</button> | |
<button class="add_marker_display" data-key="加入的標記">控制加入標記</button> | |
<button class="add_route" data-key="加入的路徑">加入路徑</button> | |
<button class="add_route_display" data-key="加入的路徑">控制加入路徑</button> | |
<button class="add_route_marker_display" data-key="加入的路徑">控制加入路徑標記</button> | |
<script> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<div id="map_canvas_add"></div> | |
<button class="polyline_full" data-key="折線1">折線1</button> | |
<button class="polyline_full" data-key="折線2">折線2</button> | |
<button class="marker_full" data-key="標記1">標記1</button> | |
<button class="marker_full" data-key="標記2">標記2</button> | |
<button class="route_full" data-key="路徑1">路徑1</button> | |
<button class="route_marker_full" data-key="路徑1">路徑1:標記</button> | |
<button class="route_full" data-key="路徑2">路徑2</button> | |
<button class="route_marker_full" data-key="路徑2">路徑2:標記</button> | |
<script> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!-- 程式:沒有參數--> | |
<%= form_tag do %> | |
表單資料 | |
<% end %> | |
<!-- 輸出 --> | |
<form accept-charset="UTF-8" action="/" method="post"> | |
<div style="margin:0;padding:0;display:inline"> | |
<input name="utf8" type="hidden" value="✓" /> | |
<input name="authenticity_token" type="hidden" value="s1h4sM75vOxLx25I7R9Y0jXlpV+8LsA5Kpp+l2GcLkg=" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!-- 程式 --> | |
<%= label_tag(:q, "欄位名稱") %> | |
<!-- 輸出 --> | |
<label for="q">欄位名稱</label> | |
<!------------------ 強大的分隔線 ------------------> | |
<!-- 程式 --> | |
<%= text_field_tag(:q , "輸入搜尋的關鍵字" ) %> | |
<!-- 輸出 --> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!-- 程式 --> | |
<%=form_tag( "user/kejyun", :method=>"put",) do %> | |
<!-- 輸出 --> | |
<form accept-charset="UTF-8" action="user/kejyun" method="post"> | |
<div style="margin:0;padding:0;display:inline"> | |
<input name="utf8" type="hidden" value="✓"> | |
<input name="_method" type="hidden" value="put"> | |
<input name="authenticity_token" type="hidden" value="mGtUivWdNKpvf9nRu7Seb9AZi8dI/9ivvsQ/AdDpnIo="> | |
</div> | |
</form> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
kejyun@kejyun-VirtualBox:~$ composer.phar | |
______ | |
/ ____/___ ____ ___ ____ ____ ________ _____ | |
/ / / __ \/ __ `__ \/ __ \/ __ \/ ___/ _ \/ ___/ | |
/ /___/ /_/ / / / / / / /_/ / /_/ (__ ) __/ / | |
\____/\____/_/ /_/ /_/ .___/\____/____/\___/_/ | |
/_/ | |
Composer version f0327caaa14092bd9f81044c87d0ebdd4c32c156 | |
Usage: |