ThinkGeo Cloud
ThinkGeo UI Controls
ThinkGeo Open Source
Help and Support
External Resources
ThinkGeo Cloud
ThinkGeo UI Controls
ThinkGeo Open Source
Help and Support
External Resources
This is an old revision of the document!
2 endpoints are provided to allow you to install StyleJSON into your application, including “Develop” (Not encrypted and compressed, for debug purpose) and “Deployment” (Encrypted and compressed) .
Load from CDN in your project:
<script src="https://cdn.thinkgeo.com/vectormap-icons/1.0.0/webfontloader.js"></script> <script> WebFont.load({ custom: { families: ["vectormap-icons"], urls: ["https://cdn.thinkgeo.com/vectormap-icons/1.0.0/vectormap-icons.css"] } }); </script>
npm i vectormap-icons
To use Vector Map Icons as your POI icons, you need to link to the CSS in the “<head>” section of html page. Just like below,
<script src="./node_modules/mapsuite/fonts/webfontloader.js"></script> <script> WebFont.load({ custom: { families: ["ThinkgeoFont"], urls: ["./node_modules/mapsuite/fonts/icon.css"] } }); </script>