You can add your own event listener and build your own infowindow with
linkified text.
google.maps.event.addListener(geoRssLayer, 'click', function(event) {
....});
Regards,
James
On Wed, Jan 12, 2011 at 3:32 AM, pezholio <[email protected]> wrote:
> Hi,
>
> I've been using the Google Maps API for some time now and have
> recently started migrating to v3. However, I'm having some issues
> loading a GeoRSS file into a map - once upon a time in version 2 of
> the API when a user clicked on a marker, the title of the item would
> be a link, linking to the <link> portion of the GeoRSS feed. This now
> doesn't seem to be the case (even on the Google Maps website). Any
> ideas why? And is there any way to combat this?
>
> Here's my code:
>
> function initialize() {
> var myLatlng = new google.maps.LatLng(52.519288, -1.99987);
> var myOptions = {
> zoom: 4,
> center: myLatlng,
> mapTypeId: google.maps.MapTypeId.ROADMAP
> }
>
> var map = new google.maps.Map(document.getElementById("map_canvas"),
> myOptions);
>
> var georssLayer = new google.maps.KmlLayer('http://
> www.twitterplan.co.uk/georss.php?council=sandwell&limit=20');
> georssLayer.setMap(map);
> }
>
> --
> You received this message because you are subscribed to the Google Groups
> "Google Maps JavaScript API v3" group.
> To post to this group, send email to
> [email protected].
> To unsubscribe from this group, send email to
> [email protected]<google-maps-js-api-v3%[email protected]>
> .
> For more options, visit this group at
> http://groups.google.com/group/google-maps-js-api-v3?hl=en.
>
>
--
You received this message because you are subscribed to the Google Groups
"Google Maps JavaScript API v3" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/google-maps-js-api-v3?hl=en.