Solved

Google maps API javascript - custom square markers

Posted on 2014-01-20
5
613 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

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

In Part 1 (http://www.experts-exchange.com/Programming/Languages/Scripting/JavaScript/A_7849-Hex-Maze.html) we covered the hexagonal maze basics -- how the cells are represented in a JavaScript array and how the maze is displayed.  In this part, we'…
This article demonstrates how to create a simple responsive confirmation dialog with Ok and Cancel buttons using HTML, CSS, jQuery and Promises
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…

717 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