Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8601599
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 12, 20262026-06-12T01:52:52+00:00 2026-06-12T01:52:52+00:00

Is there any way to create custom dynamic icons for the markers? What I

  • 0

Is there any way to create custom dynamic icons for the markers?

What I want to create is a list of points and put a number “n” within markers specifying it’s the n-th element.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-12T01:52:54+00:00Added an answer on June 12, 2026 at 1:52 am

    Yes. You can either use custom icons with Numeric Markers or the built-in numbering system on Google has for markers.

    Assuming the last option (not using custom markers), your marker definition code would look like:

    var NUMBER_SHOWN='34';
    var ICON_COLOR = 'ff6600';
    var ICON_TEXT_COLOR = '000000';
    var marker = new google.maps.Marker({  
           position: [LatLong Obj],   
           map: [Map Obj],  
           icon: 'http://chart.apis.google.com/chart?chst=d_map_pin_letter&chld='+NUMBER_SHOWN+'|'+ICON_COLOR+'|'+ICON_TEXT_COLOR  
            });
    

    I believe this only works for two-digit number, though I’m not sure.

    EDIT
    Geocodezip has correctly pointed out that the second approach has now been deprecated, so it looks like you’re stuck using the first approach (using google’s custom numbered-icons). Have a look at Daniel Vassallo’s answer here on how to use it. If none of the markers fit your needs (colors, look, etc) you can create your own custom markers for each of the numbers (if you know how, you can write a server-side script that you can pass GET vars to and have it build the icon for you using GD etc, but you can also just build all the icons by hand)

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Is there any way to create a dynamic Pinterest button? I'm trying to add
Is there any way to create a custom TFS check-in policy that can jump
is there any way to create a custom css value for a component and
I was wondering whether there is any way to create custom Orders statuses in
Is there any way to create a custom animation for NSPopover? I can switch
Is there any way to get a List<string> which contains all 'usings' within a
Is there any way to create a custom FrameworkContentElement (or an Inline ) that
Is there any way I can create a custom error message that displays as
Is there any way to create breakpoints in clojurescript? Either in the repl or
Is there any way to create a Windows 8 ProgressBar in WPF? I don't

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.