这样的http://polymaps.appspot.com/state/{z}/{x}/{y}.jsonurl路由怎么写
发布于 11 年前 作者 lzxue 3427 次预览 最后一次回复是 11 年前 来自 问答
向这样的url该怎么写:http://polymaps.appspot.com/state/{z}/{x}/{y}.json z、x、y为参数 只会写前面: http://polymaps.appspot.com/state/:z/:x/:y后面的.json该怎么写?
1 回复
拿到 :y 再判断一下后缀。