Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

markerLabelStyle needs to be added inside IVectorMapProps interface #149

Open
reyys opened this issue Aug 22, 2024 · 0 comments
Open

markerLabelStyle needs to be added inside IVectorMapProps interface #149

reyys opened this issue Aug 22, 2024 · 0 comments

Comments

@reyys
Copy link

reyys commented Aug 22, 2024

Hi! 👋

Firstly, thanks for your work on this project! 🙂

Today I used patch-package to patch @react-jvectormap/core@1.0.4 for the project I'm working on.

Here is the diff that solved my problem:

diff --git a/node_modules/@react-jvectormap/core/.DS_Store b/node_modules/@react-jvectormap/core/.DS_Store
new file mode 100644
index 0000000..c88a062
Binary files /dev/null and b/node_modules/@react-jvectormap/core/.DS_Store differ
diff --git a/node_modules/@react-jvectormap/core/dist/types.d.ts b/node_modules/@react-jvectormap/core/dist/types.d.ts
index f0af753..4dfcf47 100644
--- a/node_modules/@react-jvectormap/core/dist/types.d.ts
+++ b/node_modules/@react-jvectormap/core/dist/types.d.ts
@@ -181,6 +181,7 @@ export interface IVectorMapProps extends IMapComponent {
     selectedMarkers?: string[] | {
         [region: string]: boolean;
     } | string;
+    markerLabelStyle?: any
     /**
      * Set the styles for the map's markers. Any parameter suitable for regionStyle could be used as well as numeric parameter r to set the marker's radius.
      */

This issue body was partially generated by patch-package.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant