JShare | js server side variables with your client side Javascript | Runtime Evironment library
kandi X-RAY | JShare Summary
kandi X-RAY | JShare Summary
JShare - Share your Node.js server side variables with your client side Javascript.
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of JShare
JShare Key Features
JShare Examples and Code Snippets
Community Discussions
Trending Discussions on JShare
QUESTION
I'm using highcharts-react , this a wrapper of highcharts. what I expect is like: https://jshare.com.cn/highmaps/hhhhAf I need a map , and draw some point in the map. quite simple for now. the difference is I want use a USA map. so far I got here: a pure USA map , and I try to add some points into the map . but it doesn't work.
the code is here:
...ANSWER
Answered 2019-May-06 at 09:05I have fix this by using proj4
Step1 : install proj4
npm install proj4
Step2 : import into project
import proj4 from "proj4";
Step3 : bind proj4 to window:
window.proj4 = proj4;
and now the lat/lon can be work in the right way.
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install JShare
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page