Can someone please provide me with a name or contact information for questions
regarding licensing of the batch geocoding api's?
Or... a reference to the original source for geo-coding in use by YMaps.
Regards,
Gaver
Hi,
I am trying to build a "path-plotter" using the Yahoo Maps api 3.8.2.3. More
explicitly, when the user clicks on the map, the javascript application adds a
small customized overlay to indicate the clicked location and link that point to
the previously clicked ones using a polyline drawing function YPolyline. The
problem i am facing is that under one situation (explained below), the line is
not drawn and the following Javascript error is reported:
From FireFox Error Console:
Error: _g is undefined
Source File: http://l.yimg.com/d/lib/map/js/api/ymapapi_3_8_2_3.js
Line: 4
From FireBug Error Console:
_g is undefined
[Break on this error] function YahooMapsAPIAjax(){var
YMapConf...plog");}Exporter();}YahooMapsAPIAjax();\n
The situation this error occurs is when the polyline draw function tries to draw
a line on one of the YPolyline container (implemented as an "SVG Panel" of the
Document's DOM according to the Inspect Element feature of FireBug) that is used
to draw the lines of the polyline. On the other hand, there is no problem when
the clicked point is not on a YPolyline container.
I am hoping that this description makes sense to someone but if anyone can help
and would like clarification i would be more than pleased to give them. I would
like to know if there is a fix ?
Hear from you.
I live in Texarkana , Texas. I live on a street named Quail Ridge
Road..............however, the map shows Quail Ridge Drive ( which is wrong !!
) this messes me up some time when I request something be mailed to my
house........
How can we get that changed from Dr. to Road ?
Please advise, and thank you , love your service.
Hello,
I'd like to know if someone has an idea of the number of mashups built
(exclusively) on the Yahoo Maps API?
I checked programmableweb and there are only 132 mashups so I expect someone has
a more up-to-date list.
Thanks,
Denis
This map worked. This was for V1. Something seems to have happened.
You can log into my map url:
99/20.131/64/login.html
click the first submit button if you want to otherwise I can explain it.
First I have a desktop db that passes an array of addresses, one at a time to
the addaddress() function (see below) in my php script. Its very simple and
should work. It stops on this line in the function and can't get the
contents:
Does the YahooDemo work without an api key? As I said it did before. The
file_get_contents() fails to open the stream.
** $addressData = file_get_contents($apiURL.urlencode($address)); ****
$apiURL =
"http://api.local.yahoo.com/MapsService/V1/geocode?appid=YahooDemo&location=";
The error message for the first index of the address array:
Warning:
file_get_contents(http://api.local.yahoo.com/MapsService/V2/geocode?appid=YahooD\
emo&location=44502+Loneoak%2C+Lancaster%2C+CA%2C+93534)
[function.file-get-contents]: failed to open stream: HTTP request failed!
HTTP/1.1 404 Not Found in /Library/WebServer/Documents/phoogle1.php on line 41
As you can see, it gets the address passed correctly but doesn't open a yahoo
map.
I hope you can please help, I've been working on this for a couple months and I
think it should work. Let me know if you see anything in the file_get_contents
that is wrong or if the YahooDemo needs a key. I would think the demo is for
testing. Thanks, Janis
-----------
function addAddress($address,$htmlMessage=null){
if (!is_string($address)){
die("All Addresses must be passed as a string");
}
var_dump($address);
echo "address"."\n\n"."</br>";
$apiURL =
"http://api.local.yahoo.com/MapsService/V1/geocode?appid=YahooDemo&location=";
// $addressData = file_get_contents($apiURL.urlencode($address)); ??
$addressData = file_get_contents($apiURL.urlencode($address));
$results = $this->xml2array($addressData);
if (empty($results['ResultSet']['Result']['Address'])){
$pointer = count($this->invalidPoints);
$this->invalidPoints[$pointer]['lat']=
$results['ResultSet']['Result']['Latitude'];
$this->invalidPoints[$pointer]['long']=
$results['ResultSet']['Result']['Longitude'];
$this->invalidPoints[$pointer]['passedAddress'] = $address;
$this->invalidPoints[$pointer]['htmlMessage'] = $htmlMessage;
}else{
$pointer = count($this->validPoints);
$this->validPoints[$pointer]['lat']=
$results['ResultSet']['Result']['Latitude'];
$this->validPoints[$pointer]['long']=
$results['ResultSet']['Result']['Longitude'];
$this->validPoints[$pointer]['passedAddress'] = $address;
$this->validPoints[$pointer]['htmlMessage'] = $htmlMessage;
}
}
hi all,
I've seen this asked many times but never answered. If using the simple REST
interface (not AJAX or Flash), where can I find any info regarding the pixel
ratios for the different zoom levels.
The REST api allows for a single red star marker and I need to add one
additional marker. Sort of a "you are here" and this is where you are going
thing, but I don't need turn by turn directions or course plots, just the 2
points marked.
I know lat/lon for both points so can feed one to the API, just looking to
approximate the other one on the returned map.
thanks!
I was wondering where the Yahoo traffic service gets its data from?
I noticed here in the Kansas City area that the Yahoo service was not only
missing a number of active construction zones, but more importantly one of the
big Interstate jobs has the lat/lon some 6 miles off (correct road, wrong county
-- no where near the Interstate).
Who would I need to contact to get these data synced better.
http://maps.modot.mo.gov/travelerinformation/TravelerInformation.aspx
Evan
Hi,
I'm using Yahoo maps Ajax API to display an agent and his existing customers as
markers on the map. I could accomplish this, but I could not find any method to
highlight a specified area around the agent's location (as transparent circle
over the specified radius in the map) so that the user can identify customers
within a specified distance easily.
Please let me know how can I accomplish this using Yagoo maps.
Thanks in advance,
Prabeesh.
Hi,
I'm a newbie here. I've hired a developer to help me with my project. However,
is there a way to do a radius search by City name? The developer keeps insisting
that we do a radius by zip code but I said that's not practical because people
are not familiar with zip code. People are more familiar with city name.
Any help is greatly appreciated.
Thanks,
Darrin
Hi Everybody,
I've joined the correct group, I hope. If not, please tell me which one to join
instead. I'm new to Yahoo groups and to Yahoo map-making.
I need to create an emailable map showing the locations of 15 places that are in
a city in my state. Google Maps displayed a map to point out 10 of the 15
places. To see the names of the other places and where those places were on
the map(s), I needed to click on the word "next" or on a page number. What
steps should I do create a one or two-page map labeling each of those locations?
Thanks so much. I need the map right away.
Bill
Hey all,
I'm just starting to understand how the whole flex api from Yahoo works. I'm
getting along quite well. However, I now came across a problem that I can't seem
to find a solution for.
I can add markers to the map, however, there is no event listener for a marker
to be able to delete them when clicked on. In fact, when I click on the map it
shows me the longitude and latitude. When I click a marker nothing happens, so
they differ from eachother.
How can I, for example, delete the marker when someone clicks on it?
Thanks in advance for the answers.
Hello, I wasn't able to find the answer to this question so I hope it is not
redundant:
I am running a job once a day on ~2000 address records to get their Geocodes.
Everything is going swimmingly until ~360 records are processed. At this point,
the service stops returning coordinates. I get no HTTP error messages or cURL
errors, just no response.
Do I need to sleep the process in-between requests in order to space them out? I
am aware of the 5000 per day limit.
What permission or licensing do I need to use the traffic web service APIs with
an existing non-yahoo mapping application? This is for a local government
internal use only (not commercial nor public access)
Thanks
I'm getting reports that Markers are not being displayed on Macs (regardless of
browser) after upgrading to the latest version of Flash.
The current script, 3.5.2, is pretty old, and I can't get to this info from the
main Map API page.
Also, the forum for this API is full of nothing but spam:
http://tech.groups.yahoo.com/group/yws-maps-flash/
Has this access method been deprecated?
the older 3.5.x for AS2 component has been depricated.. I thought it was
still to be maintained..just not expanded on..
I had many Flash API versiosn working..but they are all hit or miss now..
tiles load..sometimes not..
traffic is a beast.. and on and on..
_____
From: yws-maps@yahoogroups.com [mailto:yws-maps@yahoogroups.com] On Behalf
Of eclecticdan
Sent: Tuesday, November 10, 2009 12:14 PM
To: yws-maps@yahoogroups.com
Subject: [yws-maps] Yahoo! Maps JS-Flash API Markers not visible
I'm getting reports that Markers are not being displayed on Macs (regardless
of browser) after upgrading to the latest version of Flash.
The current script, 3.5.2, is pretty old, and I can't get to this info from
the main Map API page.
Also, the forum for this API is full of nothing but spam:
http://tech.groups.yahoo.com/group/yws-maps-flash/
Has this access method been deprecated?
[Non-text portions of this message have been removed]
Hi
Just wanted to check if there is a RESTful API available for Reverse
Geocoding..I am able to see RESTful services for getting a map image and
Geocoding but there doesn't seem to be any for Reverse Geocoding.. Can anyone
please confirm ??
Thanks
Kannappan
Does Yahoo offer a fee-based program for organizations that wish to make more
than 5,000 requests/day? I'm anticipating that most days we'll be well below the
5,000 mark, but occasionally we'll need to make up to several
hundreds-of-thousands of requests in one day.
Any other resources that people could suggest for this type of usage?
Hi all,
I am unable to find an example which calculates the distance b/w 2 given address
using yahoo map api :
Example:
From : newbury, boston, MA, US
To : LaGuardia Airport, NY, US
I do not want to show a map on the web page,but i need the api so that i can
call it by passing the above two addresses.
I use php and javascript for getting the address. Now with the from and to
address in my javascript variables, i want to get the distance b/w them.
Can any one guide me to the correct location?
Thanks,
Sundar
Hello
I have a doubt.
How I can get an postal address by a coordinate: longitude and latitude; using a
URL, for example:
http://yahooapis.com/SEVICE?appid=miID&latitude=19.4325&longitude=-19.1340
and to receive a XML (or another format), for example:
<?xml version="1.0" encoding="utf-8" ?>
<address>Plaza de la constitucion, Distrito Federal, Mexico</address>
Thanks.
Hi,
Would there be any chance of increasing the maximum zoom level on the API?
At present it goes up to 1 (API number - equates to 17 in the tile URL I think),
but YMaps have some good aerial imagery beyond that - it'd be great to have
access to that. I'm using the AS3 API.
cheers
Richard
I've noticed that it's possible to use a YSize() object to define how large the
type control (i.e., regular, satellite, hybrid) button appear on a map.
Is a similar thing possible for the YMap.addPanControl() and YMap.addZoomLong()
methods?