Google maps API javascript - custom square markers

Hello

I need to make markers on my google map similar to this (see the red):
example of what I want - please see the red markingI want a square marker with an image as fill and a border, how can this be achieved?

Thank you in advance.
JoachimPetersenAsked:
Who is Participating?
 
JoachimPetersenConnect With a Mentor Author Commented:
richmarker
0
 
leakim971PluritechnicianCommented:
please post your current code
basically you need to use custom marker image :
https://developers.google.com/maps/documentation/javascript/markers#icons
0
 
JoachimPetersenAuthor Commented:
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.
0
 
leakim971PluritechnicianCommented:
No, for the image I see four parameters no more. Additionaly the shadow attribute is removed.
So yes, create this border.
0
 
JoachimPetersenAuthor Commented:
solution was using richmarker for google maps v3
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.