Changeset 37250 for platform/tdiary/plugin/image_gps.rb
- Timestamp:
- 04/21/10 22:07:46 (3 years ago)
- Files:
-
- 1 modified
-
platform/tdiary/plugin/image_gps.rb (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
platform/tdiary/plugin/image_gps.rb
r33700 r37250 1 # -*- coding: utf-8 -*- 1 2 # image_gps.rb $Revision: 1.7 $ 2 3 # … … 7 8 # 絵日記Plugin(image.rb)とおなじ 8 9 # 9 # Copyright (c) 2004,20 05kp <kp@mmho.no-ip.org>10 # Copyright (c) 2004,2010 kp <kp@mmho.no-ip.org> 10 11 # Distributed under the GPL 11 12 # 12 13 13 14 =begin ChangeLog 15 2010-04-21 kp 16 * リンク先をgoogleに統一 14 17 2009-06-01 kp 15 18 * モバイルモード時も世界測地系とする … … 67 70 end 68 71 69 eznavi = 'http://walk.eznavi.jp'70 google= 'http://maps.google.co.jp'72 #m_map = 'http://m.google.com/maps' 73 map = 'http://maps.google.co.jp' 71 74 72 75 exif = ExifParser.new("#{@image_dir}/#{image}".untaint) rescue nil … … 104 107 else 105 108 if @conf.mobile_agent? 106 url = %Q[<a href="#{ eznavi}/map?datum=0&unit=0&lat=+#{lat}&lon=+#{lon}">]109 url = %Q[<a href="#{map}/maps/m?q=#{lat},#{lon}">] 107 110 else 108 url = %Q[<a href="#{ google}/maps?q=#{lat},#{lon}">]111 url = %Q[<a href="#{map}/maps?q=#{lat},#{lon}">] 109 112 end 110 113 url += %Q[<img class="#{place}" src="#{@image_url}/#{image}" alt="#{alt}" title="#{alt}" #{size}></a>]
![(please configure the [header_logo] section in trac.ini)](/share/chrome/site/your_project_logo.png)