コード例 #1
0
 public MapRuntime(IMapRuntimeHost environment)
 {
     _environment         = environment;
     _projectionTransform = _environment.ProjectionTransform;
     _labelRender         = new LabelRender();
     _id = maxId;
     maxId++;
     _handinessLayerContainer = new LightLayerContainer(this as IMapRuntime);
     _locatingFocusLayer      = new LocationFocusLayer();
     _locatingFocusLayer.Init(this as IMapRuntime);
     _locationIconLayer = new LocationIconLayer();
     _locationIconLayer.Init(this as IMapRuntime);
 }
コード例 #2
0
 public void Init(IMapRuntime mapruntime)
 {
     _locationSrv       = mapruntime.LocationService;
     _locationIconLayer = mapruntime.LocationIconLayer;
     _maprefresh        = mapruntime.MapRefresh;
 }