On Mar 23, 10:39 am, 747 <[email protected]> wrote: > Hello, i`ve made map with markers, coordinates and description are > getting from georss feed. Default marker color is blue - how can i > change this color to any other?
You can't (at least at this time): http://code.google.com/apis/maps/documentation/javascript/reference.html#KmlLayer You could request an enhancement to KmlLayer to allow overriding the icons with a custom one: http://code.google.com/p/gmaps-api-issues/issues/list?q=apitype%3AJavascript3 I don't think there is any way to specify the icon in a georss feed (I could be wrong), if you can use KML (or translate your GeoRSS to KML), you could specify the icon in the KML itself. -- Larry > > Here is my georss output, and index page. > > index page - map initialize > > function initialize() { > var latlng = new google.maps.LatLng(56.365754,41.314917); > var myOptions = { > zoom: 0, > center: latlng, > mapTypeId: google.maps.MapTypeId.SATELLITE > }; > var map = new > google.maps.Map(document.getElementById("map_canvas"), > myOptions); > > var georssLayer = new google.maps.KmlLayer('generator.php? > 2011-03-23T20:22:09+03:00'); > georssLayer.setMap(map); > > } > > georss entry output > > <entry> > <updated>'.date3339().'</updated> > <content type="html">some text</content> > <georss:point>56.351735 41.312466</georss:point> > <geo:lat>56.351735</geo:lat> > <geo:long>41.312466</geo:long> > </entry> -- 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.
