-
Notifications
You must be signed in to change notification settings - Fork 120
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
Add more sample component(s) - HighCharts Map ( Angular/Typescript ) #276
Comments
@narendrasinghrathore Hi, thanks for contacting us with your request! Here you can find a simple implementation of this demo in angular made by our user: source: You are right, |
@mateuszkornecki Thanks for sharing demo, it will really help in implementation as taking reference. Let me integrate same in our application. If face any issue, I will reach out again. Still happy to contribute by creating sample demo(s) for multiple scenarios. Thanks again, Narendra Singh Rathore |
@mateuszkornecki I was able to setup and run successfully but I am concerned with build size as it's exceed default application build size that is 5MB. Even thought it exceeds but 28 MB is very huge. So initially it will show US map and on click selected province map will be load. Please suggest how I can load files in chunk.
|
Are you sure that the big bundle size is caused by the |
@mateuszkornecki copied all files from '@highcghats/map/collection/countries/us to locall asssets folder. Added a method in service to load json on click, imported us geojson. Doing all above, getting less bundle size:
Repo with all code. Stackblitz App Demo URL |
Sorry for the late reply! I am glad you worked it out! Thanks for sharing your solution. |
@mateuszkornecki , still I will require you help. Do please let me know. |
@narendrasinghrathore |
@mateuszkornecki as we discussed, I build a demo app, with help and reference links shared by @hihajdus 🎉.
Repository: Demo: Hope it will help others. |
@narendrasinghrathore Thanks a lot for your contribution! We will definitely include your example in the docs in the future release! |
Requested feature description
A clear and concise description of what you expected to happen.
Reason for this issue, It's very difficult to understand from docs how we can integrate with angular and also most of sample on highcharts are using JS not typscript.
Please add more sample components that have demonstration how we can use highcharts maps for world ( which is already there) but with country and country drilldown.
Would be happy to add sample components and create pull request with help hand from any team member(highcharts-angular).
Thanks
Narendra Singh
The text was updated successfully, but these errors were encountered: