Socket
Socket
Sign inDemoInstall

hire-djatoka-client

Package Overview
Dependencies
25
Maintainers
2
Versions
21
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    hire-djatoka-client

Hire djatoka client


Version published
Weekly downloads
33
increased by3200%
Maintainers
2
Install size
4.42 MB
Created
Weekly downloads
 

Changelog

Source

v2.2.0 (2016/11/21 11:14)

  • Add close button

Readme

Source

React Djatoka client module

build status

import React from "react";
import {DjatokaClient, Minimap, Zoom, FillButton} from "hire-djatoka-client";

// from XHR
let config = {
	"identifier": "http://localhost:8080/jp2/13434696301791.jp2",
	"imagefile": "/var/cache/tomcat6/temp/cache15069217286472590195734192754.jp2",
	"width": "4355",
	"height": "3300",
	"dwtLevels": "6",
	"levels": "6",
	"compositingLayerCount": "1"
};

React.render((
	<div>
		<div style={{height: "120px", width: "80px", display: "inline-block", verticalAlign: "top"}}>
			<Minimap config={config} service="https://tomcat.tiler01.huygens.knaw.nl/adore-djatoka/resolver" />
		</div>
		<div style={{width: "400px", height: "400px", border: "1px solid", display: "inline-block"}}>
			<DjatokaClient scaleMode="widthFill" config={config} service="https://tomcat.tiler01.huygens.knaw.nl/adore-djatoka/resolver" />
		</div>
		<div style={{display: "inline-block", verticalAlign: "top", width: "450px"}}>
			<Zoom />
			<FillButton scaleMode="widthFill" />
			<FillButton scaleMode="heightFill" />
			<FillButton scaleMode="fullZoom" />
			<FillButton scaleMode="autoFill" />
		</div>
	</div>
), document.body);

FAQs

Last updated on 21 Nov 2016

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc