Save Tile Cache to MySQL Server

Topics: General
May 18, 2012 at 2:08 AM

Hello radioman,

Exciusme before that I am new in GMap.net and C#,  I just run demo and try to use MySQL to as Cache Tile Server, with change sample code:

From this Code:

 GMap.NET.CacheProviders.MsSQLPureImageCache ch = new GMap.NET.CacheProviders.MsSQLPureImageCache();

To this

GMap.NET.CacheProviders.MySQLPureImageCache ch = new GMap.NET.CacheProviders.MySQLPureImageCache();

 

and i Got Error Message:

The type or namespace name 'MySQLPureImageCache' could not be found (are you missing a using directive or an assembly reference?)

 

My Question:

How to use MySQL as Cache Tile Server?

 

Regards

Azzahrah.

May 18, 2012 at 8:13 AM

you have to set MySQL in compilation symbols for GMap.NET.Core project and rebuild