Implementing "Night Mode" in GIS with WMS - maps

I am fairly new to the world of developing and the world of mapping. For my studies I want to implement a WMS map into QGIS/ArcGIS but have it in a night mode/dark mode style for better visual representation. Now as I looked through the web, I did not find a service or provider who has a WMS server with a night mode OSM (Open street map). Does somebody of you have an idea on how to solve this problem? Maybe even with a python code?
Thanks in advance!!!

If you are using leaflet in JS or QGIS for example you can use xyz tiles. Here you can find some examples.
For QGIS, get the link that looks like 'https://example.com/{z}/{x}/{y}.png' in the plane JavaScript code snippet in the website and add a new xyz connection.

Related

Editing shapefile in a webapp

I need to develop a web application to make users edit a shapefile in the browser.
Main idea would be to load a shapefile with his layers, and then let users create lines, polylines and so, saving that data to the shapefile.
An improvememt would be to save data to db.
I searched on the Internet but I can't find a opensource solution.
I took a look at lizmap and qgis server but It seems there Is not the possibility to insert vectorial items or edit the Ones already present.
Can someone help? Thanks in advance
What you are looking for can be achieved by using GeoServer and a WFS-T client such as OpenLayers. See for example this tutorial or this question for examples.

How to add a contract editor + export in pdf feature in my react app?

I am writing to you today because I need your developer advice.
A friend and I have been developing for several months a project management tool (react + firebase).
The app is well advanced, and we would like to add a contract editing tool. The goal is for the user to have access to an editable template (a window with a text editor) of a contract. Once amended, the contract must be exportable in pdf format.
We are a little confused about how to approach the problem. Following our research we found the frameworks draft.js and pdf2json, but the way to proceed remains unclear for us.
Have any of you ever crafted a similar feature in an application and could you give us some hints?
Any help is welcome, thank you in advance!

Can i use Lottie animation in Codenameone apps

I am wanting to render a short piece of animation on the splash screen of my CN1 app but am struggling.
The Lottiefiles website contains a lot of good animation content, but the closest example i can find to using it is within XCode. I have the downloaded JSON file, of the animation, but am wanting to know if anyone has figured a way of incorporating into a CN1 Java app?
I can see that developers have used in Java, but CN1 wouldn't allow the LottieAnimationView component on it's layout manager i would guess.
https://steemit.com/utopian-io/#fahrulhidayat/beautiful-animation-for-android-application-using-lottie-library
Any pointers appreciated. Thanks
The "right way" would probably be to wrap the native implementations for the various OS's in a cn1lib so you can use lottie in a cross platform way. There's a long tutorial about wrapping native code in the developer guide and Steve did a 3 part video series on the subject a few years back: https://www.codenameone.com/blog/integrating-3rd-party-native-sdks-part-3.html
It's mostly mechanical so it shouldn't be too hard. If you want to take a shortcut you can probably use the web version of the API in a BrowserComponent and call it a day.

Adding a qr scanner to a mobile app

I am currently building a mobile app using angularJS, on plunker. The app once complete will be used on iPhone and android devices and will need to be able to access the camera and scan a QR code.
What i'm struggling with is how to go about this. I have done some research and found a lot of github solutions such as -
https://github.com/sembrestels/angular-qr-scanner
https://github.com/blockchain/bc-qr-reader
However I am unsure of how to add these to a plunker built app or if it is even possible?
One idea I have had whilst looking online is to make use of HTML5 and getusermedia to access a devices camera. Although then using this to scan a QR code is quite beyond me.
I am quite new to all this, and if I am honest not very confident at all. Any recommendations will be greatly appreciated.

Silverlight client web application to connect to Lync 2010 online

I'm searching for a way to build a silverlight client web application that connect toLync 2010 Online with audio, video, files and whiteboard features. Could anyone recommend some documentation?
This won't be easy... You could implement IM and presence fairly simply, but there is no support in Silverlight or the Lync APIs for the real-time AV protocols needed to support Audio and Video - it's a similiar story with sharing and whiteboarding.
Unless you have the time on your hands and are willing to attempt this without support/documentation, i'd recommend against it.
Edit: Have you taken a look at the web app and attendee client? The web app is the closest I think to what you want to achieve - I think you'd find it very difficult to improve on this.
If you think this is the right answer, please mark it as accepted, to help anyone else browsing the question. Thanks!

Resources