[Webinar] Streamline your web hosting managementRegister Today

x
?
Solved

Google maps API javascript - custom square markers

Posted on 2014-01-20
5
Medium Priority
?
654 Views
Last Modified: 2014-02-05
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
Comment
Question by:JoachimPetersen
  • 3
  • 2
5 Comments
 
LVL 83

Expert Comment

by:leakim971
ID: 39795826
please post your current code
basically you need to use custom marker image :
https://developers.google.com/maps/documentation/javascript/markers#icons
0
 

Author Comment

by:JoachimPetersen
ID: 39796332
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
 
LVL 83

Expert Comment

by:leakim971
ID: 39796681
No, for the image I see four parameters no more. Additionaly the shadow attribute is removed.
So yes, create this border.
0
 

Accepted Solution

by:
JoachimPetersen earned 0 total points
ID: 39823903
richmarker
0
 

Author Closing Comment

by:JoachimPetersen
ID: 39835070
solution was using richmarker for google maps v3
0

Featured Post

Receive 1:1 tech help

Solve your biggest tech problems alongside global tech experts with 1:1 help.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

JavaScript can be used in a browser to change parts of a webpage dynamically. It begins with the following pattern: If condition W is true, do thing X to target Y after event Z. Below are some tips and tricks to help you get started with JavaScript …
This article discusses how to implement server side field validation and display customized error messages to the client.
The viewer will learn the basics of jQuery, including how to invoke it on a web page. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery.: (CODE)
The viewer will learn the basics of jQuery including how to code hide show and toggles. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery…
Suggested Courses

607 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question