|
@@ -249,12 +249,10 @@ export default {
|
|
if (!xyz) {
|
|
if (!xyz) {
|
|
return ''
|
|
return ''
|
|
}
|
|
}
|
|
- console.log("xyz:", xyz)
|
|
|
|
var z = xyz[0]
|
|
var z = xyz[0]
|
|
var x = xyz[1]
|
|
var x = xyz[1]
|
|
var y = xyz[2]
|
|
var y = xyz[2]
|
|
y = Math.pow(2, z) - 1 - y
|
|
y = Math.pow(2, z) - 1 - y
|
|
- console.log(x,y,z)
|
|
|
|
return "http://rt1.map.gtimg.com/realtimerender?z="
|
|
return "http://rt1.map.gtimg.com/realtimerender?z="
|
|
+ z + "&x=" + x + "&y=" + y +
|
|
+ z + "&x=" + x + "&y=" + y +
|
|
"&type=vector&style=0"
|
|
"&type=vector&style=0"
|