**Notice, I had a typo in my last message and wound up removing it to
avoid leaving a bad snippet up.**
My earliest solution of using the private property broke with the most
recent update to the API. Mainly, I was hoping that since url is a
keyword arg for MarkerImage that there would be a getter (or a public
property) for MarkerImage.url--I'm using markers in bounds to show a
list of icons and titles.
I'm probably just splitting hairs on performance, but I feel odd using
a RegExp for this sort of problem.
In case someone else needs to get this property, here is the solution
I settled on:
google.maps.MarkerImage.prototype.getUrl = function(){
var re = /\.png|\.jpg|\.gif/;
for(var p in this){
if(re.test(this[p])){
return this[p];
}
}
return
}
Thanks for your attention.
> >
google-maps-js-a...@googlegroups.com<google-maps-js-api-v3%2B
unsub...@googlegroups.com>
> > .