Draw object layer: Difference between revisions
Jump to navigation
Jump to search
(Created page with "This page details the setup of the Maria DrawObjectLayer. == Example == <source lang="c#"> _drawObjectSystemFactory = new DrawObjectSystemFactory(_symbolRequestProcessor); _drawObjectCommon = _drawObjectSystemFactory.CommonResources; _drawObjectCommon.GeoObjectClientStores.ConnectToService(new Uri("http://localhost:5097")); var storeInfo = new StoreInfo() { Id = "InMemory", IsInProcessStore = true };...") |
No edit summary |
||
Line 10: | Line 10: | ||
var storeInfo = new StoreInfo() { Id = "InMemory", IsInProcessStore = true }; | var storeInfo = new StoreInfo() { Id = "InMemory", IsInProcessStore = true }; | ||
_drawObjectLayer = _drawObjectSystemFactory.CreateLayer(GeoControlViewModel, storeInfo); | _drawObjectLayer = _drawObjectSystemFactory.CreateLayer(GeoControlViewModel, storeInfo); | ||
</ | </source> |
Revision as of 14:02, 2 April 2025
This page details the setup of the Maria DrawObjectLayer.
Example
_drawObjectSystemFactory = new DrawObjectSystemFactory(_symbolRequestProcessor);
_drawObjectCommon = _drawObjectSystemFactory.CommonResources;
_drawObjectCommon.GeoObjectClientStores.ConnectToService(new Uri("http://localhost:5097"));
var storeInfo = new StoreInfo() { Id = "InMemory", IsInProcessStore = true };
_drawObjectLayer = _drawObjectSystemFactory.CreateLayer(GeoControlViewModel, storeInfo);