back-testing-react 1.0.12 → 1.0.13

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "back-testing-react",
3
- "version": "1.0.12",
3
+ "version": "1.0.13",
4
4
  "description": "Parametric back testing application developed by NormanMax Insurance Solutions",
5
5
  "main": "dist/cjs/index.js",
6
6
  "module": "dist/esm/index.js",
@@ -380,9 +380,20 @@ const BackTestingMap = forwardRef<BackTestingActions, BackTestingMapProps>((prop
380
380
  MapView.STORMS + "5false",["get","color"],
381
381
  Constants.COLOR_MUTED
382
382
  ],
383
- 'circle-radius': 5,
383
+ 'circle-radius': 10,
384
384
  },
385
385
  });
386
+
387
+ mapInstanceRef.current?.addLayer({
388
+ id: "singles-count",
389
+ type: "symbol",
390
+ source: TROPICAL_STORM_SOURCE,
391
+ layout: {
392
+ "text-field": "{category}",
393
+ "text-font": ["DIN Offc Pro Medium", "Arial Unicode MS Bold"],
394
+ "text-size": 12
395
+ }
396
+ });
386
397
 
387
398
  const popup = new mapboxgl.Popup({
388
399
  closeButton: false,
@@ -10,8 +10,8 @@ const Template: StoryFn<typeof BackTestingWizard> = (args) => <div style={{width
10
10
 
11
11
  export const BackTestingWizardTest = Template.bind({});
12
12
  BackTestingWizardTest.args = {
13
- mapAccessToken:"pk.eyJ1IjoiYWR1YnUwMDEiLCJhIjoiY20ydHlsaWtnMDhpazJpcHl4eXJ6aGlsaSJ9.lYnnDc62JXIV-1-im9NJfg",
14
- apiAccessToken:"oIYWjLN76C1MAx8G10yWp9j1GnO2UDaB1PP0tber",
13
+ mapAccessToken:"",
14
+ apiAccessToken:"",
15
15
  env:'uat',
16
16
  selectedProxyPayoutOptionIndex:0,
17
17
  proxyPayoutOptions: [