Adding a border to marker icon

1,418 views
Skip to first unread message

pec76

unread,
Oct 25, 2011, 3:10:01 AM10/25/11
to Google Maps JavaScript API v3
Hello,

It's possible to add a border to my custom marker icon (I cannot use a
shadow icon ... each marker is different)?

via CSS property border ?

Thanks, Rick
Message has been deleted

pec76

unread,
Nov 4, 2011, 8:47:39 AM11/4/11
to Google Maps JavaScript API v3
Not possible ?

geoco...@gmail.com

unread,
Nov 4, 2011, 8:58:45 AM11/4/11
to Google Maps JavaScript API v3
On Nov 4, 5:47 am, pec76 <pell...@gmail.com> wrote:
> > It's possible to add a border to my custom marker icon (I cannot use a
> > shadow icon ... each marker is different)?
> Not possible ?

Anything is possible; just perhaps not easy or legal.

> > via CSS property border ?

What have you tried? I don't know about using css, but if you have a
custom icon, you can do whatever you want to it with an image editor.

I would think if you wanted to do it with css, you could probably
figure out a way to do it (I have seen enough cases of css messing up
maps, that you should be able to figure out a way).

-- Larry

pec76

unread,
Nov 7, 2011, 8:11:14 AM11/7/11
to Google Maps JavaScript API v3
Hello,

I cannot do this in the iamge by editing. Each icon is the user
avatar. More that 5000 and not all the same format.

By Css I thinks is not easy because I cannot know the name of the
image class in google maps.

Rick
Reply all
Reply to author
Forward
0 new messages