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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 29, 20262026-05-29T22:08:21+00:00 2026-05-29T22:08:21+00:00

Developing with Google Maps v3. For some sort of reason, my custom marker icon

  • 0

Developing with Google Maps v3.

For some sort of reason, my custom marker icon “change” it’s position on zoom in-out. It looks like it have some sort of “padding” property, that not changes together with zoom.

It means that it position is correct on maximum zoom (18), but if I change zoom value, it “moves” a bit to top, and it makes problem on smaller zoom values, because it looks like it is not on same position as it is.

Marker is defined as:

var image = new google.maps.MarkerImage('img/antennas/img.png',new google.maps.Size(100, 100));

This maybe can help: marker icon is squared shape, 100x100px, and it’s center is in middle of the image, not on the bottom like “normal” markers.

UPDATE: do I have to do something with anchor property?

  • 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-05-29T22:08:22+00:00Added an answer on May 29, 2026 at 10:08 pm

    You have to set the anchor of the marker. The default is center bottom.

    See http://code.google.com/apis/maps/documentation/javascript/reference.html#MarkerImage

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

Sidebar

Related Questions

I've developing an ASP.NET application that interfaces with Google Maps and retrieves marker information
I am developing an android application using google maps. I have to display some
We're developing an app with some map features, with <uses-library android:name=com.google.android.maps /> in the
I am developing an ASP.NET web application that incorporates google maps. I have an
I'm developing software using the Google App Engine. I have some considerations about the
When developing a Google Maps or Recaptcha implementation, you can sign up for a
I am developing a gis application using Google maps API. Currently I am using
I've been developing my application with Google Maps and the wonderful rails plugin for
i am developing an android application using google maps data.I can access google maps
I'm developing a map application in Android. I'm using Google maps API to show

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.