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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T16:00:45+00:00 2026-05-23T16:00:45+00:00

I have a world map that is 800px wide and 340px high. How can

  • 0

I have a world map that is 800px wide and 340px high. How can I find the position of a city like, for example, New York with latitude 40.75 and longitude -73.98? I would like to pin a marker over this point.

So far I have been adding cities manually which is problematic.

Is there any way to convert latitude and longitude values to x and y coordinates?

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-05-23T16:00:45+00:00Added an answer on May 23, 2026 at 4:00 pm

    From this image, you can see the coordinate system for latitude and longitude:

    enter image description here

    Unless you know the exact location (both pixel-wise and latitude and longitude) of a point on your map, you can’t do anything with it. You just won’t have enough information.

    By x axis and y axis, do you refer to your image? What is the image of (like the whole world, or of a specific region)?

    If it’s of the whole world, then the coordinates would be:

    • x = image.width * (longitude + 180) / (2 * 180)
    • y = image.height * (latitude + 180) / (2 * 180)
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm looking for a javascript world map, much like Google Maps, that can be
I have an XML file that I would like to map some attributes of
I have a TreeMap resMap new TreeMap<String, Map<String, String>>(); I would like to filter
I have a html map that uses world map image as its background. I
I have a script that colors the requested country on a world map with
I basically have an image of a world map and i would like to
In Javascript. I have a map of the world that is 1024 x 1024px
in Google Documents on some spreadsheets you have that world map widget/plugin that you
I have an SVG map of the world, and I want to colour each
I have this class which i would like to map: public class Contract {

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.