def softbank_location_url_for(options = {})
      url = options
      mode = 'auto'
      if options.is_a?(Hash)
        options = options.symbolize_keys
        mode = options.delete(:mode) || 'auto'
        options[:only_path] = false
        url = url_for(options)
      end
      url.sub!(/\?/, '&')
      "location:#{mode}?url=#{url}"
    end
def softbank_location_url_for(options = {})
      url = options
      mode = 'auto'
      if options.is_a?(Hash)
        options = options.symbolize_keys
        mode = options.delete(:mode) || 'auto'
        options[:only_path] = false
        url = url_for(options)
      end
      url.sub!(/\?/, '&')
      "location:#{mode}?url=#{url}"
    end
Softbank(含むVodafone 3G)で位置情報を取得するためのURLを返す。