MapPoint Forums

MapForums

Community of VE/MapPoint Users and Developers




Help! Import Custom Symbol Array

This is a discussion on Help! Import Custom Symbol Array within the MapPoint 2006/2009 Discussion forums, part of the Map Forums category; I am new to Mappoint 2004 and I am trying to map values using the DisplayDataMap method. I am using ...


Go Back   MapPoint Forums > Map Forums > MapPoint 2006/2009 Discussion

Register Blogs FAQ Members List Calendar Search Today's Posts Mark Forums Read



Click here to register

Reply

 

LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 01-07-2005
Senior Member
Black Belt
 
Join Date: Jul 2002
Posts: 5,138
Help! Import Custom Symbol Array

I am new to Mappoint 2004 and I am trying to map values using the DisplayDataMap method. I am using the Active X Control and VBA from within Excel 2003. Here is the code I am running:

Set objDataMap = objDataSet.DisplayDataMap(geoDataMapTypeMultipleSy mbol, objField, geoShowByStreetAddress, geoCombineByDefault, geoRangeTypeUniqueValues, geoRangeOrderDefault, , UBound(lRangeValues) + 1, lRangeValues, zRangeNames, , lSymbols)

This maps the data from an Excel spreadsheet on a multiple symbol map and everything is fine; however, I then want to map a subset of this data so I do the following:

tValues(0) = lRangeValues(arrayx)
tNames(0) = zRangeNames(arrayx)
tSymbols(0) = "c:\red.bmp"
Set objDataMap = objDataSet.DisplayDataMap(geoDataMapTypeMultipleSy mbol, objField, geoShowByStreetAddress, geoCombineByDefault, geoRangeTypeUniqueValues, geoRangeOrderDefault, , UBound(tValues) + 1, tValues, tNames, , tSymbols)

In the above example arrayx refers a single subset of the dataset used before. This does what I want except for the custom symbol array. The data maps but uses the default symbol (black circle) for the data set.

I have tried changing both the datasets and individual pushpin symbols but I get a runtime error 4010: saying that I can't access that property.
I am really getting frustrated and any help would be appreciated.
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 01-07-2005
Senior Member
Black Belt
 
Join Date: Jul 2002
Posts: 5,138
Custom Symbol Array

Never mind, I figured it out. Thanks.
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 01-07-2005
Eric Frost's Avatar
Senior Member
Black Belt
 
Join Date: Jul 1992
Posts: 2,480
Blog Entries: 1
What was wrong? other people may have the same or similar problem.

Eric
__________________
~ Now taking orders for MapPoint 2009 ~
~
~ 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
array, custom, import, symbol

« D-GPS | PUSH PINS »

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
Optimize Custom Symbol Map Rendering Performance gkirbo MapPoint 2006/2009 Discussion 21 05-09-2006 07:21 PM
custom symbol sets - newbie help Suzgreive MapPoint 2006/2009 Discussion 0 11-30-2004 12:49 PM
Adding custom pushpin symbol M.Vrolijk MapPoint 2006/2009 Discussion 2 09-20-2004 07:55 AM
Import custom data from all formats Anonymous Wish List 0 10-23-2002 12:54 PM
programmatically load a custom symbol Anonymous MapPoint 2006/2009 Discussion 1 08-22-2002 05:02 PM


All times are GMT -5. The time now is 08:01 PM.


Powered by vBulletin® Version 3.7.2
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0
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