Welcome to MapForums!

Register, sign in, or use Facebook Connect above to join in and participate in the forum.

When you are signed in, this message, the ads in this row, and the red-underlined link ads all go away.

Subscribe to receive our newsletter.
Subscribe Unsubscribe

Conversation Between Mattys Consulting and Martrum

5 Visitor Messages

  1. Hi Martrum. That is strange! Can you zip up the project and send to michael@mattysconsulting.com. I'll have a look to see what is the cause.

    Mike Mattys
  2. Hi Mike,

    Well - still got issues !

    I was trying to say that I can't change the pushpin symbols or even draw a textbox instead of the pushpins at each position. Nothing I do changes the map display ! So my code in the earlier message to you has removed the pushpin object in the loop and replaced it with a Textbox. But yet the map still displays pushpins when I run the code ! I don't get it at all !!!
  3. Hi Martrum,

    I'm sorry I missed the opportunity to help - I was on conference calls.
    Anyway, congratulations again!

    -Mike Mattys
  4. My altered code for looping through my data set is:

    'now loop through each data element, assign it to a variable and use the variable to plat a pushpin position
    For Each objField In objDataSet.Fields
    myLong = objDataSet.Fields("long").Value 'this is my longitude
    myLat = objDataSet.Fields("lat").Value 'this is my latitude
    myName = objDataSet.Fields("name").Value ' name of the position
    location = AxMappointControl1.ActiveMap.GetLocation(myLong, myLat) 'plot the position

    AxMappointControl1.ActiveMap.Shapes.AddTextbox(loc ation, 50, 10)
    AxMappointControl1.ActiveMap.Shapes.Item(1).Fill.V isible = True
    AxMappointControl1.ActiveMap.Shapes.Item(1).Text = myName
    Next objField
  5. Hi Mike,
    Thanks for your congradulations ! albeit short lived.
    I tried changing my code and instead of displaying a pushpin I thought I would have a go at drawing a textbox at each position. But when I run it nothing happens - pushpins still appear and no sign of text boxes at all !! Before I post to the forum - am I missing something really basic here ? - Is there a mapPoint cache that needs clearing or something ?
Showing Visitor Messages 1 to 5 of 5


1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67