You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I downloaded your last DotSpatial.Plugins.BruTileLayer version for 1.9 and compiled with DS 1.9 from the nuget package of DS
But somthing seems diferente between the two 1.9 versions.
I get an error at the DotSpatial.Controls.MapFrame.cs
// First draw all the vector content
foreach (IMapLayer layer in Layers)
{
if (layer.VisibleAtExtent(ViewExtents)) layer.DrawRegions(args, regions);
}
System.MissingMethodException was unhandled by user code
HResult=-2146233069
Message=Método não encontrado: 'DotSpatial.Topology.Coordinate DotSpatial.Data.Extent.get_Center()'.
Source=DotSpatial.Plugins.BruTileLayer
StackTrace:
em DotSpatial.Plugins.BruTileLayer.BruTileLayer.DrawRegions(MapArgs args, List1 regions) em DotSpatial.Controls.MapFrame.Initialize(List1 regions) na C:\Dev\Source\DotSpatial-5fcdd48792659b71b06458b8843e68486d07699e\Source\DotSpatial.Controls\MapFrame.cs:linha 322
em DotSpatial.Controls.MapFrame.Initialize() na C:\Dev\Source\DotSpatial-5fcdd48792659b71b06458b8843e68486d07699e\Source\DotSpatial.Controls\MapFrame.cs:linha 356
em DotSpatial.Controls.MapFrame.ResetBuffer() na C:\Dev\Source\DotSpatial-5fcdd48792659b71b06458b8843e68486d07699e\Source\DotSpatial.Controls\MapFrame.cs:linha 285
em DotSpatial.Controls.MapFrame.set_ViewExtents(Extent value) na C:\Dev\Source\DotSpatial-5fcdd48792659b71b06458b8843e68486d07699e\Source\DotSpatial.Controls\MapFrame.cs:linha 807
em DotSpatial.Controls.MapFrame.LayerColection_LayerAdded(Object sender, LayerEventArgs e) na C:\Dev\Source\DotSpatial-5fcdd48792659b71b06458b8843e68486d07699e\Source\DotSpatial.Controls\MapFrame.cs:linha 1272
em System.EventHandler1.Invoke(Object sender, TEventArgs e) em DotSpatial.Symbology.LayerEventList1.OnLayerAdded(Object sender, LayerEventArgs e) na C:\Dev\Source\DotSpatial-5fcdd48792659b71b06458b8843e68486d07699e\Source\DotSpatial.Symbology\LayerEventList.cs:linha 368
em DotSpatial.Symbology.LayerEventList1.OnIncludeComplete(T item) na C:\Dev\Source\DotSpatial-5fcdd48792659b71b06458b8843e68486d07699e\Source\DotSpatial.Symbology\LayerEventList.cs:linha 241 em DotSpatial.Serialization.BaseCollection1.Add(T item) na C:\Dev\Source\DotSpatial-5fcdd48792659b71b06458b8843e68486d07699e\Source\DotSpatial.Serialization\BaseCollection.cs:linha 67
em DotSpatial.Controls.MapLayerCollection.Add(IMapLayer layer) na C:\Dev\Source\DotSpatial-5fcdd48792659b71b06458b8843e68486d07699e\Source\DotSpatial.Controls\MapLayerCollection.cs:linha 120
em _xmlGeo01.Form1._buttonAddOSMLayer_ExecuteEvent(Object sender, ExecuteEventArgs e) na C:\Dev\Source\DevXmlGeo01\DevXmlGeo01_v19\Form1.vb:linha 2191
em RibbonLib.Controls.Events.ExecuteEventsProvider.Execute(ExecutionVerb verb, PropertyKeyRef key, PropVariantRef currentValue, IUISimplePropertySet commandExecutionProperties)
InnerException:
Hi Felix,
As I need to correct some bugs in my application I switched to DS1.9 using the actual changeset
https://github.com/DotSpatial/DotSpatial/tree/5fcdd48792659b71b06458b8843e68486d07699e
In this set some expression errors are fixed.
In this set the DotSpatial.Topology is not included it use the DotSpatial.GeoAPI
I downloaded your last DotSpatial.Plugins.BruTileLayer version for 1.9 and compiled with DS 1.9 from the nuget package of DS
But somthing seems diferente between the two 1.9 versions.
I get an error at the DotSpatial.Controls.MapFrame.cs
System.MissingMethodException was unhandled by user code
HResult=-2146233069
Message=Método não encontrado: 'DotSpatial.Topology.Coordinate DotSpatial.Data.Extent.get_Center()'.
Source=DotSpatial.Plugins.BruTileLayer
StackTrace:
em DotSpatial.Plugins.BruTileLayer.BruTileLayer.DrawRegions(MapArgs args, List
1 regions) em DotSpatial.Controls.MapFrame.Initialize(List
1 regions) na C:\Dev\Source\DotSpatial-5fcdd48792659b71b06458b8843e68486d07699e\Source\DotSpatial.Controls\MapFrame.cs:linha 322em DotSpatial.Controls.MapFrame.Initialize() na C:\Dev\Source\DotSpatial-5fcdd48792659b71b06458b8843e68486d07699e\Source\DotSpatial.Controls\MapFrame.cs:linha 356
em DotSpatial.Controls.MapFrame.ResetBuffer() na C:\Dev\Source\DotSpatial-5fcdd48792659b71b06458b8843e68486d07699e\Source\DotSpatial.Controls\MapFrame.cs:linha 285
em DotSpatial.Controls.MapFrame.set_ViewExtents(Extent value) na C:\Dev\Source\DotSpatial-5fcdd48792659b71b06458b8843e68486d07699e\Source\DotSpatial.Controls\MapFrame.cs:linha 807
em DotSpatial.Controls.MapFrame.LayerColection_LayerAdded(Object sender, LayerEventArgs e) na C:\Dev\Source\DotSpatial-5fcdd48792659b71b06458b8843e68486d07699e\Source\DotSpatial.Controls\MapFrame.cs:linha 1272
em System.EventHandler
1.Invoke(Object sender, TEventArgs e) em DotSpatial.Symbology.LayerEventList
1.OnLayerAdded(Object sender, LayerEventArgs e) na C:\Dev\Source\DotSpatial-5fcdd48792659b71b06458b8843e68486d07699e\Source\DotSpatial.Symbology\LayerEventList.cs:linha 368em DotSpatial.Symbology.LayerEventList
1.OnIncludeComplete(T item) na C:\Dev\Source\DotSpatial-5fcdd48792659b71b06458b8843e68486d07699e\Source\DotSpatial.Symbology\LayerEventList.cs:linha 241 em DotSpatial.Serialization.BaseCollection
1.Add(T item) na C:\Dev\Source\DotSpatial-5fcdd48792659b71b06458b8843e68486d07699e\Source\DotSpatial.Serialization\BaseCollection.cs:linha 67em DotSpatial.Controls.MapLayerCollection.Add(IMapLayer layer) na C:\Dev\Source\DotSpatial-5fcdd48792659b71b06458b8843e68486d07699e\Source\DotSpatial.Controls\MapLayerCollection.cs:linha 120
em _xmlGeo01.Form1._buttonAddOSMLayer_ExecuteEvent(Object sender, ExecuteEventArgs e) na C:\Dev\Source\DevXmlGeo01\DevXmlGeo01_v19\Form1.vb:linha 2191
em RibbonLib.Controls.Events.ExecuteEventsProvider.Execute(ExecutionVerb verb, PropertyKeyRef key, PropVariantRef currentValue, IUISimplePropertySet commandExecutionProperties)
InnerException:
Trying to compile the DotSpatial.Plugins.BruTileLayer with the
https://github.com/DotSpatial/DotSpatial/tree/5fcdd48792659b71b06458b8843e68486d07699e
set, I get an error message in relation of coordinates in your code.
If you have any idea how to solve this please let me know.
Thank you
Thomas Erbacher
The text was updated successfully, but these errors were encountered: