Register  |  Login   Search
ThinkGeo - GPS Tracking and Mapping Solutions  |  Home  |  Cygnus Track  |  Developer Community
 
LivePerson Chat

Discussion Forums

The online community for users of Map Suite GIS components

GPS and Render World
Last Post 02-10-2005 11:54 AM by ThinkGeo. 1 Replies.
Printer Friendly
Sort:
PrevPrev NextNext
You are not authorized to post a reply.
Author Messages
ThomasUser is Offline
Level 1
Level 1
Posts:7

--
02-10-2005 11:36 AM
When my company purchases winforms we are also looking at purchasing this product. One question though. Is the World Data projected in Decimal Degrees? I.E. I get fed GPS coordinates and want to put stick pens around the world of position data. Can I do this?
ThinkGeoUser is Offline
MVP
MVP
Posts:1591
Avatar

--
02-10-2005 11:54 AM
You are correct the World data is in decimal degrees so plotting a point from a GPS device is really simple. In fact it is just a few lines of code as shown below. For stick pins you would use a bitmap symbol instead of a circle which is also simple. If you have any other questions please let me know.


' Create the point from your GPS coordinates
Dim WorldOnePoint As New PointShape(-88.059772, 42.050127)
' Create the Map Shape and tell it how you want it drawn
Dim World1 As New PointMapShape(WorldOnePoint, New PointSymbol(PointStyleEnum.Circle, New Pen(Color.Black), New SolidBrush(Color.Red), 12))
' Give it a name for the label
World1.Name = "I Am Here!"
' Define how you want the label to look like
World1.TextSymbols.Add(New TextSymbol(New Font("Arial", 8, FontStyle.Bold), New SolidBrush(Color.Black)))
' Add the MapShape to the map
Map1.MapShapes.Add(World1)


Thanks
You are not authorized to post a reply.

Active Forums 4.1