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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 4, 20262026-06-04T06:29:08+00:00 2026-06-04T06:29:08+00:00

I am totally new to maps. I am facing a problem. The latitude and

  • 0

I am totally new to maps.
I am facing a problem.
The latitude and longitude values that i pass are getting assigned to NaN by a dynamically generated file when these lat/long =values are negative.
The code a-= x; b-= y is making negative lat/lon values to null and accepting (not converting) positive lat/long values. Strange.
This piece of code gets executed at

  point = new GLatLng(lat, long);

where

        myIcon.shadow = null;
        myIcon.printShadow = null;
        myIcon.iconAnchor = new GPoint(5, 15);

and i am making markers as

gmarkers.sort(function () { return 0.5 - Math.random() });

        mgr.addMarkers(gmarkers.slice(0, 50), 1);
        mgr.addMarkers(gmarkers.slice(51, 100), 5);
        mgr.addMarkers(gmarkers.slice(101, 150), 6);
        mgr.addMarkers(gmarkers.slice(151, 200), 7);
        mgr.addMarkers(gmarkers.slice(201, 300), 8);
        mgr.addMarkers(gmarkers.slice(301, 400), 9);
        mgr.addMarkers(gmarkers.slice(401, 600), 10);
        mgr.addMarkers(gmarkers.slice(601, 800), 11);
        mgr.addMarkers(gmarkers.slice(801, 1100), 12);
        mgr.addMarkers(gmarkers.slice(1101, 1500), 13);
        mgr.addMarkers(gmarkers.slice(1501, 2000), 14);
        mgr.addMarkers(gmarkers.slice(2001, 999999), 15);

        mgr.refresh();

somebody please help me…thanks in advance

  • 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-04T06:29:10+00:00Added an answer on June 4, 2026 at 6:29 am

    The issue in my case was that of data. As for Brazillian culture, the decimal in the latitude and longitude values were being set to comma (,) instead of a decimal or period (.)
    this can be resolved by doing a (Globalization.CultureInfo.InvariantCulture)
    to avoid replacement.

    Thanks for your help.

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

Sidebar

Related Questions

Totally new to Capistrano. I have a local git repository that I want to
I'm totally new to AWS. I managed to have an instance that runs PHPMyAdmin.
I'm totally new in OpenCV so hopefully that's not a too stupid question. As
I´m totally new to Powershell and wanted to write a script that deletes all
I'm totally new in C, and I'm trying to do a little application that
I'm totally new to C# and I'm having an error that I can't guess
Totally new to custom control creation in Silverlight. I'm wanting a custom control that
I'm totally new to Adobe Flex Builder 3. I've been assigned a fully functional
I am totally new to SQL Server CLR. I understand that we should use
Totally new to programming so kindly excuse the silly question. I have this URL

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.