Solved

Google maps API javascript - custom square markers

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

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying 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

Article by: DanRollins
This article describes a JavaScript program that creates a maze made of hexagonal cells.  In Part 2 (http://www.experts-exchange.com/Programming/Languages/Scripting/JavaScript/A_7850-Hex-Maze-Part-2.html), we'll extend the program by adding a depth-…
Boost your ability to deliver ambitious and competitive web apps by choosing the right JavaScript framework to best suit your project’s needs.
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…

789 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