Solved

MapPoint pushpins from variables

Posted on 2010-09-13
1
664 Views
Last Modified: 2013-11-26
I've done a lot of searching and couldn't find anything that I could get to work.  Basically, I have 4 variables (Name, Account ID, Latitude,  Longitude), and I just want to add a pushpin to a MapPoint map inside VB.Net, using the Lat and Long coordinates.  The name and Account ID can also be shown in the balloon for the pin.

Thanks.
0
Comment
Question by:LD147
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
1 Comment
 
LVL 1

Accepted Solution

by:
LD147 earned 0 total points
ID: 33666607
I came up with a solution that works, so this can be closed.


Dim oLoc As MapPoint.Location
        Dim omap As Map
        omap = AxMappointControl1.ActiveMap
        omap.Application.Units = geoMiles

        oLoc = omap.GetLocation(29.125, -82.182, 1)
        oLoc.GoTo()
        omap.AddPushpin(oLoc)

Open in new window

0

Featured Post

More Than Just A Video Library

Train for your certification. Learn the latest DevOps tools. Grow your skillset to do better work.

At Linux Academy, we release new training modules every week so you'll always be up to date on the latest tech.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Flash (http://en.wikipedia.org/wiki/Adobe_Flash) has evolved over the years to where it has become a masterful tool for displaying content screen.  It has excellent layout placement, UI precision as well as rendering capabilities. This, along with t…
In my previous two articles we discussed Binary Serialization (http://www.experts-exchange.com/A_4362.html) and XML Serialization (http://www.experts-exchange.com/A_4425.html). In this article we will try to know more about SOAP (Simple Object Acces…
Michael from AdRem Software explains how to view the most utilized and worst performing nodes in your network, by accessing the Top Charts view in NetCrunch network monitor (https://www.adremsoft.com/). Top Charts is a view in which you can set seve…
This is my first video review of Microsoft Bookings, I will be doing a part two with a bit more information, but wanted to get this out to you folks.

724 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question