How can i use the bing map cache mode in WinRT.
I already used Cachemode="BitmapCache", but this doesn't work ! after using that, the Map just disappears from the view.
This solution works fine with Windows Phone !
Caching is currently disabled. The map tiles are dynamically generated. If caching was enabled and a change happened to the data it's possible that you would end up with two tiles with data that doesn't line up.
Related
I am following up with the Wirecloud User Guide available here https://wirecloud.readthedocs.io/en/latest/user_guide/#managing-marketplaces.
However, Map Viewer failed to load correctly, tried different browsers, same result. Even though I set the desired location in the widget Settings, here's the settings I added:
Mark shadow radius 10
Initial Location Santander, Spain
Zoom Level 17
Initial Zoom Level 14
I reloaded the map, yet location not loaded with a pop-up message saying
This page can't load Google Maps correctly.
Does anyone has idea why it fails to work correctly?
EDIT: Following image shows how the widget looks like when added.
You have to use a newer version of the map-viewer widget, current stable version is 2.6.2 and can be downloaded using this link.
Once installed this new version, you have to obtain an API key from Google (https://developers.google.com/maps/documentation/javascript/get-api-key) and provide it on the widget preferences.
In any case, this is a bug in the WireCloud documentation, thanks for reporting it, it will be fixed as soon as possible.
I need to generate a GIS map showing some points and polygons. This map generation process has to run in the background so that every day at a certain time of the day a map is made and stored at a certain location in the file system.
I don't think leaflet can be used for this as it runs on the browser.
Not sure how will this happen in QGIS also....any light in this direction will be helpful.
My requirement is to generate a HTML report which contains a map. I cannot do it on the browser because the user will not use the browser and want the report to be inn his mailbox every day automatically.
I will be using node js to generate HTML.
How can this be achieved? Please save my life.
Thanks
I suggest you use something like phantom.js to perform what is essentially a screen capture of the map you generate in a web page that is 'displayed' on a headless, off-screen web page. What sort of map server you use to generate the maps is up to you; but that would let you capture a browser view of the map and re-package it in a PDF or an image that is embedded in an email.
Make that PDF or image a GeoPDF or a GeoTIFF or example and the result would retain some geospatial aspects instead of being a dumb screen capture.
I would use something capable of delivering a map tiling service (like wms) which you can then query server-side and piece together the tiles. I've had good luck with geoserver (http://geoserver.org/) but there are other solutions as well. I'm not sure if you can can query Google maps api or Open Street Map like this. The nice thing about your own map server is that you can completely define the map you want on it in one place. Aside from this, I would browse the npm repository to see if anyone has tackled this problem before.
How to implement arcgis maps offline. My client requirement is when there is no internet maps should be run offline. I have tried below example, but it's not working for me. Is there any other way to store tiles and then get these tiles in offline mode. https://developers.arcgis.com/javascript/jssamples/exp_webstorage.html
I have not tried it personally, but I know that Esri's JS offiline editor says that it supports taking tiles offline:
https://github.com/Esri/offline-editor-js
I have to include the google map API in j2me application. I want to change the route and change the center position dynamically. I have searched a lot. Now I am using google static map API but it shows the image statically. I want to show the map dynamically.
Using javascript API v3 shall I implement google map API in j2me. But one of forums I have found we can't use javascript API in j2me application. Please Give clear idea about this why we can't implement in j2me.
I haven't taken a deeper look, but I found these two links when searching Google.
http://www.developer.nokia.com/Community/Wiki/Archived:Google_Static_Maps_API_in_Java_ME
http://www.jappit.com/blog/midmaps-google-maps-java-me-library/
Whereas it is technically possible to use a static mapping API to display an map in Java ME, If you want to dynamically update the map, you would be much better off using a library which uses a tile server, caches your map tiles and overlays objects on top of it.
This should result in a much lower data traffic overhead as explained here. Only use a Map Image API if all you need is a single map image.
The dynamic mapping library I would suggest is Nokia's HERE Maps API for Java ME, as you can tell from the name, the API is specifically designed to work with Java ME devices.
The API is currently bundled with the Nokia Asha SDK 1.0, but despite this, it is in reality a separate independent plugin and has been designed to work with the full range of standard Java ME devices.
A similar Stack Overflow question answered here describes how to download it.
As a notice of affiliation, I should mention in passing that I do work for Nokia.
I am using http url to show map in J2ME application but it takes more time as it draws image on each refresh. since internet speed is bit slow in GPRS.
Is there any core Google Map API for J2ME??
Is com.jappit.midmaps.googlemaps.GoogleMaps is Authorized Google Map Library for J2ME Application??
Waiting for your reply.
Regards,
Parmanand
No, there is not a core Google Map API for J2ME. No, the Jappit library is not an official authorised product, though it was a good attempt a mapping library based on the technology available at the time.
The reason the update of the map is so slow in the Jappit library, is that the underlying static mapping service behind it is not well suited to refreshing and updating a dynamic map.
Every time the map is shifted or updated, an image the size of the screen is downloaded leading to a large amount of data traffic. A better solution can be found in using a map tile service, implement aggressive image caching and adding overlay objects on top of it. Basically doing everything to avoid downloading more images.
So in summary use a web service like the Static Maps API, if all you need is a single map image. Use a dedicated Java ME mapping library such as the HERE Maps API for Java ME if you want a responsive dynamic map.
As a notice of affiliation, I should mention that I do work for Nokia.