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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 13, 20262026-06-13T05:59:23+00:00 2026-06-13T05:59:23+00:00

My map is showing perfectly, the only thing I am missing is the marker

  • 0

My map is showing perfectly, the only thing I am missing is the marker and title. Can someone view my code and see why my markers are not showing up?

My code;

<script type="text/javascript">
  function initialize() {
    var mapOptions = {
      center: new google.maps.LatLng(55.6078568,13.0126611),
      zoom: 16,
    mapTypeId: google.maps.MapTypeId.ROADMAP
    };
    var map = new google.maps.Map(document.getElementById("google_map_392"),
        mapOptions);
        var point = new google.maps.LatLng(55.6078568,13.0126611)
        var marker = new google.maps.marker({
            position:point,
            map:map,




        });


  }

</script>

Thank you!

  • 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-13T05:59:24+00:00Added an answer on June 13, 2026 at 5:59 am

    The marker is an object constructor so you need to use the proper (capitalized) name:

    var marker = new google.maps.Marker();

    That will create the marker on your map, but if you want it to have a title then you will need to add the “title” property as well:

        function initialize() {
            var mapOptions = {
                center: new google.maps.LatLng(55.6078568, 13.0126611),
                zoom: 16,
                mapTypeId: google.maps.MapTypeId.ROADMAP
            };
            var map = new google.maps.Map(document.getElementById("google_map_392"), mapOptions);
    
            var point = new google.maps.LatLng(55.6078568, 13.0126611);
            var marker = new google.maps.Marker({
                position: point,
                map: map,
                title: "The title for the marker."
            });
        }
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am showing a map view on front page of my application, I set
I am using map kit and showing customized annotation view. One is carImage and
I'm using map kit and showing user's location using showsUserLocation Im using following code
I have map similar to foursquare, with sidebar listing places and map showing markers,
There are topics that try to cover this here: Gmaps4rails : map not showing
i have written the code for showing location of various persons on map. i
We have a v3 map showing a series or markers, however today (16/08/12) Chrome
I have one application for showing the map but it is not working does
I have an application showing the map and some markers on it. I use
I have a Google map that is showing a number of markers. When the

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.