Solved

Google maps API javascript - custom square markers

Posted on 2014-01-20
5
568 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 82

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 82

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

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

Today I would like to talk about localizing (Internationalization) JavaScript applications. Introduction When creating an application that is going to be used by many people around the globe, it is important to remember that not everyone speak…
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 …
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…

746 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

Need Help in Real-Time?

Connect with top rated Experts

17 Experts available now in Live!

Get 1:1 Help Now