Hi,
Where can I define the coordinate system?
My location for example looks like - N610000.00 E130000.00, how can I show it on the map?
I tried but can't.
Thanks
Naomi
Hi,
Where can I define the coordinate system?
My location for example looks like - N610000.00 E130000.00, how can I show it on the map?
I tried but can't.
Thanks
Naomi
Hi Naomi,
What you need is the MapUnit property of WpfMap.
Base on your example, you can set the property to Meter.
Regards,
Tsui
Thank you for your replay.
I tested it, but now the map is not displayed, only big red X is displayed instead.
Here what I tried:
wpfMap1.MapUnit = GeographyUnit.Meter;
WorldMapKitWmsWpfOverlay worldOverlay = new WorldMapKitWmsWpfOverlay();
wpfMap1.Overlays.Add("WMK", worldOverlay);
SimpleMarkerOverlay markerOverlay = new SimpleMarkerOverlay();
wpfMap1.Overlays.Add("MarkerOverlay", markerOverlay);
Marker marker = new Marker(130000, 6100000);
markerOverlay.Markers.Add(marker);
wpfMap1.Refresh();
Did I miss something?
Naomi,
Obviously, the projection of your locatoin is not in decimal degrees (Longitude/latitude) as the WorldMapKitWmsWpfOverlay is. You need to find out the projection with the parameters your location is in (for example, UTM, StatePlane etc) and then apply a projection conversion to have it match the World Map Kit overlay. Please, ask whoever is responsible for the supplying the coordinates of your location, in what projection it is and we will help you from there.
Thank you.