Community of MapPoint and Virtual Earth Users and Developers
This is a discussion on Change the symbol of the Pushpins in a DataSet. within the MapPoint 2006/2009 Discussion forums, part of the Map Forums category; Can someone tell me how (if it's possible) to modify the pushpins' symbols of a dataset, while adding them to ...
| |||||||
| Today's Posts | Twitter Feed | Register | Blogs | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| |||
| Change the symbol of the Pushpins in a DataSet. Infact in the FieldArray parameter of the ImportData Method, I cannot include somethink like GeoFieldType.geofieldsymbol for the coloumn that identify the symbol used, so that when I call the ImportData, all its pushpin are put on the map with the same symbol. Thank in advance for your answer!!! Dario |
| ||||
|
Maybe not an exact answer to you question but hope it helps... Code: objDataSet.Symbol = 1 Code: Dim objDataSet As MapPointCtl.DataSet
Dim objmap As MapPointCtl.Map
Dim objRecordset As MapPointCtl.Recordset
symbolNumber = 1
Set objmap = MappointControl1.ActiveMap
For Each objDataSet In objmap.DataSets
If objDataSet.Name = "My Pushpins" Then
Set objRecordset = objDataSet.QueryAllRecords
Do Until objRecordset.EOF
objRecordset.Pushpin.Symbol = symbolNumber
objRecordset.MoveNext
Loop
End If
Next
__________________ John http://www.support-pc.com Order MapPoint 2006 Here https://secure.mp2kmag.com/?refer=support-PC |
![]() |
| Tags |
| change, dataset, pushpins, symbol |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
| |
| ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Changing a dataset symbol - MapPoint 2002 | Goldwings98SE | MapPoint 2006/2009 Discussion | 1 | 06-21-2005 08:55 AM |
| dataset not changing symbol | techecho | MapPoint 2006/2009 Discussion | 1 | 05-09-2004 07:11 PM |
| mappoint dataset - pushpins | itmanager | MapPoint 2006/2009 Discussion | 1 | 11-07-2003 05:27 AM |
| Finding nearest pushpins in dataset | Dazzer | MapPoint 2006/2009 Discussion | 3 | 10-17-2003 08:38 AM |
| If I have one dataset with 300 pushpins, how do i .... | Anonymous | MapPoint 2006/2009 Discussion | 1 | 02-26-2002 12:52 PM |
Dalaman Holiday
Enjoy a wonderfully peaceful Dalaman holiday... Book through UlookUbook and save!