Link to home
Start Free TrialLog in
Avatar of JoachimPetersen
JoachimPetersenFlag for Denmark

asked on

Google maps API javascript - custom square markers

Hello

I need to make markers on my google map similar to this (see the red):
User generated imageI want a square marker with an image as fill and a border, how can this be achieved?

Thank you in advance.
Avatar of leakim971
leakim971
Flag of Guadeloupe image

please post your current code
basically you need to use custom marker image :
https://developers.google.com/maps/documentation/javascript/markers#icons
Avatar of JoachimPetersen

ASKER

The tricky thing is that, I cannot add a border to the icons(or can you?) , all the fill images are dynamic, so I need to add a border programmatically.
No, for the image I see four parameters no more. Additionaly the shadow attribute is removed.
So yes, create this border.
ASKER CERTIFIED SOLUTION
Avatar of JoachimPetersen
JoachimPetersen
Flag of Denmark image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
solution was using richmarker for google maps v3