I actually am having the same documentation issues, but this might
help you:
latLonController.addMarkerByLatLon('CustomPOIMarker',dp[i].lat,
dp[i].lon,{index:index,title:dp[i].shortName, description:
description, markerColor: Number('0x3366CC'), strokeColor:
Number('0xCEE9FF')});
Basically, it uses the latLonController to add CustomPOIMarker.
Problem is, the response will not give you a reference. I hacked
around it using the title of the marker as an index to the data array.
Hope that helps,
- William
--- In [email protected], "thibs73" <[EMAIL PROTECTED]> wrote:
>
>
> Hi there,
>
> Anyone know if there is a click event for a CustomSWFMarker in yahoo
> Maps? Just like the "onPOIClicked" for POIMarker...why am I not using
> POIMarker? Because it seems that I can only add POI Markers by address
> only. I need to be able to add it by Lat & Lon.
>
> To sum up, I want to add custom makers by Lat & Lon, open a unique
> image when the user clicks on any of them. \
>
> I am having a hard time finding documentation on this.
>
> Any help would be great,
> Thank-you
>