A Pen by Per Lindsø Larsen on CodePen.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using NetTopologySuite.Geometries; | |
using NetTopologySuite.IO; | |
using NetTopologySuite.Features; | |
using NetTopologySuite.Precision; | |
using NetTopologySuite.IO.ShapeFile.Extended; | |
using NetTopologySuite.Simplify; | |
using System; | |
using System.IO; | |
using System.Linq; | |
using System.Collections.Generic; |
A Pen by Per Lindsø Larsen on CodePen.
A Pen by Per Lindsø Larsen on CodePen.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
This defines a Global object to serve loading external templates. | |
It handles multiple "Templates" (Or "Views") loading, | |
by operating on an array of JSON objects of type {path: "path to file", tag: "script's tag to attach to dom"} | |
This way- | |
you can load multiple templates, each with it's own tag so they can be referenced seperatly, | |
templates can be written in a much "cleaner" manner - as they are not wrapped by a "script" tag, IDE's will recognize the html. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Use Gists to store code you would like to remember later on | |
console.log(window); // log the "window" object to the console |