[Last Call] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 648
  • Last Modified:

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.
0
JoachimPetersen
Asked:
JoachimPetersen
  • 3
  • 2
1 Solution
 
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:
richmarker
0
 
JoachimPetersenAuthor Commented:
solution was using richmarker for google maps v3
0

Featured Post

Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

  • 3
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now