[Shapedotnet-development] Exposing MapMetrics
Status: Beta
Brought to you by:
k5jvc
From: Rife, R. <ri...@pw...> - 2004-01-16 21:26:24
|
I found it hard to create a shapefile outside of the Map object's AddLayer method and later use the Map's InsertLayer method to add it to the map. This is mostly because of the Shapefile's contructor requiring a MapMetric object. I think it would be useful to" =20 1) expose the Map's _mapMetrics variable as a public property so it can be used in the creation of standalone Shapefile objects =20 and/or =20 2) have a Shapefile constructor that does not require a MapMetrics object and have a metrics property on the Shapefile that can be set during the InsertLayer method call on the Map =20 I prefer the 2nd approach mostly because it allows for the most flexibility. Later. =20 Ryan Rife Senior Software Developer Pacific Western Technologies |