MapPoint Forums

MapForums

Community of MapPoint and Bing Maps Users and Developers




displaying custom data on Pushpins when linked

This is a discussion on displaying custom data on Pushpins when linked within the MapPoint Desktop Discussion forums, part of the Map Forums category; hi all, im using a local text file as a data source file for my pushpins. i link to the ...


Go Back   MapPoint Forums > Map Forums > MapPoint Desktop Discussion

Today's Posts Twitter Feed Register Blogs FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 04-08-2004
Junior Member
Yellow Belt
 
Join Date: Mar 2004
Posts: 15
displaying custom data on Pushpins when linked

hi all,

im using a local text file as a data source file for my pushpins. i link to the file and retrieve all my pushpins but each pushpin only display the name of the person and the address. i would like to display the telephone number along side the above details. is there any type of setting or property that can be used to do so?

any help, support, examples would be very much appreciated ...

thank you all
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #2 (permalink)  
Old 04-08-2004
Eric Frost's Avatar
Senior Member
Black Belt
 
Join Date: Jul 1992
Posts: 3,503
Blog Entries: 3
Judge -- when you link the data, you will get to a place in the Wizards where you can set this, exactly what you're looking for...

When you get to Map Type, I assume you go to Pushpin. Then you can "Select which fields to display in the balloon for this set".

Finally make sure "Display selected field names in balloons" is checked.

hope this helps,
Eric
__________________
~ Now taking orders for MapPoint 2010 ~
~~
~ Upgrade to MapForums Plus membership ~
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #3 (permalink)  
Old 04-13-2004
Junior Member
Yellow Belt
 
Join Date: Mar 2004
Posts: 15
doin in MapPoint 2004 is easy. i don't have any problem, i was talkin about MapPoint control when developing in C#.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #4 (permalink)  
Old 04-13-2004
Eric Frost's Avatar
Senior Member
Black Belt
 
Join Date: Jul 1992
Posts: 3,503
Blog Entries: 3
Oh sorry.. did you try this method? from the help file... (below). I don't know the syntax for C#, but there are some C#-related code samples in this forum and articles that may have some pointers, this one comes to mind:
http://www.mp2kmag.com/a103--chandu.....mappoint.html

SetFieldsVisibleInBalloon method
Sets which fields are visible in Pushpin balloons for the specified data set.

Applies to
Objects: DataSet

Syntax
object.SetFieldsVisibleInBalloon(ArrayOfFields)

Parameters
Part Description
object Required. An expression that returns a DataSet object.
ArrayOfFields Required Variant. An array that contains the Field objects to display in the Pushpin balloons.

Example
Sub ShowOnlySomeFields()
Dim objApp As New MapPoint.Application
Dim objDataSet As MapPoint.DataSet
objApp.Visible = True
objApp.UserControl = True

Set objDataSet = objApp.OpenMap(objApp.Path & "\Samples\Clients.ptm").DataSets(1)
arArray = Array(objDataSet.Fields(1), objDataSet.Fields(2), objDataSet.Fields(3))

'Set which fields will be visible in the Pushpin balloon
objDataSet.SetFieldsVisibleInBalloon arArray

'Show the balloon for the first record
objDataSet.QueryAllRecords.Pushpin.BalloonState = geoDisplayBalloon
End Sub
__________________
~ Now taking orders for MapPoint 2010 ~
~~
~ Upgrade to MapForums Plus membership ~
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
Reply

Tags
custom, data, displaying, linked, pushpins


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)

 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads

Thread Thread Starter Forum Replies Last Post
problem with hyperlinks in linked data hpaul MapPoint Desktop Discussion 1 11-26-2009 12:57 AM
Matched Zipcode Not Displaying in Custom Territory csharpdeveloper MapPoint Desktop Discussion 0 10-06-2005 09:39 PM
Push Pins not showing up on linked data? chucker MapPoint Desktop Discussion 1 01-13-2005 03:15 PM
Updating an embedded map in Excel from linked data Matt MapPoint Desktop Discussion 0 05-13-2003 09:27 AM
Using the shaded circle map and linked data, can I.... Anonymous MapPoint Desktop Discussion 1 10-10-2001 07:28 AM


All times are GMT -5. The time now is 02:01 AM.


Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.3.2
MP2K Magazine
Visitor Map



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