Code Monkey home page Code Monkey logo

Comments (6)

GusGiann avatar GusGiann commented on July 22, 2024

hello
how can I use offline map? for example google map

for using offline map you must take advantage of GmapControl.CacheLocation. But in version 1.8.5 there is a problem. Please Read this ; #19 (comment)

from gmap.net.

MohammadMokhalled avatar MohammadMokhalled commented on July 22, 2024

is there any way to download map cache and place it in a folder? i mean without looking everywhere n map to download it.

from gmap.net.

GusGiann avatar GusGiann commented on July 22, 2024

Have in mind that many MapProviders have strict policy in Tile and Geocoding Traffic especially Google Maps (read here :https://developers.google.com/maps/documentation/geocoding/usage-and-billing). For other Map Providers having that in mind and monitoring that traffic for not exceeding it, I always let users to create the cache.. It's easier this way because sometimes it gets realy HUGE.(200 sq Km created a 8GB cache in total.) A workaround is to create a box with UpperLeft,UpperRight,DownLeft,DownRight coordinates prior of using that cache in your application and cache with a secondary app that you will write, calling coordinatres from inside the box mentioned above in all zoom levels you want (ex. 18>=zoom>=10).
Then Take Cache Database and use it as you like.
I dont use Demos that come with Gmap.Net because i cant't take the map tiles in my language !
Searched in manual for other solution once but i havent found any manual, so I cocluded in my own workaround for that.

Hope I Helped.

from gmap.net.

MohammadMokhalled avatar MohammadMokhalled commented on July 22, 2024

that's good idea.
I didn't find any manual like you, that's why I asked it here.
this idea you say works but I was looking for easier way for a lazy guy like me :)
I'll use your advise for my program cache.

thanks

from gmap.net.

judero01col avatar judero01col commented on July 22, 2024

If what you want is to share the cache with multiple users, I recommend you better use of secondary cache database with sql server, you can do it in the following way.

MsSQLPureImageCache ch = new MsSQLPureImageCache ();
                 ch.ConnectionString = @ "data source = (local); User Id = DB_A3B2C9_GMapNET_admin; initial catalog = DB_A3B2C9_GMapNET; password = User @ 2018;";
                 MainMap.Manager.SecondaryCache = ch;

from gmap.net.

MohammadMokhalled avatar MohammadMokhalled commented on July 22, 2024

thanks
I will test it

from gmap.net.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.