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

@2gis/mapgl

Package Overview
Dependencies
Maintainers
5
Versions
86
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@2gis/mapgl - npm Package Compare versions

Comparing version 1.14.1 to 1.15.0

types/objects/geoJsonSource.d.ts

5

package.json
{
"name": "@2gis/mapgl",
"version": "1.14.1",
"version": "1.15.0",
"description": "MapGL API script loader with typings",

@@ -29,3 +29,6 @@ "main": "dist/index.js",

"webpack-cli": "^3.3.11"
},
"dependencies": {
"@types/geojson": "^7946.0.7"
}
}

@@ -13,6 +13,7 @@ import { Map } from './map';

import { FloorControl } from './controls/floor';
export { Map, Marker, Label, HtmlMarker, Control, ZoomControl, TrafficControl, FloorControl, CircleMarker, Circle, Polygon, Polyline, };
import { GeoJsonSource } from './objects/geoJsonSource';
export { Map, Marker, Label, HtmlMarker, Control, ZoomControl, TrafficControl, FloorControl, CircleMarker, Circle, Polygon, Polyline, GeoJsonSource, };
export { LngLatBounds, LngLatBoundsClass } from './objects/lngLatBounds';
export { AnimationOptions, RotationAnimationOptions, Easing } from './types/animations';
export { MapOptions, MarkerOptions, MarkerIconOptions, LabelOptions, ControlOptions, ControlPosition, Padding, HtmlMarkerOptions, CircleMarkerOptions, CircleOptions, PolygonOptions, PolylineOptions, MapSupportOptions, } from './types';
export { MapOptions, MarkerOptions, MarkerIconOptions, LabelOptions, ControlOptions, ControlPosition, Padding, HtmlMarkerOptions, CircleMarkerOptions, CircleOptions, PolygonOptions, PolylineOptions, GeoJsonSourceOptions, MapSupportOptions, } from './types';
export { MapEventTable, DynamicObjectEventTable, MapEvent, MapPointerEvent, EventTarget, } from './types/events';

@@ -19,0 +20,0 @@ export { isSupported, notSupportedReason } from './isSuported';

import { LngLatBounds } from '../objects/lngLatBounds';
import { AnimationOptions } from './animations';
import { InterpolateExpression } from './styles';
import { FeatureCollection } from 'geojson';
/**

@@ -691,1 +692,20 @@ * Map initialization options.

}
/**
* Data source attributes.
*/
export interface SourceAttributes {
[key: string]: number | string | boolean;
}
/**
* GeoJson data source initialization options.
*/
export interface GeoJsonSourceOptions {
/**
* Data source attributes.
*/
attributes?: SourceAttributes;
/**
* GeoJSON collection of feature objects.
*/
data: FeatureCollection;
}
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