注册:重新进行地址解析 [英] Reg: Geocoding respone
问题描述
大家好,
我有一个Web应用程序,其中有一个页面,可用于在网格中显示客户详细信息.顾客详细信息包含姓名,地址等...
在网格中,我为每一行添加了一个选择复选框.如果我们选择多个记录并单击下一步按钮(asp按钮),那么我需要查询Google地图以获取客户地址的详细信息(包括纬度和经度).
这是我需要发送的请求的示例:
http://maps.google.com/maps/geo?q=1600+Amphitheatre+Parkway,+Mountain+View,+CA&output=json&sensor=true_or_false&key=your_api_key
我遇到的问题是,我想绕过Google的限制,即来自服务器IP地址的15000个请求的限制.我正在尝试使用javascript来实现这一目标.我在一个单独的应用程序中创建了一个名为GeoCoding.aspx的页面,在该应用程序中,我使用jquery通过getJSON方法获取响应.我已经用javascript中的aspx文件编写了代码.
因此,我需要从我的应用程序中的页面(customerdetails.aspx)访问此响应.因此,如何从该页面(Geocoding.aspx)获得响应,该页面是用客户端编写的代码.
我的流程需要
customerdetails.aspx-> GeoCoding.aspx-> Google-> GeoCoding.aspx-> customerdetails.aspx
单独Geocoding.aspx已完成.
如何将customerdetails.aspx中的请求(地址等)发送到GeoCoding.aspx,反之亦然.
在每个记录中都有地址之后,我需要在按钮单击上面进行此操作.
那我该怎么办呢?
谢谢与问候
satiish kumar
Hi all,
I have a web application in which I have a page which I use to display customer details in a grid. Cutomer details contains name, address, etc...
In the grid, for every row I have added a selection checkbox. If we select multiple records and click next button(asp button ), then I need to query Google maps for details of the customer address (including the latitude and longitude).
Here''s a sample of the request I need to send:
http://maps.google.com/maps/geo?q=1600+Amphitheatre+Parkway,+Mountain+View,+CA&output=json&sensor=true_or_false&key=your_api_key
The problem that I have is that I want to circumvent Google''s limitation where there is a limitation of 15000 requests from the server IP address. I''m trying to achieve this using javascript. I have created a page named GeoCoding.aspx in a separate application where I am getting response with getJSON method by using jquery. I have written code in aspx file in javascript.
So I need to access this response from my page(customerdetails.aspx) in my application. So how can i get response from that page(Geocoding.aspx), code written in client side.
My flow needs
customerdetails.aspx-->GeoCoding.aspx-->Google-->GeoCoding.aspx-->customerdetails.aspx
Alone Geocoding.aspx is completed.
How can i send request(address and etc) from customerdetails.aspx to GeoCoding.aspx and reponse viceversa.
This i need to did above in button click, after got address in every record.
So how can i proceed?
Thanks & Regards
satiish kumar
推荐答案
我的问题是我想绕过Google的限制,即服务器IP地址的请求限制为15000.
The problem that I have is that I want to circumvent Google''s limitation where there is a limitation of 15000 requests from the server IP address.
换句话说,您希望我们能帮助您解决Google安全问题吗?我不这么认为.
如果我没记错的话,那是一个局限性,迫使人们继续使用他们的付费服务,这反过来又为我们其余的人支付了Google地图的费用.如果您有那么多用户,请付费.
In other words, you''re hoping that we can help you get around Google security ? I don''t think so.
If I remember correctly, that''s a limitation which pushes people on to their paid service, which in turn pays for google maps for the rest of us. Pay up if you have that many users.
这篇关于注册:重新进行地址解析的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!