Enhancement(機能追加・改善) #3775 » 0005-It-is-made-to-correspond-to-the-satellite-view-refs-.patch
web/cmd/maps.google.co.jp.js | ||
---|---|---|
function main(id, googlemapsUrl) {
|
||
var param = { lon: 0, lat: 0, z: 15, t: '', q: '' };
|
||
var result = id.match(/@([0-9\.]+),([0-9\.]+),([0-9]+z)/);
|
||
var result = id.match(/@([0-9\.]+),([0-9\.]+),([0-9]+z)(\/data=!3m1!1e3)?/);
|
||
if (result) {
|
||
param.lon = result[1];
|
||
param.lat = result[2];
|
||
param.z = result[3];
|
||
if (result[4]) {
|
||
param.t = 'k';
|
||
}
|
||
} else {
|
||
var query = id.split('&');
|
||
for(i = 0; i < query.length; i++) {
|