Method not found : 'System.Collections.Generic.IList`

Nov 23, 2013 at 7:27 PM
Hi,

I'm trying to use BruTile with dotspatial but encounter an error that I don't understand when calling Map1.Layers.Add(_btLayer)

Method not found : 'System.Collections.Generic.IList`1<BruTile.TileInfo>
BruTile.ITileSchema.GetTilesInView(BruTile.Extent, Int32)'.

My code is a sample I found
Dim _btLayer As dsc.BruTileLayer
Map1.FunctionMode = dsc.FunctionMode.None
_btLayer = dsc.BruTileLayer.CreateOsmLayer
_btLayer.LegendText = "Open Street Map"
Map1.Projection = KnownCoordinateSystems.Projected.World.WebMercator
Map1.Layers.Add(_btLayer)
Any help would be appreciated.

Thanks,

Olivier
Nov 24, 2013 at 10:04 AM
I managed to solve this problem by myself : I created a new solution and imported my form in.

By the way, as it was very slow to display OSM and Bing, I was happy to found Petlof's suggestion to disable automatic detection in IE, and it's working nicely now.

Thanks to all for your work.
Marked as answer by olivier57 on 11/24/2013 at 3:05 AM
Coordinator
Nov 24, 2013 at 3:18 PM
thanks for reporting this back.