Google Maps API V3 绘图地址
有谁知道任何“解决方法”能够使用地址绘制标记?我们正在使用地理编码,但我们已经达到了限制,并且真的不想增加存储地址或邮政编码的经纬度所需的开销。
建议?
#default lat long
latlng = new google.maps.LatLng(37.662285,-77.57600)
map = new google.maps.Map("#my_Map", {zoom:12, center:latlng, mapTypeId: google.maps.MapTypeId.ROADMAP})
marker = new google.maps.Marker({
map: map,
position: "Richmond, VA" ,
title: "Some title",
});
map.setCenter("Richmond, VA")
Does any one know any "work arounds" to be able to plot a marker using an address? We were using geocoding but we have hit limits, and don't really want to add the overhead that is required to store the lat long for an address or zip.
Suggestions?
#default lat long
latlng = new google.maps.LatLng(37.662285,-77.57600)
map = new google.maps.Map("#my_Map", {zoom:12, center:latlng, mapTypeId: google.maps.MapTypeId.ROADMAP})
marker = new google.maps.Marker({
map: map,
position: "Richmond, VA" ,
title: "Some title",
});
map.setCenter("Richmond, VA")
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
好吧,你可能没问题... Google 地理编码服务的限制是每个 IP 地址每天 2500 个地理编码。
这意味着如果您在客户端渲染地理编码,则无需购买 Premier 许可证。
这完全取决于您正在构建的应用程序以及您如何使用这些地理编码。
Well you may be okay... Limits to the Google geocoding service are 2500 geocodes per day per ip address.
That means if you're rendering the geocodes client side, you won't need to purchase a Premier license.
It all depends on the app you're building and how you're using these geocodes.
您可以使用 yahoo placefinder,它的 API 限制为每天 50.000 次查询。如果你有更多也许最好缓存它们?
http://developer.yahoo.com/geo/placefinder/
You can use the yahoo placefinder, it has an API limit of 50.000 queries a day. If you have more perhaps it's better to cache them?
http://developer.yahoo.com/geo/placefinder/