This is a question about the GMaps API,  nothing to do with Rails.

http://code.google.com/apis/maps/documentation/overlays.html#Custom_Icons
http://groups.google.com/group/Google-Maps-API

On Fri, Feb 20, 2009 at 5:19 AM, Vrishali.... <[email protected]> wrote:

>
> Hi!!!!!!!!!!
>
>
> I am working on google map mashup. I tried to display the markers for
> four locations and its getting displayed.
> But these markers's image is default image by google. (balloon shaped
> image)
> Now i want to put my own image as marker,
> So can anybody plz tell me how it can be done?????????
>
>
> The code i follow for creating marker is,
>
>  function createMarker(point,html) {
>            var marker = new GMarker(point);
>            GEvent.addListener(marker, "click", function() {
>             marker.openInfoWindowHtml(html);
>             });
>            return marker;
>        }
>
>
> Please Help Me!!!!
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" 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/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to