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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 4, 20262026-06-04T12:05:54+00:00 2026-06-04T12:05:54+00:00

Hello i’m having some trouble in displaying multiple pushpins on maps. So far i’ve

  • 0

Hello i’m having some trouble in displaying multiple pushpins on maps. So far i’ve tried adding either individual pushpins or first putting them in a MapLayer and then adding the maplayer to the map but i still only get the last pushpin that i created. Code sample here:

MapLayer layer = new MapLayer();
                Pushpin pin1 = new Pushpin();
                GeoCoordinate geo= new GeoCoordinate();
                geo.Latitude = 45.8074417114258 ;
                geo.Longitude = 15.9677000045776;
                pin1.Location = geo;
                layer.Children.Add(pin1);
                Pushpin pin2 = new Pushpin();
                GeoCoordinate geo1 = new GeoCoordinate();
                geo1.Latitude = 45.9074417114258;
                geo1.Longitude = 15.8677000045776;
                pin1.Location = geo1;
                layer.Children.Add(pin2);

                map1.Children.Add(layer);
  • 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-04T12:05:56+00:00Added an answer on June 4, 2026 at 12:05 pm

    The example code that you provided sets pin1’s location twice instead of setting pin2’s location.

    pin1.Location = geo1;
    

    should be

    pin2.Location = geo1;
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Hello I have been having trouble with this for a while now. I have
Hello everyone I'm currently having 2 issues with the code below: Upon return of
Hello I need some help with a bug in Internet Explorer 9. I am
Hello I'm a newcomerin JavaScript language. I started to see some examples of JavaScript
Hello all I'm working on a little project where I'm adding controls to a
Hello I was writing a Regular Expression (first time in my life I might
Hello dearest community. I have trouble in the last two days, that I can't
Hello I am developing one wpf application. I am adding object of myUserControl in
Hello I am using LibXML to parse an rss feed and I am wondering
Hello I have a table on which I have denied SELECT privs to a

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.