Ya changed it after i sent the email and got it to work thanks for all
input everyone.

On Mar 26, 5:29 pm, "[email protected]" <[email protected]>
wrote:
> On Mar 26, 5:25 pm, Krs Lab <[email protected]> wrote:
>
>
>
> > I added the code here
>
> > function createMarker(point, name, address) {
>
> >  var myIcon = new GIcon(G_DEFAULT_ICON);
> >         myIcon.image = "my_custom_icon.png";
> >         myIcon.iconSize = new GSize(29, 31);
> >         myIcon.shadow = "my_custom_icon_shadow.png";
> >         myIcon.shadowSize = new GSize(42, 31);
> >         myIcon.iconAnchor = new GPoint(10, 29);
> >         myIcon.infoWindowAnchor = new GPoint(10, 14);
> >         myIcon.transparent = "my_custom_icon_transparent.png";
> >         var markerOptions = {icon:myIcon };
>
> >    var marker = new GMarker(point, markerOptions);
> >       var html = '<b>' + name + '</b> <br/>' + address;
> >       GEvent.addListener(marker, 'click', function() {
> >         marker.openInfoWindowHtml(html);
> >       });
> >       return marker;
> >     }
>
> > but still not working put it on a different link why i try to get it to work
> > heres the link
>
> http://www.skylabcs.com/store_locator/icon_an_store_locator.html
> Why do you think it doesn't work?
> I see yourcustomicon
> (I did a search for "nebraska" with a radius of 200 miles and it found
> one location which has thecustomicon...)
>
>   -- Larry
>
>
>
> > On Thu, Mar 26, 2009 at 5:17 PM, [email protected]
> > <[email protected]>wrote:
>
> > > On Mar 26, 4:51 pm, "[email protected]" <[email protected]> wrote:
> > > > Im trying to usecustomicons on my map i got it working on a simple
> > > > map shown herehttp://www.skylabcs.com/store_locator/customicon_end.html
> > > > but i cant get it to work on my store locator here
>
> > >http://www.skylabcs.com/store_locator/an_store_locator.html
>
> > > > were do i put the code on the store locator script.
>
> > > I would put theicondefinition code in the global scope.
>
> > > Then add it to the line where you create your markers (inside your
> > > createMarker function):
> > >      var marker = new GMarker(point, markerOptions);
>
> > > You can put the definition of makerOptions in either place.
>
> > >   -- Larry- Hide quoted text -
>
> > - Show quoted text -
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google Maps API" 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-API?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to