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 7934031
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 3, 20262026-06-03T21:31:03+00:00 2026-06-03T21:31:03+00:00

This is my code: http://pastie.org/3915628 On line 25 I have defined the image of

  • 0

This is my code: http://pastie.org/3915628

On line 25 I have defined the image of my pointer.
On line 32 for the second argument of function GMarker I have defined the point of my marker.

Why is my marker not showing up?
Am I missing something?
I’m entirely new to using Google Maps.

I apologize for not pasting the code here, but I don’t understand the indentation rule. I even indented all of my code in sublime and pasted it here directly but it was only “code-blocking” some of it.

  • 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-03T21:31:04+00:00Added an answer on June 3, 2026 at 9:31 pm

    Looks like you’re mixing Version 2 and Version 3 code. Use the Version 3 code for markers, since V2 will not be supported anymore:

      var marker = new google.maps.Marker({
        map: map,
        position: new google.maps.LatLng(-34.397, 150.644),
        icon: "http://maps.google.com/mapfiles/kml/pal3/icon31.png",
        shadow: "http://maps.google.com/mapfiles/kml/pal3/icon31s.png"
      });
    

    About the indentation, what I do is highlight the whole pasted code and click the { } icon in the toolbar. Anything that’s four or more spaces indented will appear as code. There’s probably a better way of doing the indentation, though

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

Sidebar

Related Questions

Hey I have this code right here: http://pastie.org/534470 And on line 109 I get
This is the IMDB code http://pastie.org/private/s8m72fndjvqzdtcjjel5w and in order to use it I must
This is the IMDB code http://pastie.org/private/s8m72fndjvqzdtcjjel5w and in order to use it I must
See this simple HTML code: http://www.pastie.org/3540274 On modern browsers and even IE8 and IE9
I am using this code in my templatetags: http://pastie.org/3530409 And I know for context
i have this http://pastie.org/836744 script, which works outside the class completely fine, but it
I have this code http://jsfiddle.net/xNHKP/6/ (not working in the fiddle for some reason which
I have this code http://jsfiddle.net/Kbzgd/ what i'm trying to do is on the top
I have this code : http://jsfiddle.net/VAkLn/6/ When i add a table : http://jsfiddle.net/VAkLn/7/ this
I have this code: http://pastebin.com/Sd9WKZFr When i call something like rate(60, -6000, 120000) it

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.