问题标签 [yahoo-maps]

For questions regarding programming in ECMAScript (JavaScript/JS) and its various dialects/implementations (excluding ActionScript). Note JavaScript is NOT the same as Java! Please include all relevant tags on your question; e.g., [node.js], [jquery], [json], [reactjs], [angular], [ember.js], [vue.js], [typescript], [svelte], etc.

0 投票
2 回答
345 浏览

php - 雅虎地图 api curl 设置

我应该如何配置 cURL 以从 yahoo maps api 检索数据?

这是当前代码

它返回一个 400 - Bad request HTML 文件。我已经检查过了$geocodeurl,它是一个有效的 XML 文件,所以我认为问题一定是 cURL 选项?


$geocodeurl 是

0 投票
2 回答
1384 浏览

google-maps-api-3 - google maps api geocoding

This question is regarding the google Maps API geocoding, I'm able to geocode an address and show the location, but this works when the address is valid.

When it's not valid(there is an error),right now, I'm showing a smart message which says there is an error retrieving the location, but the requirement is to show the nearest possible location to the entered address.

How do I get the marker on next best location?

here's what I've tried:

Split the address, based on commas, and geocode each substring, and get the marker on the 1st match, but this resulted in some huge errors.

What I'm thinking of doing now is:

geocode the zip-code using yahoo maps API, but the only problem is I don't think it will be close to what the user has entered as his address.

Any solutions?

0 投票
1 回答
1153 浏览

geocoding - 雅虎!地点查找器 API

有没有办法获得所有 POI(兴趣点)和 AOI(兴趣区)让我们说一个特定的状态。

我希望能够在有人输入时自动完成,如果它包含任何数据,但我不知道如何获取所有数据的列表。

如果需要的话,我什至会很好地将它存储在我的数据库中,因为我看不到它经常变化。

0 投票
3 回答
6722 浏览

php - 如何使用 PHP 的 API 或 Web 服务使用 Zip 或 Postal Code 在世界各地查找城市和州?

如何使用 PHP 的 API 或 Web 服务从世界各地的邮政编码中查找城市和州?我已经尝试过 Google Maps Ge coder API,它适用于美国和加拿大,但不适用于所有国家的英国和墨西哥。我也为此使用了 Yahoo API,它比 Google 工作得更好,但针对一些邮政编码和邮政编码,它返回来自不同国家的结果。

如果我必须针对美国、英国、加拿大和墨西哥的邮政编码获取城市和州/省,有人知道我可以使用哪个 API 或数据库吗?

0 投票
2 回答
2336 浏览

google-maps - 在地图上绘制 500 个美国城市

我在 MySQL 表中有 500 个美国城市。我有城市名称、州、经度和纬度。我想在美国地图上直观地看到这些城市。

我怎样才能做到这一点?他们有免费的工具吗?谷歌地图或谷歌地球可能吗?

显然,单独绘制每个城市需要很长时间。所以我需要一种快速的方法,要么通过程序,要么将表格导出为电子表格并将其上传到某种生成器中,该生成器将为我进行绘图。

请让我知道你的想法。谢谢。

0 投票
2 回答
616 浏览

javascript - 使用 lat/long 在 Yahoo 地图上显示位置

我有纬度和经度,例如 -25.363882, 131.044922(取自谷歌地图示例)。如何使用经度和纬度在雅虎地图上显示位置?

0 投票
1 回答
1445 浏览

google-maps - 是否有地图 API 可以显示最近的住宅位置?(谷歌地方?)

我有一个移动应用程序,我需要尝试并可以预测地猜测用户站在哪个住宅位置。(不是企业)

我看到了 google places api,但它看起来不像住宅? http://code.google.com/apis/maps/documentation/places/#PlaceSearches

我尝试用 lat an long 在附近搜索,它会找到各种附近的结果,比如公园和学校,但不是住宅区。

我错过了什么吗?有没有什么东西可以让我看到靠近纬度、长点的房屋?

0 投票
1 回答
784 浏览

asp.net-mvc-3 - Yahoo PlaceFinder API 连接问题

我正在尝试使用 Yahoo 的 PlaceFinder API 来获取邮政编码的经度和纬度。在我的本地机器上一切正常,但是当我将它上传到我的生产服务器时,我收到来自 Yahoo 的连接被拒绝错误。我在下面复制了我的代码:

我得到的错误是:无法建立连接,因为目标机器主动拒绝了它。有人对此有任何想法吗?我做了很多搜索,似乎找不到有关此问题的任何信息。我不知道这是否有任何区别,但我的生产服务器是专用的云服务器。任何帮助,将不胜感激。

0 投票
3 回答
1343 浏览

javascript - geolocation yahoo maps api

i'm trying to get coordinates from geolocation for use in my yahoo map.i had run it in firefox, chrome and internet explorer version 12.0, 18.0.1025.168 m and 9.0.8112.16421. In firefox it asks for permission to share my location(i accept), internet explorer it doesn't support geolocation and chrome supports its but not find the location. here is my code

in case of (navigator.geolocation) returns false then it shows corectly the deafault position on the map.This works the same in function(nolocation). My problem is when i get the current location.I had put alert messages under navigator.geolocation.getCurrentPosition(foundlocation,nolocation); and inside function(foundlocation) it never shows the message. any help appreciate..

0 投票
1 回答
243 浏览

google-maps - Web 地图服务中的连续区域

谷歌地图无法计算穿越赤道 - 哥伦比亚边界的路线,而维基百科用户的这项分析显示了它认为相邻的区域。可以在 Yahoo! 中计算路线 从蓬塔阿雷纳斯到马拉开波的地图,但不是到阿拉斯加的地图。

为什么这项服务有这样的限制?对其他网络路由服务的连续区域是否有类似的分析?