Comments (6)
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.
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.
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.
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.
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.
thanks
I will test it
from gmap.net.
Related Issues (20)
- Adjusting Cache Size HOT 1
- Exception thrown: 'System.EntryPointNotFoundException' in GMap.NET.Core.dll HOT 5
- new GMap.NET.WindowsForms.GMapControl()' threw an exception of type 'System.TypeInitializationException HOT 17
- Cache size not change HOT 5
- google geocoding not work in gmap.net HOT 1
- Map scale HOT 1
- How to use other languages?
- How can I debug where the error is? HOT 1
- Calculate zoom HOT 1
- .Net 7 support HOT 1
- All maps are in dark / purple mode HOT 2
- Tilt Down and Rotation in GMap.Net
- GMap.NET.Avalonia markers are not shown
- Caching maps on network location doesn't work because of SQLite
- Map bearing leads to white ghost lines
- DLL version mismatch GMap.NET.Core 2.1.7 .NET6 HOT 1
- Shape file (*.SHP) Support.
- GMapRoute can not change color in wpf
- Gmap load large markers cause no responding.
- ARM Support
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from gmap.net.