Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Socket
Sign inDemoInstall

@dlr-eoc/map-tools

Package Overview
Dependencies
Maintainers
1
Versions
42
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@dlr-eoc/map-tools - npm Package Compare versions

Comparing version 12.0.0-alpha.1 to 12.0.0-alpha.2

7

lib/projection-switch/projection-switch.component.d.ts
import { OnInit } from '@angular/core';
import { Subscription } from 'rxjs';
import { MapOlService } from '@dlr-eoc/map-ol';
import { MapStateService } from '@dlr-eoc/services-map-state';
import * as i0 from "@angular/core";
export declare class ProjectionSwitchComponent implements OnInit {
mapSvc?: MapOlService;
mapSvc: MapOlService;
mapStateSvc: MapStateService;
projList: IProjDef[];
fitViewToNewExtent?: boolean;
subscription: Subscription;

@@ -14,3 +17,3 @@ selectedProj: IProjDef;

static ɵfac: i0.ɵɵFactoryDeclaration<ProjectionSwitchComponent, never>;
static ɵcmp: i0.ɵɵComponentDeclaration<ProjectionSwitchComponent, "ukis-projection-switch", never, { "mapSvc": "mapSvc"; "projList": "projectionList"; }, {}, never, never, false>;
static ɵcmp: i0.ɵɵComponentDeclaration<ProjectionSwitchComponent, "ukis-projection-switch", never, { "mapSvc": "mapSvc"; "mapStateSvc": "mapStateSvc"; "projList": "projectionList"; "fitViewToNewExtent": "fitViewToNewExtent"; }, {}, never, never, false>;
}

@@ -17,0 +20,0 @@ export interface IProjDef {

{
"name": "@dlr-eoc/map-tools",
"version": "12.0.0-alpha.1",
"version": "12.0.0-alpha.2",
"main": "src/public-api",

@@ -26,4 +26,4 @@ "license": "Apache-2.0",

"dependencies": {
"@dlr-eoc/services-map-state": "12.0.0-alpha.1",
"@dlr-eoc/map-ol": "12.0.0-alpha.1",
"@dlr-eoc/services-map-state": "12.0.0-alpha.2",
"@dlr-eoc/map-ol": "12.0.0-alpha.2",
"tslib": "^2.4.0"

@@ -30,0 +30,0 @@ },

@@ -104,3 +104,3 @@ # @dlr-eoc/map-tools

<clr-vertical-nav-group-children class="padding title-ellipsis">
<ukis-projection-switch [mapSvc]="mapSvc" [projectionList]="projections"></ukis-projection-switch>
<ukis-projection-switch [mapSvc]="mapSvc" [projectionList]="projections" [fitViewToNewExtent]="true" [mapStateSvc]="mapStateSvc"></ukis-projection-switch>
</clr-vertical-nav-group-children>

@@ -121,27 +121,27 @@ </clr-vertical-nav-group>

let arcticPolarStereographic:IProjDef = {
const arcticPolarStereographic: IProjDef = {
code: 'EPSG:3995',
proj4js: '+proj=stere +lat_0=90 +lat_ts=71 +lon_0=0 +k=1 +x_0=0 +y_0=0 +datum=WGS84 +units=m +no_defs',
proj4js: '+proj=stere +lat_0=90 +lat_ts=71 +lon_0=0 +x_0=0 +y_0=0 +datum=WGS84 +units=m +no_defs +type=crs',
title: 'Arctic Polar Stereographic',
extent: [-20048966.10, -20048966.10, 20048966.10, 20048966.10],
extent: [-3299207.53, -3333134.03, 3299207.53, 3333134.03],
worldExtent: [-180.0, 60.0, 180.0, 90.0],
global: false,
global: true,
units: 'm'
};
let antarcticPolarStereographic:IProjDef = {
const antarcticPolarStereographic: IProjDef = {
code: `EPSG:3031`,
proj4js: '+proj=stere +lat_0=-90 +lat_ts=-71 +lon_0=0 +k=1 +x_0=0 +y_0=0 +datum=WGS84 +units=m +no_defs',
proj4js: '+proj=stere +lat_0=-90 +lat_ts=-71 +lon_0=0 +x_0=0 +y_0=0 +datum=WGS84 +units=m +no_defs +type=crs',
title: 'Antarctic Polar Stereographic',
extent: [-20048966.10, -20048966.10, 20048966.10, 20048966.10],
worldExtent: [-180.0, -90.0, 180.0, -60.0 ],
global: false,
extent: [-3299207.53, -3333134.03, 3299207.53, 3333134.03],
worldExtent: [-180.0, -90.0, 180.0, -60.0],
global: true,
units: 'm'
};
let webMercator:IProjDef = {
const webMercator: IProjDef = {
code: `EPSG:3857`,
proj4js: '+proj=merc +a=6378137 +b=6378137 +lat_ts=0.0 +lon_0=0.0 +x_0=0.0 +y_0=0 +k=1.0 +units=m +nadgrids=@null +wktext +no_defs',
proj4js: '+proj=merc +a=6378137 +b=6378137 +lat_ts=0 +lon_0=0 +x_0=0 +y_0=0 +k=1 +units=m +nadgrids=@null +wktext +no_defs +type=crs',
title: 'Spherical Mercator',
extent: [-20026376.39, -20048966.10, 20026376.39, 20048966.10],
extent: [-20037508.34, -20048966.1, 20037508.34, 20048966.1],
worldExtent: [-180.0, -85.06, 180.0, 85.06],

@@ -148,0 +148,0 @@ global: true,

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

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

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc