@2gis/mapgl
Advanced tools
Comparing version 1.14.1 to 1.15.0
{ | ||
"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; | ||
} |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
59160
38
1882
1
+ Added@types/geojson@^7946.0.7
+ Added@types/geojson@7946.0.14(transitive)