Hexagon Geospatial
MENU

Developers Knowledge Base

WebGIS enables powerful geospatial web applications and services that securely share your organization’s rich geospatial data, and provides tools to deeply examine spatial data and create value added products, on demand.
Showing results for 
Search instead for 
Do you mean 

Extensions: QRCode

by Technical Evangelist on ‎09-09-2015 06:04 AM - edited on ‎04-07-2017 08:16 AM by Technical Evangelist (669 Views)

Description

Create a button that saves the current user map and shows link to it encoded as QR. The purpose is to scan user map from the desktop machine and open it on a mobile device.

500px-QR.pngWhen this QR code is scanned with an application on a mobile device, the user map is automatically openedScreenshot on iPhone

This extension is dependent on "qrcodejs" library that is available on the MIT license which can be downloaded from [1]

Usage

Youtube video

Installation

  1. ReferenceQRCODEJS library
    1. Copy it from https://github.com/davidshimjs/qrcodejs and save it as js/qrcodejs/qrcode.js
    2. Reference it in youraspx page:
      <script type="text/javascript" src="js/qrcodejs/qrcode.js"></script>
  2. Copy this extension's source code and save it asjs/qr.js
    1. Reference it in youraspx page:
      <script type="text/javascript" src="js/qr.js"></script>
    2. Modify the sources to adapt it to your requirements

Source Code

Overview